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 3y ago · link · parent

Software often gets used for something besides its intended purpose. Someone writes a simple library to solve a simple problem. Efficiency is not an issue since the problem is simple and the library is rarely used. The code is slow but it works so no one cares.

But because the code actually works, the library gets shared with other programmers. Eventually someone uses it for something that has a lot of data and is run frequently. Now the inefficient code becomes a real problem. Multiply that with a dozen libraries with similar characteristics and you begin to understand the issue.

comment 3y ago · link · parent

The most enjoyable programming jobs that I had were ones where I was also a 'user' of the software and was given power to build features that I personally wanted. I think this is common in open source projects that are started by people who couldn't find software that did what they wanted, so they wrote their own.

Businesses are there to make money and pay the bills (including the salary of the programmers) but the needs of the users can get lost sometimes in the shuffle. Managers are so busy trying to meet some goal set in a 'high-level' meeting that they lose focus on what would make customers happy.

My current project is very enjoyable. I built a system that I personally wanted (data management) and worked on features that I thought were important. I work closely with customers and beta sites to figure out which feature should get my attention next. It's not finished until I am personally happy with how it works.

comment 3y ago · link · parent

When I was in my 30s and had two small children, my appendix burst. It turned into a fairly routine procedure to remove it and get me back on my feet; but I realized that if I had lived even 100 years ago it probably would have been fatal.

Near death experiences can change your whole perspective. When I was young and single, I did all kinds of crazy things that could easily have ended me. Once I got married and had children, I definitely became much more conservative in the personal risks I was willing to take because it wasn't just about me anymore.

Tomorrow is promised to no one, but each of us can do things to minimize risk.

comment 3y ago · link · parent

Thanks for your feedback.

The database engine is cross-platform and is capable of running in a number of environments, but so far we only build the Windows version of the browser application. The engine has an API that the browser app calls. Any other app could also call it, but so far we just have a few test programs that run outside the browser GUI. We built a Linux version and tested it, but at this point we just don't have the resources to build and support multiple platforms for every revision.

I have personally built tables with over 100 million rows and over 2000 columns, so it scales pretty well.

I definitely need to work on presentation materials so that developers can better understand what it is and where it can go. I really don't mean to come across as combative, it is just a bit frustrating when people criticize something that they have not personally tried.

comment 3y ago · link · parent

The intent was to say that the code is not yet ready to fully replace your current database. Other systems generally have decades of development and although Didgets does many things, it has not replicated full database functionality at this point.

But it does allow you to quickly import a data set into a table and do a variety of analytic or cleaning operations on it and it is easy enough to do that even a novice without any SQL skills could do it.

Our hope is that enough people will notice its strengths that we can get the resources needed to finish the remaining pieces.

comment 3y ago · link · parent

All the videos are still available. I would be very interested to know which one you think did not show what I thought it showed.

> Claims are all very well, you need to show your working and get it right.

What does this mean? I have un-doctored videos that show various features in action. How do you suggest that I otherwise 'show your working and get it right'?

comment 3y ago · link · parent

I have very limited resources so I have devoted everything I have to make the code as performant as possible and make it easy to import data in a variety of formats.

I have little sales and marketing experience so I haven't done enough yet to promote it with proper documentation and other literature. I thought that the videos were the best way to show its speed and flexibility. People can see with their own eyes how to do something and also see it isn't just vaporware. Clearly, by little startup needs a lot of help to compete with the 'big boys' even if the underlying technology is superior.

comment 3y ago · link · parent

Didgets is a new technology. While the core technology has proven to be very flexible and performant, my resource constraints have limited what the current product can do.

It is not yet a 'drop-in replacement' for an enterprise, distributed database. It can't yet do everything a file system can do. Instead, I have built a tool on the technology that can do some very interesting analytics against large DB tables. It can create pivot tables in seconds. It can help you find anomalies and clean your data quickly. But some other features like file indexing and log management features still need a lot of work.

If you have an immediate need for the polished features, then it can be very useful as it is. If you have a need for features that are only partially finished, then I need feedback, testing, and resources to get them working properly.

comment 3y ago · link · parent

I don't blame you at all for betting on 4. There are plenty of snake-oil salesmen out there. That is why I invite you to download the software; load in your own data set; and perform whatever benchmark test you like. Don't trust me. Trust your own eyes.

comment 3y ago · link · parent

I agree that competing in the data space can really be hard. I have worked with data (file systems, databases, etc.) for 40 years. Some of the products I worked on were successful (PartitionMagic, Drive Image) but others were not as impactful.

Whenever you offer an alternative to a mature technology like database, it can be a real challenge. Your product is expected to do everything that the well-funded and long developed product can do, and more.

Good luck on your venture.

comment 3y ago · link · parent

The system is a general purpose data management system. It was originally designed as a file system replacement where you could store a few hundred million files in a single container; put meta-data tags on each of them; and then be able to find subsets of them (e.g. all photos with more than 10MB of data and with tag .person.FirstName = Robert) in just a second or two (even if the query produced a few million results).

