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

I once did an interview with a company that wanted me to do a homework assignment. It was obvious from the problem that it wasn't just a way to find out if you could code, but was a real problem the company was facing.

I spent a couple hours on it, but I realized that in order to get it working and tested, it would require many more hours of work. I started peppering the code with comments like /* here I would verify the validity of the data by doing X */ to show them I knew what needed to be done without doing all the grunt work.

I sent the code, but the manager got back to me and said he expected finished code that actually worked and not just pseudo code. I politely told him that I would gladly do the work if he wanted to pay me my fee I usually charge for contract work.

He declined so the company did not get a bunch of free consulting work, which I think was the point of the exercise. Too many companies get away with this.

comment 4y ago · link · parent

My Didgets project https://didgets.com/ is written entirely in C++. It is a general-purpose data management system where performance is one of its key features.

Algorithms that process millions of data points in parallel using multi-threading is a defining characteristic of the code. It is able to process many queries against large relational tables about 10x faster than Postgres without needing to create separate indexes. https://www.youtube.com/watch?v=OVICKCkWMZE

comment 4y ago · link · parent

It makes you wonder how many of them are out there.

comment 4y ago · link · parent

Part of the resistance to the creative process is the current demand from the market that version 1.0 of something has to be 'near perfect'.

In the old days (80s and 90s), a software startup could release their first version that did something truly unique even if it was still really rough around the edges. People would buy the first version with the expectation that a good portion of the revenue would be used for R&D which would make version 2.0 way better. You could boot-strap some really great projects that way.

It seems that today, a new product never stands a chance unless it has great funding up front with all the kinks worked out and tons of bells and whistles built-in before ever being introduced to the public.

I created a new kind of data management system that manages unstructured data (i.e. files) completely different than conventional file systems. It also does some amazing work with structured data using Key-Value stores to make really fast relational tables.

When I demonstrate how it can do something like file lookups thousands of times faster than file systems or how it can do a query against a big table 10x faster than Postgres; you would think that would capture people's attention and make them want to investigate it further.

Instead, most just point out what your little startup project is still missing when compared to 40-year old projects that are on version 15. They say, "Get back to us once you have A,B,C,D,... features working, tested, and perfected". When you lack the resources to do that, it can be soul crushing.

comment 4y ago · link · parent

The comments section needs a page level [+] and [-] control. If you hit the [+] then all comments on the page are displayed. If you hit the [-] then only the top level comments are displayed. You are then free to drill down into (or collapse) any comment thread independently. This is a shortcut from having to scroll down and collapse every thread if you only want to look at direct comments to the article and none of the replies to them.

906.

Ask HN: What are the current limits for file indexers?

1 points · by didgetmaster · 4y ago · discuss

comment 4y ago · link · parent

Like any other technology that wishes to supplant the status-quo, a new programming language cannot be just 'a little bit better'. It has to be substantially better in order to overcome the inertia that the entrenched technology has established.

This is true for both software and hardware. There have been plenty of leaps and bounds such as SSD speeds compared to HDD speeds; but even there, SSDs will not supplant HDDs until there is price parity between the two technologies. Until then, data will be stored on SSD when fast access is critical and on HDD when there is too much of it to justify the cost.

Getting a company to switch operating systems, database vendors, or cloud providers is likewise an uphill battle. They don't call them 'walled gardens' for nothing.

I am building a new data management system that I think is much better than file systems at storing and managing unstructured data and better than RDBMS at managing structured data; but I wouldn't have even dreamed of starting the project if I wasn't confident that it was at least 2x better at a minimum.

comment 4y ago · link · parent

I took another look at the HN comments and I think you are right, there were a lot more constructive comments there. I guess I just remembered the toxic comments on Slashdot a lot more and mixed the two in my memory.

comment 4y ago · link · parent

I can really relate to this. I posted something earlier this year about how a number of file system problems are directly related to an archaic architecture that was designed when hard drive capacities were measure in MBs. I offered a possible solution in a hobby project that I have been working on for years.

https://news.ycombinator.com/item?id=30449263

While there were some really good comments, the vast majority were very negative and critical. (BTW: the comments on HN were much more civil than on Slashdot where the story also got picked up) Still, I didn't ignore the criticism but tried to learn from it and there were some encouraging comments mixed in as well.

comment 4y ago · link · parent

That is why we need to increase the cost of each phone call and reduce the percentage who actually fall for it. If it only costs $100 to bother a million people, but you can get $1000 from a dozen people who fall for it, then it remains a profitable business model.

If however, it cost 50 cents for each call then cold calling a million people now has a half million dollar expense. You have to get a lot more people to fall for it in order to cover your costs.

