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 10mo ago · link · parent

This is why I rarely join those 'customer loyalty' programs that almost every store offers.

I say 'no thanks' when the cashier wants to know my phone number, even if I am paying cash.

It is almost impossible to remain anonymous in the consumer space, even if you are really trying.

comment 10mo ago · link · parent

Interesting. Are you willing to try out some 'experimental' software?

As I indicated in my previous post, I have a unique kind of data management system that I have built over the years as a hobby project.

It was originally designed to be a replacement for conventional file systems. It is an object store where you could store millions or billions of files in a single container and attach metadata tags to each one. Searches for data could be based on these tags. I had to design a whole new kind of metadata manager to handle these tags.

Since thousands or millions of different kinds of tags could be defined, each with thousands or millions of unique values within them; the whole system started to look like a very wide, sparse relational table.

I found that I could use the individual 'columnar stores' that I built, to also build conventional database tables. I was actually surprised at how well it worked when I started benchmarking it against popular database engines.

I would test my code by downloading and importing various public datasets and then doing analytics against that data. My system does both analytic and transactional operations pretty well.

Most of the datasets only had a few dozen columns and many had millions of rows; but I didn't find any with over a thousand columns.

As I said before, I had previously only tested it out to 10,000 columns. But since reading your original question, I started to play with large numbers of columns.

After tweaking the code, I got it to create tables with up to a million columns and add some random test data to them. A 'SELECT *' query against such a table can take a long time, but doing some queries where only a few dozen of the columns were returned, worked very fast.

How many patients were represented in your dataset? I assume that most rows did not have a value in every column.

comment 10mo ago · link · parent

Is there really a market for these kinds of relational tables?

I created a system to support my custom object store where the metadata tags are stored within key-value stores. I can use them to create relational tables and query them just like conventional row stores used by many popular database engines.

My 'columnar store database' can handle many thousands of columns within a single table. So far, I have only tested it out to 10,000 columns, but it should handle many more.

I can get sub-second query times against it running on a single desktop. I haven't promoted this feature since everyone I have talked to about it, never had a compelling use for it.

comment 10mo ago · link · parent

Once upon a time, you could enjoy the works of a creative person at face value; mainly because you didn't know much of anything about their personal life.

That seems to have all changed in this age of the Internet; where every aspect of your life is exposed for all the world to judge (at least if you are famous). All your words (written or spoken) are presented as proof positive that you and your works are not to be tolerated; even if they are from your teenage years.

It seems like you cannot say anything these days without offending a large number of people; some of whom will try to lead a boycott against you.

I generally like to enjoy a good book, movie, blog, or comic strip without letting politics get in the way.

comment 10mo ago · link · parent

When I was single with no kids, I felt pretty comfortable leaving a good job to join a startup. I took a 50% pay cut to join when the risk seemed high, but the reward also seemed high.

It paid off for me, but who knows if I would have taken that leap later in life.

comment 11mo ago · link · parent

Although almost every company issues a 'we care about your privacy' statement, but there is often very little 'money where your mouth is' resources to back that up.

This is why I am almost always very reluctant to give out any information that is not absolutely necessary to provide me the service that I need. If they don't know it, they can't leak it.

Every company wants you to fill out their standard form that tries to get you to volunteer way more info than they really need.

comment 11mo ago · link · parent

So the law requires a fridge be provided, but doesn't state what kind. So now renters can expect to move into an apartment with a tiny, old fridge that does not suit their needs. Then they have to find a different fridge that will hold more than a half gallon of milk, as well as find a place to store the provided, unusable fridge until they move out.

comment 11mo ago · link · parent

Is it just books that you expect to be free? Or does your advice apply to every song, painting, movie, and program?

You expect every artist, actor, painter, and programmer to make zero $ from anything they create?

comment 11mo ago · link · parent

So your fist attempt was an online coding course where you would train users and they agreed that once they got a job, they would pay you a portion of their salary. But no one would honor their agreement once they were trained and employed.

Did I read that right?

comment 11mo ago · link · parent

As much as people want to believe that there is a tried and true formula for success, there isn't one. Many self-help books and videos want their customers to believe there is one, but if you get 100 determined and talented individuals to try their formula; you may get 100 different outcomes.

There are certainly traits and tactics that can enhance your chances for a good outcome, but nothing is guaranteed. Every story of success or failure is just another anecdote.

comment 11mo ago · link · parent

So...somehow communists and socialists are better stewards of the Earth's resources???

comment 11mo ago · link · parent

What if AI can greatly reduce the amount of money (i.e. tax receipts) that the government needs to function properly? What if AI can quickly determine who really qualifies for government assistance, and cuts off all the fraudsters without needing an army of bureaucrats?

We could even cut out a ton of middle-men and return congress to a part-time job. One can only dream, right?

comment 11mo ago · link · parent

Surprise, Surprise. LLMs will respond according to the set of data that their model was trained on!

While just about every LLM is trained on data that far surpasses the output of just one person, or even a decent sized group; it will still reflect the average sentiment of the corpus of data fed into it.

If the bulk of the training data was scraped from websites created in 'WEIRD' countries, then it's responses will largely mimic their culture.

comment 11mo ago · link · parent

I developed a new database management system and I needed a GUI application to use as an admin tool for it.

I decided to build it using Qt (Qt Widgets in c++) mainly because my whole data engine is also in c++. Since it just uses standard windows and dialog boxes; I haven't felt the need to keep up with the latest Qt version. I am still using Qt 5 (I think revision 13 or 15).

I have been contemplating moving to Qt 6. Have users noticed a big difference (e.g. performance) between Qt 5 and Qt 6?

comment 11mo ago · link · parent

Reminds me of the old saying: 'If you have just one watch/clock, then you always know what time it is; but if you have two of them, then you are never sure!'

