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

Entrepreneurs have to wear many 'hats'. Trying to switch hats many times every day just makes you lose focus. Task switching has an overhead.

I came up with a method that has helped me devote a whole day to a given task without neglecting other necessary tasks for too long: https://didgets.substack.com/p/shortcuts

comment 4y ago · link · parent

I agree. The signal/noise ratio on HN is much better than many other sites.

comment 4y ago · link · parent

I would settle for some simple categories like 'Profanity', 'Sex', 'Nudity', and 'Violence' with a level 0 to 9 with specific criteria for each level (zero meaning none, 9 = full of it). Let each content author 'self-report' initially but let others up or down vote if the author 'mis-labels' something.

comment 4y ago · link · parent

I post a new video about once a month that demonstrates a particular feature of my new data management system. I think short (5 to 10 minutes) videos are the best and focus on how to do one thing well. My latest one (https://www.youtube.com/watch?v=Va5ZqfwQXWI) compares a few simple SQL queries on a moderately large DB table (22 columns, 7.6M rows) on SQLite (with and without indexes) and the same queries run on my system which doesn't need separate indexes (spoiler alert: my system is much faster).

comment 4y ago · link · parent

I don't want moderation OR censorship. I want proper labeling so that I can self-filter out things that I don't want to see. Just like the labels on cans of food tells you exactly what ingredients are found within the can so you can skip the ones with peanuts, gluten, or some other substance you don't want; I want labels (and levels) on data.

If I don't want to see profanity, I should be able to set my filter to exclude profane comments. If I don't want to see nudity, I can set that filter too. Just like movies get a certain rating (G, PG, R, etc.), we should be able to properly label data.

comment 4y ago · link · parent

Assuming that this technology can advance enough to become practical; are there orbits a satellite can take where it could collect sunlight continuously (i.e. it is not in the Earth's shadow very much) yet still be over a spot where it could deliver energy to a desired point on the Earth for a significant amount of time?

comment 4y ago · link · parent

You forgot file systems. The main problem to date is that there has not been a single system that can handle all the different kinds of data. We store all the unstructured data in files. Highly structured data goes into a bunch of different relational databases. All the semi-structured data gets distributed into various NoSql stores. Then we need many connectors to tie related data stored within different silos together.

I have been working on a single datastore that can effectively manage all the different kinds of data. So far it can manage hundreds of millions of files better than file systems. It can form relational tables that query faster than other databases (https://www.youtube.com/watch?v=Va5ZqfwQXWI) and it has a schema flexible enough to handle stuff normally stored within Json files. It still needs a lot of work, but it is currently in open beta.

comment 4y ago · link · parent

C++ is my favorite language. When I started my 'side project' (a new kind of data management system called Didgets) I used it exclusively.

Before I semi-retired to work on the project full-time, I would sometimes check out the help-wanted postings for various software companies. It became more and more rare to see a job posting that focused on C++ skills. Systems level programming and being able to write very performant code does not seem to be nearly as high a priority today.

comment 4y ago · link · parent

Even if your employer 'had no say in the matter', it is still generous. Somebody had to pay for that medical leave whether it came out of the profits of the company you work for, their insurance company (which leads to higher premiums for everyone), or came out of the taxpayer's pocket.

It sounds like you could benefit from a completely different environment. If you can't find any joy working in your chosen field, it might be time to explore a completely different field. Many people have switched careers because of this.

comment 4y ago · link · parent

Thanks. GLOB ran about 10x faster than LIKE for my data set.

comment 4y ago · link · parent

Even though computing resources have grown by leaps and bounds over the past few decades; it seems that the amount of data has grown by even more. I have found that it is much easier to generate twice as much data needed for processing than it is to get the processing of it to run twice as fast.

When you multiply by really big numbers, the problem becomes very apparent. A wasted millisecond in a function doesn't seem like much until you call it a million times.

comment 4y ago · link · parent

You also have to multiply time savings by the number of users. If some optimization will cost a developer an hour and that will result in only one minute savings for a single user, then that might seem like a loss; but only if you have less than 60 users. Once your software has a million daily users, every second you save results in a cumulative savings of 1 million seconds (over 11 days).

comment 4y ago · link · parent

I am aware of that, but in this case the query returns less than 5% of the total rows and I think the database should choose to ignore the index if a scan is faster.

comment 4y ago · link · parent

The block column is of type TEXT which should be fastest for LIKE '1%'

comment 4y ago · link · parent

Any ideas why an index in SQLite would make a query slower? I have a 22 column table created with the city of Chicago crime data loaded (7.6M rows). There is a block column that has the block within the city where the crime occurred (about 58K unique block names). If I want to find all the blocks that start with a 1, I use 'SELECT block FROM crimes WHERE block LIKE '1%'; which returns about 370K rows in about 1600 ms. If I then create an index on the block column, the same query takes about 1800 ms (about 200 milliseconds longer). I ran each query 5 times and the queries with the index are always slower.

I am much more familiar with Postgres and creating an index on the same table there always speeds things up quite a bit.

comment 4y ago · link · parent

I wrote my very first program using BASIC on an Apple II. My high school in Oregon bought two of them in 1979 (one for the math dept. and one for the business dept.) and I was one of the few students who had a class in both classrooms during the day. The teachers would let us play on them after finishing our regular class assignments.

Neither one had a hard drive so we had to store all our code on a 5 1/4" floppy. The teachers didn't know much of anything about programming, so us students basically self-taught ourselves how to do simple programming on them using the manual and stuff we read about in magazines.

comment 4y ago · link · parent

This is an obvious ad to sell a book, but I wish more publishers would let you read one of the chapters without buying it first. Stroustrup has a lot of books and I have read some of them so he is a known entity, but I see ads like this all the time from authors I know nothing about. The preface and table of contents are good information, but they don't give you a good sense of the author's writing style.

comment 4y ago · link · parent

>Fixing the bugs is the easy part; finding customers and convincing them to pay you to help is the hard part.

Fixing the bugs is the easier part; finding customers and convincing them to pay you to help is the harder part.

FIFY: $10 please.

comment 4y ago · link · parent

I don't think that most requests by OSS users are unreasonable or unfair. Anyone who puts out code that is not perfect (i.e. all code) should expect there to be bug fix requests, support questions, documentation requests, and suggestions for new or better features.

But even if you say NO to the vast majority of requests, it generally requires some real time and effort to address each one. If the originator does not feel like 'maintaining' a project and their is no financial incentive for doing so; then I think that can be a big barrier for many projects and can prevent them from being open sourced to begin with.

comment 4y ago · link · parent

Why does renewable energy sources have to be so political? Personally, I like the idea of better and more wind and solar generated power, but not because I 'hate fossil fuels'.

If solar panels keep getting cheaper and more efficient, I will eventually get a rooftop solar system. If I can buy a good electric car without breaking the bank then I will.

Renewables seem like a great way to meet the growing demands of an energy hungry society but if they are really good then we shouldn't have to try to scare people away from competing energy sources.

comment 4y ago · link · parent

I have a project that I have thought about open sourcing. When I hear horror stories about demanding 'customers' who don't pay you anything but somehow expect you to drop everything and address their immediate concern (feature, bug, documentation, etc.), that gives me pause.

I wonder how many other projects have also been kept out of the OSS realm for the same reasons.

comment 4y ago · link · parent

Do you know the efficiency of using pumped storage? In other words, for every MW of electricity used to pump the water up the hill, how much do you get back in power generation when the water flows back down through a turbine? You will lose a bit of water to evaporation during this process, but it should be fairly negligible. Also all reservoirs lose some water by leakage into the ground. How does the efficiency compare to various battery storage techniques?

comment 4y ago · link · parent

There are various areas where the wind blows quite a bit and bright, sunny days are not the norm. In those conditions, then maybe it makes total sense to install one of these systems instead of a typical solar rooftop installation.

I would even expect an example where 50% more energy was actually achieved to be set up in one of those areas. Since no example was given, it makes you wonder how extreme the conditions have to be for this new technology to make sense.

comment 4y ago · link · parent

"They" should be the author of this article who chose the headline but failed to back up the claim in the story. If you are going to say that anything is 50% better, then at least show one instance where that was actually achieved. If you invent a new engine that you claim gets 50% better gas mileage, then you better show at least one trip of a significant distance where it did it.

I built a new database engine that I claim is at least 2x faster than Postgres at queries without needing separate indexes on the table columns. I don't claim it will always be that much faster on every query, but I show several instances where it is not only 2x faster, but 10x faster. https://www.youtube.com/watch?v=OVICKCkWMZE

Without a video like this, I would not expect anyone to take my claims seriously.

comment 4y ago · link · parent

I am always skeptical whenever I see a headline that says new technology X can be better, cheaper, or more efficient than existing technology Y, but then fails to show in the actual story how that is true with real numbers.

This CAN produce 50% more energy than solar, but under what conditions? It seems like they should have a side-by-side chart of a solar and a wind setup that costs the same and show how much energy each one produced over the course of a year. Since nothing like that was in the article, I remain skeptical.

comment 4y ago · link · parent

One of the reasons why software is so bloated is because the developers are constantly using it on their high-end machines. When a customer complains that something is slow on their 7-year-old laptop, the developer often just shrugs and says 'works fine for me'.

I routinely run and test my new data management system on old, outdated hardware to insure that the speed is as acceptable as possible even when there are resource constraints. If a big database or file system query runs fast on old hardware, then when someone uses a high-end machine they will be truly amazed.

comment 4y ago · link · parent

My car was covered with bugs after a recent trip, but hard to say if that anecdata is any indication of actual insect population stability. If insect populations are truly in decline, it is hard to see how insecticides used on crops could be responsible for massive worldwide reductions.

Here is an interesting breakdown of how much of the world's surface (particularly the part that includes habitable land) is used to grow crops: https://ourworldindata.org/land-use (TLDR: it is a very small percentage)

comment 4y ago · link · parent

Check out the Didgets tool at https://www.Didgets.com which will let you import data from CSV, Json, Json Lines; filter out any unwanted rows; and then export it out into CSV, Json, Json Lines, HTML, or XML files while splitting them up like this does.

comment 4y ago · link · parent

Both AMD and Intel are competing for bragging rights, but they are both pushing the power envelope to accomplish it. The Raptor Lake processors take it to the next level. The law of diminishing returns kicks in whenever a new version is something like 20% faster but requires 25% more power in order to do it.

There are times when I will certainly sacrifice cost for speed, but most of the time I want my CPU to churn out pretty good performance while being frugal on the power budget.

comment 4y ago · link · parent

I created a new kind of object store where tagging is one of its key features. Each data object (called a Didget - short for Data Widget) can have a set of contextual tags attached. This is true whether the Didget holds file data like a photo, a document, or a piece of software; or if it holds other kinds of structured or semi-structured data (relational tables, folders, configuration, etc.).

Each defined tag has a data type (STRING, INTEGER, DATETIME, etc.) and a 2 level context. Like a column in a relational table within a columnar store; all the values for the same defined tag are stored together. This makes querying extremely fast.

So you can define tags like Person.FirstName, Event.Wedding, FileSystem.Extension and then attach values to files and other kinds of content. You can then query the system (e.g. Find all photos where Person.FirstName = 'Billy') based on their tags.

I have created containers with 200M of these objects and put a dozen or so tags on each one. It can run queries that return in just a couple of seconds.

Demo Video: https://www.youtube.com/watch?v=dWIo6sia_hw

1
242526
33