911.

Ask HN: Why does this spammer keep calling me when he loses money each time?

9 points · by didgetmaster · 4y ago · 18 comments

912.

Ask HN: What is the most number of files you have successfully indexed?

1 points · by didgetmaster · 4y ago · discuss

comment 4y ago · link · parent

I use the database features for analyzing data sets I download from the Internet. I use the file system features for organizing my photos. I can tag each photo with a set of meta-data tags. Then if I want to find every photo that I took at night in 2020 on vacation; I can search for photos with those tags. It also takes a SHA1 of the data stream and attaches it automatically to the photo. That way I can find all the photos that are duplicates, even if they were renamed and put in different folders.

comment 4y ago · link · parent

I still remember the first advertisement I saw for 1TB of disk space. I think it was about 1997 and about the biggest individual drive you could buy was 2GB. The system was the size of a couple of server racks and they put 500 of those disks in it. It cost over $1M for the whole system.

comment 4y ago · link · parent

The files are not that small. They can have many millions of rows in each. The example I posted was to show what each row would look like. I used it in a Json array for the example, but the file itself can be in Json Lines format.

The data set blocks off the last two digits of the street address for anonymity but it doesn't look like they did the same for lat/long. If you drill down to a single block (e.g. 055XX S ROCKWELL ST), you will see 37 different latitudes and 37 different longitudes.

comment 4y ago · link · parent

Since ageism is very real in the tech industry, why in this era of 'Diversity, Inclusion, and Equity' don't we hear all kinds of tech companies telling us why they need to focus on the under-represented greybeard group?

I have been to a few tech conferences that have multiple seminars on why we need to hire more women or minority or LGBTQ++ people; but I haven't heard a single one who talked about catering to greybeards.

917.

Data Science and Serendipity(didgets.substack.com ↗)

1 points · by didgetmaster · 4y ago · discuss

comment 4y ago · link · parent

