2,060 karma · joined Feb 24, 2022 (4y ago) · 981 submissions
comment 3y ago · link · parent
I joined a little startup called PowerQuest that was developing a partitioning product called Partition Magic after I wasted several hours for the umpteenth time re-partitioning my hard drive so that I could test out multiple operating systems (DOS/Windows, OS/2). It was a big success, but as drives got bigger the need to re-partition because the partition was full, diminished. Eventually, Microsoft included free partitioning software with their OS.
Today, partitioning can still be very important. You might want to install multiple operating systems on a single computer, each with its own boot partition and file system. You might want to keep your data and applications separate for access or in case a bug corrupts the file system.
But the sheer size of HDDs can also cause a problem. A 20 TB HDD can easily hold a few hundred million files. With new HAMR drives coming out, we will soon see drives capable of storing over a billion files. File systems like NTFS have a file record (FRS) size that is quite large (4096 bytes per file). When you have a billion files on a single volume, that is 4 TB just for the file table. Loading that in and storing it in RAM is problematic (not too many systems have that much RAM). Searching for files, checking the file system, or doing other operations can cause the file table to be loaded in its entirety.
Having multiple partitions, each with a smaller number of files on them can be a way to deal with this problem. I am working on a new system (Didgets.com) that seeks to address this issue with a different approach.
comment 3y ago · link · parent
When was the last time a public official was 'run out of town' for doing something that made life for their constituents miserable? One thing our democracy is absolutely terrible about doing is actually holding our elected officials accountable.
comment 3y ago · link · parent
I wonder how many books that had explicit material within them were not properly labeled as such by their publishers? This seems like a very subjective standard that would be very easy to manipulate.
comment 3y ago · link · parent
The more you donate, the more upvotes you get ($5 per month would give you 400 votes).
comment 3y ago · link · parent
I decided to keep them as a 'decoration' for my new office. There is some nostalgia for me and I will probably crack one open now and then.
I think it is naïve to believe that just because the Internet is full of disinformation that alters regularly at the speed of light; that a print version will protect you from that. While the older versions are less likely to be infiltrated; the biases have existed long enough that plenty of propaganda has made it into print.
comment 3y ago · link · parent
This is a major issue for anyone considering offering their software with an open source license. There are many licenses to choose from and you have to get the first one right. You can't just pick one and later switch it to something more suitable.
comment 3y ago · link · parent
Instead, focus on topics that might only be 'not boring' to a small subset of the population. HN tends to attract people with very particular interests. I often browse through a hundred or more posts before finding one that truly interests me.
My own blog is dedicated to those who are passionate about data management. This is a small group indeed, but who cares if less than 1000 people read my posts. All it takes is a few to learn something meaningful from it to make it worthwhile.
comment 3y ago · link · parent
Today's mantra of 'fail fast' discourages the kind of steady work required to solve some problems. If a solution can't be found in a very short time, they tell you to give up. This can be beneficial in some cases, but some problems are just not easily solved.
How you deal with this, really is dependent on what kind of person you are. If you are patient and willing to stick with something over a long time, then you could create something truly unique. If you get too anxious when a quick solution eludes you, maybe go with the fail fast method.
comment 3y ago · link · parent
Maturity means that you can accept criticism that is intended to help you improve. Making you aware of an issue or directing you towards a better solution can make your code or product a better one.
Simple insults thrown from the 'peanut gallery' should just be ignored. If you have built something using a particular language or framework on a particular platform; you should expect those who don't like those things to throw in their two cents without even trying to understand the problem you are trying to solve.
comment 3y ago · link · parent
All it takes is one critical section to not be protected (i.e. locked) to cause a bug. A series of tests can run hundreds of times correctly without detecting the problem. It is only when a context switch happens at a certain microsecond that the error is exposed.
I am a true believer in multithreading as my own code can see tremendous performance gains using it on the latest multi-core CPUs; but tread very carefully when programming in this manner.
comment 3y ago · link · parent
But I would be shocked (and worried) if someone tried to use it as their primary database in production. It just doesn't have enough testing yet and is still missing some features.
Instead, I am promoting it as a tool to do tasks like data analysis and data cleaning. That way it gets a good workout without causing major problems if there is a bug.
comment 3y ago · link · parent
I am building a new kind of data management system. It can manage unstructured data like a file system as an object store. It can build very large relational tables and query them quickly. Its flexible schema allows the management of semi-structured data like NoSql systems. (https://didgets.com/)
It has distributed features built into the architecture, but I have only implemented the single node so far. On a $2000 desktop computer it can easily manage 200 million files and tables with 100M+ rows or thousands of columns.
comment 3y ago · link · parent
What I was saying that if the developers ONLY run their software on their high-powered computers and never try it on slow hardware, they generally resort to the 'it runs fine on my machine' response when customers start complaining about performance.
comment 3y ago · link · parent
Instead of their high-powered development machine with the latest CPU, tons of high speed memory, and the fastest SSD; they would get to experience what many of their customers have to endure on slower hardware with capacity constraints.
Nothing spurs optimization like seeing first hand how your code creeps along on slow hardware.
comment 3y ago · link · parent
Something like 25% of any given project is the 'fun' part. These include refining the basic idea; building a prototype; getting some simple functions working; seeing it do one or two things extremely well.
The other 75% is the 'grunt work' part that may not be fun to work on (e.g. documentation, bug fixes, refactoring, etc.) but is often absolutely necessary to have a 'finished' project. (Not that any project is really ever finished, but rather one that is usable to a large audience)
I have experienced this with various projects I have worked on over the years; whether ones I worked on professionally while working for someone else, or my own 'hobby projects' that I did in my spare time.
comment 3y ago · link · parent
If it has been about 3 months since the user last updated; it will prompt the user to update to the latest version when the application starts (not some popup when they are in the middle of doing something important).
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Kind of like the term 'Yankee' was a derogatory term for Americans that the British came up with. Eventually, Americans embraced it and even named a baseball team after it.
The church and its members do not think the term is bad, but think it can distract those who think the church is not Christian so it is trying to de-emphasize it.
comment 3y ago · link · parent
Boycotts, mandates, laws, and other forms of political pressure manage to put the employer (labeled an exploiter) out of business. Then everyone pats themselves on the back about what a good citizen they are for righting the injustice.
Afterwards, the poor (now unemployed) person goes back to scavenging through an unsanitary garbage pile looking for their next meal.
comment 3y ago · link · parent
This is why attempts to simplify the tax system never go anywhere.
comment 3y ago · link · parent
Once I had it working, I realized the KV stores I used for tags were just like columns in a relational table built within a columnar database. Querying for files based off their tags was very much just like SQL queries for table rows. So I tried using them to create relational tables.
They turned out to be incredibly fast at a variety of queries (the bread and butter of databases) without needing to create separate indexes in order to get optimal performance. I thought database experts would be intrigued when I showed how much faster my system was than other conventional RDBMS setups on the same hardware. I guess I was surprised when almost no one was even curious how it did it.
Here is a simple, short video comparing it to SQLite: https://www.youtube.com/watch?v=Va5ZqfwQXWI
comment 3y ago · link · parent
comment 3y ago · link · parent
Someone talks Congress into giving them X dollars to solve problem Y because many people think Y is a problem and want it solved. Instead they spend 3X dollars and only a tiny portion of it goes towards solving Y while the bulk of it goes into Z instead. Sometimes Z was the point all along and they were purposely deceiving us. Sometimes Z takes over because the people running the program decide that Z just became more important (to them at least).
comment 3y ago · link · parent
comment 3y ago · link · parent
Nowhere is this more prominent than in traditional file systems where the folder hierarchy is often used as a kind of metadata tagging system. You take a picture while on vacation and copy it to your /pictures/2020/vacations/Hawaii/beach folder. But you could also copy it to your /2020/vacations/Hawaii/beach/pictures folder.
Your pictures, documents, music, and source code gets spread out using whatever hierarchy seems right to you on the day you copied or created it. Heaven forbid you decide to change the folder structure using anything but symbolic links so it breaks any stored references (i.e. full path) to the file(s).
comment 3y ago · link · parent
All tags within the same context are stored together in a highly optimized Key-Value store (also stored within specialized Didgets) like how a columnar store database stores all the data for a single column separately. So if you attach a tag like Person.FirstName = 'John' to a photo of John that is stored in a Didgets with ID = 123; then within the tag the value of 'John' is mapped to the key 123 within the Person.FirstName tag store.
This makes it extremely efficient to find all the Didgets where 'John' was attached as a person's first name. It can also find everything where the first name starts with 'J' or a vowel (using regex). The values within each tag store are de-duplicated and reference counted. In the example, the value 'John' is stored once. If 100 things have 'John' attached, then its reference count is 100. This makes it extremely fast to find everything with the 10 most popular names.
The tags were so efficient and fast that I built relational tables using them that are often faster to query than traditional database systems. In this case the 'Key' each value is mapped to is the rowID within the table.
Here is a video showing how that compares to SQLite: https://www.youtube.com/watch?v=Va5ZqfwQXWI