The objects I invented to store the meta-data tags turned out to be very performant Key-Value stores that could also be used for other purposes. It turns out they could also be used as columns in a relational database table. I think I was surprised as anyone when queries against my tables that use them turned out to be substantially faster than for other databases with highly indexed tables.

I am sorry if the term 'prove me wrong' came across in a bad way. I guess I just got tired of people telling me my system couldn't possibly work and refuse to put forth any effort to try it out. In some ways I feel like a Tesla salesman surrounded by people who are sure it couldn't possible be better (or even different) than a regular car, but won't get in and take it for a spin around the block.

comment 3y ago · link · parent

Crystal! I have have never met someone who knows all the details about every piece of technology they use. You must be very smart.

comment 3y ago · link · parent

Then you should like this video (https://www.youtube.com/watch?v=OVICKCkWMZE) that does a direct comparison with Postgres.

comment 3y ago · link · parent

Sorry, but I can't guarantee that there isn't a bug in it that could corrupt data. While I have run thousands of tests against it, I don't think any database startup can offer you a solid guarantee that you won't find a bug (especially in the first few versions).

I take data integrity very seriously and it sounds like you do as well. You would make a good beta site.

comment 3y ago · link · parent

There are several demo videos on the youtube channel (https://www.youtube.com/@didgetsdemos) that should give you a good feel for what it can do without having to install it.

comment 3y ago · link · parent

Didgets is a little startup trying to get some traction. I am definitely not 'afraid to share implementation details', but I have not done a great job so far of prominently posting a lot of technical specifications and details on the website.

So...are you promising to try it out if I tell you how I did it?

comment 3y ago · link · parent

> Anyone that has worked with large databases can testify how slow queries can get. This is often due to the necessary indexes not being there, or something in the query that stops the database system from using the index. Choosing the right indexes to use, and the right order to fetch data in, proves to be the difference between a 10ms and 5s query.

This seems incredibly intuitive. Anyone reading it would get the impression that query speed is very important for database users and that they would be eager to investigate any new technology that promised a substantial improvement in query performance.

Yet, I have found the opposite. I created a new kind of database that shows incredible performance gains when compared with mainstream databases like SQLite (https://www.youtube.com/watch?v=Va5ZqfwQXWI) for simple and complex queries against tables of all sizes. It is able to do this without needing to create separate indexes on all the columns in the WHERE clause. The software is in open beta and available for free download at (https://www.Didgets.com) but it is like pulling teeth to get people to try it out.

If I post something like this on HN, I usually get lots of comments about how my claims are impossible (or at least improbable) but few are willing to actually test it themselves on their own machine with their own data set. I have several videos that demonstrate how quick and easy it is to load and analyze data, but interest has been minimal so far.

I feel like the inventor of a new kind of car engine that claims to get 2x the MPG while delivering the same horsepower, but can't get anyone to take the free test drive and prove me right (or wrong).

comment 3y ago · link · parent

I could also grow all my own food, do all my car repairs myself, and build my own house; but I would rather pay people who specialize in those things to do them for me.

I don't want to have to learn all the code for every single open source project I use and have to try and figure out how to build new features I want; fix a nagging bug I found without breaking something else; or rewrite the documentation. I would rather pay a few bucks (along with the other users of the software) so that collectively the developers most familiar with the code can do that and be compensated for doing so. Without that incentive, the maintainer may get around to fixing your issue sometime next year, if ever.

Sure the source is open so if I REALLY, REALLY wanted to I could go dig into the unfamiliar code and try to figure out how to make it do what I want; but that just seems a little inefficient to me...but maybe that is just me.

comment 3y ago · link · parent

Altruism is alive and well in all aspects of society and software development is no exception. Good developers are often willing to spend some time and effort to build something and give it away for nothing. A great deal of our software infrastructure is built on such contributions.

But as a developer myself, I know that altruism only goes so far. There are many 'fun' tasks associated with making good software, but there are also many aspects that are quite unpleasant for the average developer. There is quite a bit of open source software out there with bugs, bad documentation, and bad design; simply because fixing those problems is a real hassle.

Some people are willing to dig in and do some of the dirty work for no pay, but the majority will take a pass. Nothing gets you out of bed on a cold day to go work in the trenches like a steady paycheck. If we are satisfied with the status-quo, then you are right and 'nothing needs to change'; but if you want stable software with good documentation and quick bug fixes, then some improvements need to happen.

comment 3y ago · link · parent

The economics of open source needs to change if developers are going to be able to actually make a living spending most of their time on it. There are just too few dollars coming into the front end of the pipe.

People who don't bat an eye at paying $10 for lunch will balk at paying $10 for a software license for some tool or app that saves them a ton of time and effort. Until this changes, open source contributors will continue to struggle to capture some of the few dollars floating around. Too many will just decide that it just isn't worth it.

comment 4y ago · link · parent

I totally agree. Just like if a new car came on the market which claimed to have an engine that gets 100 mpg and wasn't the size of a golf cart; there are many other factors that go into choosing a car (comfort, quietness, safety, price, etc.).

But you can bet if such a car was announced, a whole bunch of people would be lined up to take it for a test drive to see if it really got the claimed mileage. If it met those claims, you can also bet that investors would line up to help iron out any kinks in the system that might keep customers from buying it.

Why is this not true for data engines as well?

comment 4y ago · link · parent

Didgets is currently in beta with a free download available from the website https://www.Didgets.com so anyone can try it out with their own data set. I haven't decided yet what parts I am going to open source. The engine has an API so many other programs besides the browser app could interact with it.

It is a little startup with a tiny 'bus factor' so like I said, I don't expect everyone to just jump on board; but I expected to get a little more attention from the 'curiosity crowd' who just might wonder why it is so fast. It needs more resources to support other platforms (the code is cross-platform, but I have only tested on Windows and Linux so far) and languages.

Again, the browser is a proof of concept app that demonstrates that the underlying engine is not just blowing smoke. If it can't attract some interested customers and/or investors, then it will be a dead-end project just like every other promising technology that failed to get a hold in the market.

comment 4y ago · link · parent

The test results are impressive (assuming that they are not just cherry-picked) against the competition; but I seriously wonder if anyone really cares. People will tell you all day that performance is super important, but in my experience they rarely 'put their money where their mouth is'.

For example, I created a new kind of relational database engine that also has some very favorable performance characteristics when compared with popular engines like SQLite, MySQL, PostgreSQL, and SQL Sever. I have posted some videos (https://www.youtube.com/watch?v=Va5ZqfwQXWI and https://www.youtube.com/watch?v=OVICKCkWMZE) and done a number of live demonstrations of my system showing how it is many times faster with both transactional and analytic operations across a wide variety of queries.

I certainly didn't expect mass adoption where everyone decided to dump their old system and move to mine (it is still missing some important features). But in a world where even a 50% increase in speed should be seen as significant; the reaction has instead been crickets! You would think that showing a 10x improvement at anything would result in some serious inquiry by at least a few hundred people. Instead, I seriously wonder if anyone cares about speed anymore.

comment 4y ago · link · parent

Exactly. Tiny memory leaks in seldom called functions can also cause slow degradation over time. People wonder why a simple restart seems to 'fix a boatload of problems' but this is often the reason why.

comment 4y ago · link · parent

It has been some time since I last worked extensively with SQLite; but I just started doing some benchmarking on queries against decent sized tables (e.g. a few dozen columns and at least 5M rows) for simple queries like 'SELECT * FROM <table> WHERE <column1> = 'Hello' AND <column3> < 100;'.

For those who work with it regularly; have you noticed any dramatic changes in query speeds in the past few years/versions? I imagine that most improvements to the code have been around new features but there may be some big speed gains in 'bread and butter operations' like queries or updates, but I am not aware of anything specific.

comment 4y ago · link · parent

I have often wondered why rooftop solar does not have some kind of tilting system to aim the panel at the sun more without an expensive and sophisticated tracking system.

You could mount each panel on a swivel that has a spring on one side and a screw drive on the other side. At night when no power is being generated, the spring causes the panel to automatically move so it is pointing at a slight angle (e.g. 15 degrees) to the east. When the sun comes up in the morning and the panel starts generating power, it also activates a very small motor that turns the screw every few minutes to begin a slow tilt toward the west. This continues all day until the sun goes down and the process resets.

comment 4y ago · link · parent

I have a project (general-purpose data management system called Didgets: https://www.didgets.com) and I also have a blog (https://didgets.substack.com) that is a mix of information about my project and also about my general thoughts on various data management issues.

Anytime you put your ideas or projects before the public, you run the risk of criticism and/or ridicule; but don't let that stop you. If your project can truly do some amazing things (like I think mine does), eventually it will attract some interest. Even if someone uses it just to try and prove you wrong, take that as a win.

comment 4y ago · link · parent

Mine is not. If a table has 4 columns (e.g. name, address, phone, email), then all the names are stored separately from the addresses. Likewise all the phone numbers are stored separately from the emails. The data is de-duped so it is incredibly easy to find out how many of each value is in each column (e.g. there are 1,234,567 rows in the table where name = 'John').

comment 4y ago · link · parent

I think it is true for every row-oriented database that stores all the values for a single row together within a fixed-sized structure. Columnar stores on the other hand may or may not do this.

I have built a database engine that is a columnar store. All the values for each column are stored together. This requires just about every query to fetch each row value separately, but it has proven to be incredibly fast. Queries on big tables run several times faster than on Postgres and it is also about 5x faster than on SQLite. https://www.youtube.com/watch?v=Va5ZqfwQXWI

comment 4y ago · link · parent

When studying the internals of Postgres years ago, I learned that pages could greatly affect the disk space required to hold a table. If the page size was 8192 bytes (the default) and if the schema defined each row as holding 4097 bytes, then two rows would not fit within a single page. This would cause every row to be within its own page and would waste almost half of the space.

Anyone know if this is still true?

1
232425
33