I think it really depends on the content. I have a software product that manages all kinds of data. To raise awareness, I also have a newsletter that I send out a couple times a month. In the newsletter, I try to educate people about data issues and how computers process data. I try to make it interesting to people who might never even try out my software (https://didgets.substack.com/). While the purpose of the newsletter is to get people interested in looking at my product, I try not to push it too much. I don't enjoy newsletters that are nothing more than a sales pitch.

comment 4y ago · link · parent

Almost any technology can be used for 'good or evil'. The Internet. Personal computing. Mobile phones. All can be used in a productive way to make people's lives easier and more fulfilled. All can be used in a destructive way to make everyone miserable.

I am working on a new general-purpose data management system https://didgets.com/ that helps people analyze data quickly and easily.

Do I worry that someone might use it for something destructive? A little, but I don't stop working on it because that might happen.

comment 4y ago · link · parent

Nice project. I can relate in that I have my own personal hobby project that I have been working on for years and I would like to get many more users trying it out.

Mine is a new kind of data management system that can manage unstructured, structured, and semi-structured data. Think of it as a file system, database, and NoSql system all rolled into one. It is currently in open beta at https://didgets.com/

You say you have 'finished it'. Software is never finished, but if you have checked off all the feature items from your design, then close enough for now. With my project, the TODO list is still extremely long. It can do many things already, but I seem to put two more items on the list every time I cross one off.

It seems that every solo, multi-year project goes through the phases you describe (burn out, depression, questioning your sanity, etc.) and mine is no exception. It still feels very self-fulfilling every time I get a major piece working or I blow away the alternative in a speed test.

comment 4y ago · link · parent

I have built my own database engine on top of a general-purpose data management system I invented. It has an application that will let you create a DB table from a file (Json, JsonL, CSV, etc.). The application uses the Qt windowing framework that also includes a Json parser so I just used it.

It seems slower than I would like, so I wonder if your code could be used as a stand alone library for parsing the files? My current implementation is able to parse about 25K Json documents per second when each document has 20 KV pairs. I used the Chicago crime data available for download on their open data portal.

How fast will your code parse it? Here is an example of three lines:

[ { "ID" : "10224738", "Case Number" : "HY411648", "Date" : "2015-09-05T13:30:00", "Block" : "043XX S WOOD ST", "IUCR" : "0486", "Primary Type" : "BATTERY", "Description" : "DOMESTIC BATTERY SIMPLE", "Location Description" : "RESIDENCE", "Arrest" : "false", "Domestic" : "true", "Beat" : 924, "District" : 9, "Ward" : 12, "Community Area" : 61, "FBI Code" : "08B", "X Coordinate" : "1165074", "Y Coordinate" : "1875917", "Year" : 2015, "Latitude" : 41.815117, "Longitude" : -87.670000 }, { "ID" : "10224742", "Case Number" : "HY411435", "Date" : "2015-09-05T10:55:00", "Block" : "082XX S LOOMIS BLVD", "IUCR" : "0610", "Primary Type" : "BURGLARY", "Description" : "FORCIBLE ENTRY", "Location Description" : "RESIDENCE", "Arrest" : "false", "Domestic" : "false", "Beat" : 614, "District" : 6, "Ward" : 21, "Community Area" : 71, "FBI Code" : "05", "X Coordinate" : "1168430", "Y Coordinate" : "1850165", "Year" : 2015, "Latitude" : 41.744379, "Longitude" : -87.658431 }, { "ID" : "10224745", "Case Number" : "HY411654", "Date" : "2015-09-05T11:30:00", "Block" : "031XX W WASHINGTON BLVD", "IUCR" : "0320", "Primary Type" : "ROBBERY", "Description" : "STRONGARM - NO WEAPON", "Location Description" : "STREET", "Arrest" : "false", "Domestic" : "true", "Beat" : 1222, "District" : 12, "Ward" : 27, "Community Area" : 27, "FBI Code" : "03", "X Coordinate" : "1155536", "Y Coordinate" : "1900515", "Year" : 2015, "Latitude" : 41.882814, "Longitude" : -87.704326 } ]

comment 4y ago · link · parent

You could say the same thing about CPUs. Do you buy the $400 CPU that has good performance? Or do you splurge for the top of the line Threadripper that costs a few thousand? It is always a trade-off between price and performance. If the situation is right and your job justifies saving a few minutes for lots of money, then go for it.

If I needed a ton of disk space and I could buy a 50TB HDD for $1000 or a 50TB SSD for $5000 right now, I would opt for the HDD. But that is just me.

comment 4y ago · link · parent

Capacity is not the major problem. It is the $/TB price points. SSDs are still 5x more expensive than HDD for bulk storage. It doesn't matter if you can buy a 200TB SSD if it is 200x more expensive than a 1TB SSD.

HAMR technology is going to give us much bigger HDD. If I can buy a 50TB HDD or a 50TB SSD in a couple years, which one will I buy if the SSD is 5x more expensive?

SSDs make total sense for storing the files you need on a regular basis (e.g. your operating system and most used applications). They are just too expensive right now to store your massive video collection on them.

comment 4y ago · link · parent

The capacity and speed curves of drives is quite different. When the first TB drives were released about 15 years ago, the fastest ones were about 100MB/s. Now you can get 20TB drives (20x capacity) and the fastest ones are about 300MB/s (3x speed). It is just far easier and cheaper to make a drive twice as big than it is to make it twice as fast.

SSDs are a different animal, but have some similar characteristics. Within the same generation (e.g. m.2 pcie gen 4), you can get drives that have a lot more capacity but have roughly the same access speeds (i.e. the 2TB version is very similar to the 1TB version). The speed increases between generations is much better than with HDD. Pcie gen 3 drives seemed to max out about 3500MB/s while the gen 4 drives are about double that. I have seen reports that gen 5 drives might double it again

With HAMR technology we might get HDD drives with capacities in the 50TB-100TB range. You can bet that the speed won't be 5x current technology even if they get dual-actuators in them. There will need to be some kind of breakthrough technology to improve it significantly.

This is why we need better data management systems. If the meta-data (e.g. file table) is only 1% of the data that is still a lot of data to read in and store in RAM. We need better systems where the file records are much smaller. https://didgets.substack.com/p/where-did-i-put-that-file

comment 4y ago · link · parent

Have you had anyone submit a 'before and after' workspace where they showed a slightly disorganized setup along with how it looked after they spent some time getting it into better shape? They could then discuss how their productivity was affected by their changes.

comment 4y ago · link · parent

I think the point of the newsletter is to showcase workspaces at home that really work for those doing creative things. It doesn't have to be an expensive setup or a super clean environment, but it should be functional for the task at hand. Just throwing an old computer on top of a garbage heap doesn't do anything for me!

comment 4y ago · link · parent

It looks like you are up to 175 posts of various workspaces. I didn't look at each one, but all the ones I saw were nicely staged, organized workspaces. Did you get any submissions for 'real workspaces' with stacks of books, papers all over the place, and sticky-notes all around the monitors? If you did, did you reject them?

I too, have a newsletter that I started last year about data management. I only have about a hundred subscribers so far, but I am trying to grow it with interesting articles about how computers organize, process, and analyze all kinds of data. https://didgets.substack.com/

If I get a few thousand subscribers like you, I might look for sponsors too.

1
2930313233