comment 11mo ago · link · parent

Makes you wonder if the reason why some trivial bug in a closed source project goes unfixed for years; is because all the engineers are afraid to touch the code in some obscure library and instantly become its new 'owner'.

comment 11mo ago · link · parent

I wonder how effective it is for an OSS maintainer to try to prevent someone from 'stealing their project' when <corporation> doing the fork is huge with plenty of resources (engineering, marketing, and legal) vs just some startup that is trying to gain some traction.

comment 11mo ago · link · parent

I have a side project that I have worked on for years, mainly because I enjoy writing software. I get an adrenaline rush when I can make my data management system do things better and/or faster than other things on the market.

I have written articles about it and made the binaries freely available on my website under an 'open beta'. People keep telling me that if I really want it to take off, I should open source it.

So far, I have resisted doing that, for many of the reasons that you cited.

comment 11mo ago · link · parent

If you are bilingual, with one language being stronger than the other one; try reading something in the language you are least comfortable with. I do this (e.g. reading LoTR in Dutch) and it forces me to pay closer attention to each sentence.

There are words you don't know or know how to use them properly. It will help you learn the second language better, while also helping you to not gloss over whole passages.

comment 11mo ago · link · parent

Back in college (for me the 80s), I learned that storing table data in rows would greatly increase performance due to high seek times on hard disks. SELECT * FROM table WHERE ... could read in the entire row in a single seek. This was very valuable when your table has 100 columns.

However; a different query (e.g. SELECT name, phone_number FROM table) might result in fewer seeks if the data is stored by column instead of by row.

The article only seems to address data structures with respect to indexes, and not for the actual table data itself.

comment 11mo ago · link · parent

The lack of needing the last name might have allowed a hacker to brute force the whole list; but it seems that even with a last name, it could expose a lot of PII. Just pass codes along with popular last names (Smith, Jones, Nelson, etc.) and it seems like it could spit out a bunch of reservations.

comment 11mo ago · link · parent

I still have a 25 year old HP LaserJet printer that has a built in FAX function. Unfortunately, I haven't been able to use it since we gave up our landline about 20 years ago. Still prints well, however.

comment 11mo ago · link · parent

It is very much like crime in general. The vast majority of crimes committed each year are by a tiny minority of people. Criminals often have a rap sheet as long as your arm; while a huge percentage of the population has never had a run-in with the law except for a few traffic or parking tickets.

While crime is definitely a major problem, especially in big cities; it only takes a few news stories to convince some people that almost everyone is out to get them.

comment 11mo ago · link · parent

There is an old saying that you are as happy as you choose to be. While some people have experienced very challenging circumstances and have trouble feeling happy; most miserable people are that way because they let little things get in the way of their happiness.

There are rich, healthy, popular people who feel awful. They might feel like a failure because they are constantly comparing themselves with more successful people (or at least believe all the wonderful posts on social media). They might immerse themselves in negative thoughts about the world and their own immediate surroundings.

But if you are always counting your blessings and trying to serve people who are less fortunate; you might realize that 'It's a Wonderful Life'.

comment 11mo ago · link · parent

If you re-read my comment, you will notice that I said nothing about how much taxes are paid, or what those tax dollars are used for. I was talking about how much time, energy, and capital is needed just to figure out how much you owe.

comment 11mo ago · link · parent

How much effect has the regulatory environment had on overall productivity? How much of a company's (or individual's) resources are wasted trying to jump through hoops that do nothing to increase output?

Tax compliance. Defending against frivolous lawsuits. Chasing permits. Settling labor disputes. Sensitivity training. Wading through government red tape.

Each of these and dozens of others drain resources (time and money), but contribute little to productivity.

comment 11mo ago · link · parent

Sometimes it feels like there is an awful lot of software out there that shipped without much review. This was happening long before AI arrived on the scene.

Hard to tell if anyone was 'comfortable' with that.

comment 11mo ago · link · parent

The open source world is littered with all kinds of specialized licenses that came about because a developer once said "Here is my source code. Do anything you like with it! ... wait! Except for that!".

I don't know if there is, but I wouldn't be surprised if there is a license available that restricts you from porting the code to MS Windows or any other proprietary OS.

comment 11mo ago · link · parent

Several of your assumptions are correct.

My project Didgets (short for Data Widgets), started out as a file system replacement. I wanted to create an object store that would store traditional file data, but also make file searches much faster and more powerful than other file systems allow; especially on systems with hundreds of millions of files on them. To enhance this, I wanted to be able to attach contextual tags to each Didget that would make searches much more meaningful without needing to analyze file content during the search.

To facilitate the file operations, I needed data structures to support them. I decided that these data structures (used/free bitmaps, file records, tags, etc.) should be stored and managed within other Didgets that had special handling. Each tag was basically a key-value pair that mapped the Didget ID (key) to a string, number, or other data type (value).

Rather than rely on some external process like Redis to handle tags, I decided to build my own. Each defined tag has a data type and all values for that tag are stored together (like column values in a columnar store). I split the tag handling into two distinct pieces. All the values are deduplicated and reference counted and stored within a 'Values Didget'. The keys (along with pointers to the values) are stored within a "Links Didget'.

This makes analytic functions fast (each unique value is stored only once) and allows for various mapping strategies (one-to-one, one-to-many, many-to-one, or many-to-many). The values and the links are stored within individual blocks that are arranged using hashes and other meta-data constraints. For any given query, usually only a small number of blocks need to be inspected.

I expected analytic operations to be very fast, like with other OLAP systems; but I was pleasantly surprised at how fast I could make traditional OLTP operations run on it.

I have some short demo videos that show not only what it can do, but also benchmark many operations against other databases. Links to the videos are in my user profile.

1
678
33