Better HN
topnewbestaskshowjobs
Log inSign up

didgetmaster

2,060 karma · joined Feb 24, 2022 (4y ago) · 981 submissions

www.Didgets.com myDidgets@gmail.com Didgets.substack.com Didgetsdemos@youtube.com
Submissions

comment 4y ago · link · parent

As a startup founder myself, I wish I had the luxury of paying myself a modest salary, but until the revenues support it that is how it goes. Even if I had a bunch of VC money, I would definitely feel guilty about paying myself a ton of money. I would still have a huge chunk of founder's stock, so I would pay myself well below market rates.

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

I wrote the article right after I fixed a huge inefficiency problem in a function within my own project. I neglected to give the specifics in the article, but here they are since you asked.

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

Also..."Hey we are holding a conference and we would love to have you come speak for a half hour at <Big Event>. How does a $100K speaking fee sound to you?"

comment 4y ago · link · parent

As someone who thrives on tracking down rare but annoying bugs in a debugger, I love stories like this. It is not just bugs that cause real failures which can be headaches; but also bugs that just slow things down unexpectantly. They can sometimes go undetected for decades like this one.

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

Wow! I have memorized some bizarre things before, but I don't think I ever went that far to recognize an md5 hash.

comment 4y ago · link · parent

Interesting data set. I am building a new kind of data analysis tool (https://www.Didgets.com) so I am always looking for good open data sets to download, import into my tool, and see what the data shows and to test out my tool.

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

Never got tested, but my senses of taste and smell changed dramatically about 6 months ago. No other symptoms whatsoever. Everything tastes 'funny' like there it is contaminated with a drop of motor oil or something. Lost about 15 pounds just because I don't particularly feel like eating because it just isn't enjoyable. I usually love the garden tomatoes this time of year, but not this year. I have noticed that it has improved some, but I'm not sure if I am just getting used to it.

comment 4y ago · link · parent

ditto

comment 4y ago · link · parent

It feels like everyone could come up with a few 'war stories' of issues and people that they had to deal with during their career. While the story presented certainly makes the reader feel that the author was treated unfairly; we are only getting one side of the story and many relevant details might have been left out.

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

It seems to me that some subjects are so specialized that the group that makes up one's 'peers' is fairly small. How do they have real anonymized reviews when it becomes easy to recognize the writings of the author? The more papers that someone writes, the easier it would be for their peers to recognize the writing style and other quirks that would give the author away.

comment 4y ago · link · parent

The xkcd reminds me of a friend who was locked out of her car. The battery in her remote key fob had run down so the door would not unlock when she pushed the unlock button on it. She was still trying to figure out online how to get a new battery when I took her key from her and opened the door by inserting it in the lock. She was so embarrassed that she wouldn't talk to me for a few days.

comment 4y ago · link · parent

You could always set the default behavior to be uniform for all files (e.g. protect everything or protect nothing) and just forget about it. But it would be nice to be able to manually set the protection level for specific files that are the exception.

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

Nothing is free or even 'mostly free' when managing data. Data security (encryption), redundancy (backups), and integrity (checksums, etc.) all impose a cost on the system.

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

Does NILFS do checksums and snapshotting for every single file in the system? One of my biggest complaints about file systems in general is that they are all designed to treat every file the exact same way.

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

If you are truly working on something innovative, chances are that Plan B is already up and running. It is your competitor's solution that you are trying to replace with a better one.

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

It is not always bad to become the 'resident expert' on some technology that was not part of your original job description. Sometimes it can help you expand your horizons in something that is really interesting to you. Sometimes it can be great for job security when you are the only one who truly understands some critical piece of the infrastructure. But for every one of those tasks, there are probably two where you can get roped into maintaining some legacy system that is nothing but pain.

comment 4y ago · link · parent

If you work for a medium sized company (maybe even a small company) you can easily get trapped into maintaining some system just because you once volunteered to 'look at it' when it needed attention a few years ago. You fix an email problem the CEO ran into, and suddenly you are the 'email expert' that everyone runs to when they have an email problem. Fix someone in sales' computer and now everyone wants you to look at their laptop to see what is wrong with it.

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 am surprised the article didn't even mention the close call the world had on Sept 26, 1983 when a Soviet system false alarm showed a surprise US attack. Their commander at the time (Petrov?) refused to accept that it was real, otherwise WW3 might have started (and maybe ended too) on that day.

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

>>The first release of OS/2 cost about triple what DOS did, had significantly higher system requirements, and needed specific software to enable the new functionality... which did not initially include a GUI.

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

Seems like a lot of work. This is why I created a new way to import Json data into relational tables that can map multiple values to each row key to create a '3-dimensional table'. It lets you query such a table much faster than other RDBMS systems without needing to generate separate indexes. https://www.youtube.com/watch?v=EHwBspzBDbs

comment 4y ago · link · parent

This surprises me. As a C++ developer myself, I see fewer and fewer jobs that seem to focus on this skill. Everything seems to revolve around web development and cloud integration these days. I am not looking for anything right now, but I occasionally browse the job sites looking to see what employers are currently focusing on.

comment 4y ago · link · parent

Wow. We actually found a crime that Gascon thinks is worth prosecuting!

comment 4y ago · link · parent

I haven't decided yet which parts I am going to open source or which license I am going to use; but the binaries are available for free download on our website https://www.Didgets.com and I have a newsletter at Didgets.substack.com

comment 4y ago · link · parent

I am building my own database engine using some data objects (key-value stores) I invented to form columnar store tables. It has some really fast query speeds and analytic features (e.g. pivot tables) that test favorably compared to Postgres and other RDBMS offerings. (https://www.youtube.com/watch?v=OVICKCkWMZE)

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

My personal phone is also my business phone which means a potential customer could be calling me from anywhere. My project is software that is in open beta, so the calls could originate from anywhere in the world. If I simply ignore any calls that are not in my contact list, I risk alienating a customer. Some might leave a voicemail, but I certainly can't count on it.

comment 4y ago · link · parent

I remember reading it a few years ago. Seemed like it has some good points but I don't remember it being 'life changing'. I can't remember anything specific I started doing differently because I read it.

comment 4y ago · link · parent

Like every trade, software engineering depends on a set of tools designed to help 'get the work done'. These tools can be hardware (e.g. laptops, servers, test equipment), software (e.g. languages, compilers, source control), or methodologies (e.g. agile, waterfall).

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

I ran into this problem while building my new data management system. I create relational tables by parsing CSV, TSV, or other 'character separated' files to get the row data and then use separate threads to insert each row. Once I had successfully parsed out a row, I could multi-thread the insertion code but only one parser thread could work with the actual file since embedded line breaks could be enclosed within quotes. It only takes one line to break any kind of parallel processing on the file.

comment 4y ago · link · parent

My project (a new kind of data management system designed to replace file systems and relational databases) is a bootstrapped project. I self funded it, but that means it has taken several years to get it to its current state. There are many features still on the TODO list, but it can do some amazing things so far. The 'if you build it, they will come' is a great movie line, but rarely works in business.

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 learned a lot in calculus and physics classes in high school and college that I have never used over my 35 year career. But learning those principles was tangentially beneficial in many ways. It taught me how to solve problems and think through several steps to come up with an answer. When I hear or read stories about outer space, power generation, or communication signals; I have a framework that I can build upon to understand the issue.

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.

1
252627
33