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 think the concern is that rents are being controlled (and increased) by investors unfairly. There is always a market for rental properties (who wants to own when they know they will move in less than a couple years?); but there is concern that investors wield too much power.

I think this is only possible when large scale investors 'corner the market' by buying up a large percentage of homes in a given area. They can then control the rents because there is little competition.

On the other hand, if nearly every rental home is owned by a separate investor then each owner is competing with all the other small investors for tenants. They have competition and might be forced to keep the rents lower.

comment 4y ago · link · parent

What constitutes an 'Investor' in this article? If I see a distressed home for sale in my neighborhood and decide to buy it, fix it up, and rent it out; this article seems to put me in the same category as institutional investors who come in and buy or build entire communities of homes.

comment 4y ago · link · parent

I am building a general-purpose data management system called Didgets (https://didgets.com/) that extensively uses KV stores that I invented. Since it was primarily designed to be a file system replacement, I used them for attaching contextual meta-data tags to file objects.

My whole container started to look like a sparsely populated relational table where every row/column intersection could have multiple values (e.g. a photo could have a tag for every person in the picture attached). I started experimenting with using the KV stores as columns to form regular relational tables.

It turns out that it was relatively easy and was extremely fast. I started building tables with 50+ million rows and many columns and performing queries against them. Benchmarking the system against other databases revealed that it was very fast (and didn't need separate indexes to accomplish this).

Here is a video showing how it does a bunch of queries 10x faster than the same data stored in a highly indexed table in Postgres: https://www.youtube.com/watch?v=OVICKCkWMZE

comment 4y ago · link · parent

I think it really depends on what kind of 'worker' you are. Some people can take a task, go off by themselves, and work independently for hours or days at a time to complete it with little or no interaction with others. These people are highly productive in a remote setting.

Others require constant interaction with others in order to accomplish much of anything. They need a barrage of ideas and help coming at them constantly and in every direction. While modern remote tools can help with this, an in-person office seems more ideal for this kind of worker.

In the late 90s, I worked for a startup making disk utilities (PartitionMagic). I got married and my wife was doing a residency program in another state. I was able to negotiate a remote work arrangement with my company, even though dial-up connections at the time made things hard to collaborate.

They gave me a new project to design and implement (Drive Image - a disk backup program). I would fly back to the office every couple of months and show them the latest version that I had completed. I did this for almost 2 years and was very, very productive. It helped that I was the only one on the team for most of that time (they didn't assign someone to help me until sales of the product reached several million $).

comment 4y ago · link · parent

I sent a response to everyone who sent me a message. I didn't see any from your username so I don't know if you got a response.

comment 4y ago · link · parent

While I think it is definitely in a company's best long term interest to implement features that benefit its customers; it might not be in the best interest of those who are currently running the company.

We have seen many, many examples of executives who are willing to sacrifice the future of the company to get a personal short-term gain. Jack up the revenues (or slash costs) in ways that alienate customers is a great strategy when you plan to jump off with your golden parachute in a couple years when all your stock options vest.

comment 4y ago · link · parent

The lack of time travelling visitors may only indicate that 'backward' time travel is not possible. It could be that 'forward' time travel will be possible sometime in the future. (And by 'forward', I mean faster than the normal movement through time we all do every nanosecond)

comment 4y ago · link · parent

I worked at Novell in the late 80s, early 90s. In the LAN world, IPX/SPX worked pretty well but it was certainly steamrolled by TCP/IP.

Since I started out in the testing department, I not only had to deal with a bunch of protocols (IPX, NetBios, etc.) but I also had to deal with a bunch of stuff at the physical layer. Instead of everything being Ethernet, we had Token-ring and ArcNet cables running everywhere.

comment 4y ago · link · parent

> can we just wait out a decade or so of storage improvements before this becomes a non-issue?

I'm not sure that there is anything on the horizon which would make duplicate data a 'non-issue'. Capacities are certainly growing, so within a decade we might see 100TB HDDs available and affordable 20TB SSDs. But that does not solve the bandwidth issues. It still takes a long, long time to transfer all the data.

The fastest HDD is still under 300MB/s which means it takes a minimum of 20 hours to read all the data off a 20TB HDD. That is if you could somehow get it to read the whole thing at the maximum sustained read speed.

SSDs are much faster, but it will always be easier to double the capacity than it is to double the speed.

comment 4y ago · link · parent

I have a couple cousins who seem to post every thought that goes through their heads. When I look at my feed I usually see at least a half dozen posts from each of them. Almost all of them are meme stories they liked, comics they read, or some wordle puzzle they solved.

Can I block them or unfriend them without them knowing? Family reunions might get a little more uncomfortable.

comment 4y ago · link · parent

I guess I haven't become addicted because I only check my Facebook page about once a month.

comment 4y ago · link · parent

Even though I am a bit anti-social, I still have a Facebook page. I like to try and keep up with what is "happening" in the lives of family, friends, and neighbors.

By "happening", I mean things like weddings, funerals, babies born, graduations, etc. I don't mean "What I had for breakfast!", "What movie I saw last night!" or "A running diary of my two week vacation"

I never understand people who want to know every detail of all their friends lives and spend hours scrolling through posts every day.

I hate having to scroll through hundreds of meaningless posts to find major events. Maybe Facebook has a way to do this and I haven't figured it out, but I wish it had a way to "Rank" your posts (1-10). Then every time you posted something you could assign it a rank (1 = "I got married", 2 = "My kid got married", 3 = "I went to Europe for the summer", ... 7 = "This is what I did in Spain", ... 10 = "This is what I ate for breakfast at a cafe in Spain").

Then you could filter events for each of your 'Facebook friends'. Some you would only want to see #1 posts. Others, you might go to level 4. Maybe you go to level 7 for your best friends.

comment 4y ago · link · parent

It begs the question of whether software can be akin to art, music, and poetry. While most software just attempts to be functional (minimally at times), at least some programmers take great pride in their work and try to create software that is elegant and interesting.

It is kind of like traditional architecture. Most buildings are just designed and built with a purpose in mind with not as much thought into creating a 'work of art'. But there are some really beautiful buildings that get all kinds of awards for how they look. Likewise, most software is just built to accomplish a task; but some is the work of much thought and design to make it do some amazing things.

Software is one of those fields where a true 'artist' can have a lot of enjoyment from creating it while still making some money because what they created is not just cool to look at, but provides some real utility.

Software 'artists' tend to have two different projects. One is their day job that must be built to someone else's specification. The other is a side project where they can express their creative side and build something really cool.

I have such a hobby project https://didgets.com that I have thoroughly enjoyed building.

comment 4y ago · link · parent

Solar feels a lot like computer equipment. You know that advances are going to continue so it can be a waste to buy a big expensive system right now when you know that a much better and cheaper system might be available in just a year or two.

You can't wait forever, but it is hard to time when to bite the bullet when you want to install solar. Personally, I am waiting until I can install a system that will produce an average of 1000kWh per month (about $100 worth of power in my state) but only costs $6000 installed (5 year payback time). Any guesses when that will be possible?

comment 4y ago · link · parent

Taking 6 months to a year off from programming to give your brain a rest does not mean that you have to sit on the couch watching game shows or travel around trying to 'find yourself'.

Plenty of 'Help Wanted' signs are up looking for people with few skills or intelligent people who can learn a skill quickly. It might be much more labor intensive than your current job, but that might be exactly what you need as a change of pace.

Few, if any of those jobs pay as well as programming, but millions of people earn a living wage doing them every day. If you don't have some good savings, then you might have to give up some luxuries that you have gotten used to, but that isn't the end of the world either.

comment 4y ago · link · parent

There are some things that you don't want to last more than about 10 years. Big CRT TVs and laptop computers come to mind. My elderly parents have a bunch of things that still work, but once they pass the kids are taking them straight to the landfill.

comment 4y ago · link · parent

I just joined a few weeks ago, so I am still working on getting my karma above 100.

At what point do you get the red pill that breaks you out of the simulation?

comment 4y ago · link · parent

You need to find a way to weight it. Improving, by a huge percentage, something that is traditionally very slow can sometimes be trivial. Improving, by even a few percentage points, something that many different systems have spent decades trying to make as fast as possible can be much more significant.

For example, finding files in a big file system using standard file calls takes forever. Making this hundreds or even thousands of times faster is certainly possible. https://www.youtube.com/watch?v=dWIo6sia_hw

On the other hand, making general database queries run faster than the latest version of Postgres with proper indexes takes a bit of novel thinking. Even a 20% or 30% improvement should be considered a breakthrough, let alone 2x or better. https://www.youtube.com/watch?v=OVICKCkWMZE

comment 4y ago · link · parent

Sometimes I wish books and movies were a bit more like software. We have all read or watched something as version 1.0 and thought "that chapter or scene needs to be rewritten". Some things need big changes and not just minor edits.

It would be cool if version 1.0 would be released and get user feedback on what works and what doesn't and then the author or director would make big changes and release a version 2.0.

comment 4y ago · link · parent

Spending several hours building some really elegant code that performs exceptionally well, only to find your manager shrugs his shoulders and says meh when you show what it can do.

The next day you spend 10 minutes moving a few buttons around on a simple dialog and you get an 'atta boy' from your manager as if you solved a real problem.

comment 4y ago · link · parent

Do we need another X??? You could ask the same question about operating systems, file systems, databases, cloud platforms, or programming languages. There will always be someone who is unsatisfied with the status quo and will invent something new in an already established category.

I invented a new kind of database https://www.youtube.com/watch?v=OVICKCkWMZE because I was dissatisfied with existing ones that required you to create many indexes on big tables in order to get reasonable query speeds. That doesn't mean my system will gain instant success over Postgres, MySQL, SQLite, SQL Server, etc.

comment 4y ago · link · parent

I think the answer will depend a lot on how the startup was funded. If you get some great seed funding where you can afford to pay the engineers market wages during that startup phase, you might get a completely different answer than if you are trying to bootstrap and either couldn't afford to pay anyone (other than equity) or just a fraction of what they could make elsewhere.

comment 4y ago · link · parent

Anyone who has a startup knows that there is plenty of opportunity to do many different things as part of a 'single problem'. My own project requires me to wear many hats. I might spend 10 hours one day writing code, but I might not touch it again for the rest of the week. Too busy writing documents, testing, trying to promote it, courting investors, ...

comment 4y ago · link · parent

Companies that anticipate scaling needs well in advance and plan accordingly tend to make smoother transitions than if they are always reacting to the latest crisis. Too many wait until it hits the fan before they do what is necessary.

Some small businesses will try to run a set of Excel spreadsheets as the 'company database' until it absolutely breaks on them once the load reaches a certain point. Similarly, companies that opt for a lighter-weight solution such as SQLite might have to scramble when they have to port all their data to Postgres or other database.

In today's environment where a company can go from nothing to a massive data overload in a short period of time, it can be particularly challenging to anticipate what is coming their way. This is one reason why cloud computing is so popular.

comment 4y ago · link · parent

Updating values may or may not result in links being changed. For example if you imported data where 'Illinois' was misspelled as 'Ilinois' for the 10,000 customers who lived there; updating the value to the correct spelling might not change any of the links.

All the links are stored within a hashed set of data blocks where similar links are stored near each other. This helps minimize any write amplification. You might be able to update 10,000 links while only needing to write out a few blocks to disk.

comment 4y ago · link · parent

Each of my data objects called Didgets (short for Data Widgets) that store tag or column information is a simple Key-Value store. I store each unique value once and have links between it and any keys mapped to it.

So if you have a 1 million row table of U.S. customers that has a 'state' column, then each state value (e.g. 'California', 'Iowa', 'Florida', etc.) is only stored once. Each value is referenced counted so if you had 50,000 customers who lived in California that value would have a reference count of 50,000. There would then be 50,000 links between the 'California' value and their respective keys (in this case the row numbers).

If one of your customers moves from California to Texas, you update that value which just decrements the reference count for California and increments the reference count for Texas. Then the row key for that customer is re-linked or mapped from pointing to the California value to pointing to the Texas value.

A query like "SELECT name, state, zip FROM <table> WHERE state LIKE 'T%';" causes the code to find all values in the state column that start with the letter T (Texas, Tennessee). It will then find all the keys mapped to those two values. Then it will load in the data for the name and zip columns and find any values mapped to those keys.

It is incredibly fast partly because it can be multi-threaded (one thread finds the names mapped to the keys while another one finds the zip codes mapped). Analytics are fast too since all the values are reference counted. It can instantly tell you the top 10 states where your customers live.

Here is a short video showing how fast it can do it compared to the same data set stored in Postgres. https://www.youtube.com/watch?v=OVICKCkWMZE

comment 4y ago · link · parent

I was reading your ideas4 list and came across #18 Data Structure Synchronization. It referenced RocketSet which I had not heard before. A brief introduction to their system told me that they did things very similarly to how I implemented file system tags and DB columns in my Didgets system. My tag objects can also be used to do content indexing and creating 'Dictionaries' that are incredibly fast. The bonus is that for each column, the index and the data are one and the same. When you do CRUD operations, you don't have to update more than one copy of the data.

comment 4y ago · link · parent

Nevermind. I found it once I figured out the full title was "Scalability! But at what cost?"

comment 4y ago · link · parent

Do you have a link to the whitepaper you referenced?

comment 4y ago · link · parent

It is my opinion that too many programmers jump too soon to scale-out systems before making sure that every node is as highly optimized as it could be.

Data will always be able to outgrow hardware's capability of processing it in a timely manner. Parallel systems are critical to handle database tables with billions of rows; file systems with hundreds of millions of files; and NoSql stores with an ever increasing number of KV pairs or documents. So a distributed system becomes necessary at some point.

The problem comes when the threshold for scaling out is set too low. A process gets too slow and instead of optimizing the code, they immediately try breaking it up and distributing it. So instead of needing a dozen servers to handle a big problem, the algorithms are inefficient enough that it takes 100 servers or more to solve the same problem in a reasonable amount of time.

I am working on a distributed data system https://didgets.com/ that handles all kinds of data. I have focused on making sure that every node can process large amounts of data in an efficient manner. It can be so much faster when you don't have to coordinate between too many pieces and more of the data is located close to the CPU processing it.

1
2930313233