Tech

Posts about new technology and ideas about technology

The Future of Drugs Pt.1

The Future of Drugs Pt.1

This is going to be the first of a series of three articles to explain my recently published paper. The first article will be about the future of testing drugs, the second will be about how we can get rid of side-effects in the medication, and the third will be about the future of healthcare.

A paper that I co-authored (over a year ago) , was recently featured on the cover of Science Translational Medicine. It goes by the title Mechanism and Reversal of Drug-Induced Nephrotoxicity on a Chip1, which sounds complicated, and in this case really is complicated. Yet, to understand what this paper is about and why you should care, we have to understand the problems it seeks to solve. This means learning a little bit about how we make drugs, the FDA, and the drug-approval process.

Let’s say that you wanted to make a drug. There are a number of reasons you may want to do this: to save millions of lives, to get rid of the every-day headache, or even to save your loved one from a rare genetic disease. Yet, it is much simpler said than done. The average development of a drug takes 13.5 years and costs around 2.5 billion dollars2. It takes so long because most of the things we are trying to fix are not well-understood. The brain is a mystery, our organs are black-boxes, and our nervous system might as well exist on the spiritual realm.

That is not to say we don’t understand the parts; we have analyzed and classified every last bit of meat in our bodies, but those labels don’t actually help us understand the mechanisms. You can label every animal in a jungle, but that doesn’t help you understand the ecosystem as a whole. Therefore, it can take a really long time to even get a vague understanding of the details of the disease you are trying to cure.

Even once you get the details, you still cannot just rely on your understanding to make the drug. Science in general is not designed to predict the outcomes of an experiment, its designed to set up experiments. So, in your efforts to make a drug, you have to first try thousands of compounds at a time to see which ones have the desired effect. This is called drug discovery, and it is really inefficient. Trial and error is not usually the ideal method of solving a problem, it is more of a last resort.

Beyond that, it also costs a large fortune because all that research and experimentation can’t be done in a garage. It requires the brightest minds (with the highest wages) and the most complicated machines the world has ever made.

Beyond that, it also costs a large fortune because the all that research and experimentation can’t be done in a garage. It requires the brightest minds (with the highest wages) and the most complicated machines the world has ever made.

But, let’s say you put in the time and the money: you have finally come up with a drug that, for example, kills cancer. Now, the drug worked in the lab, but you have to start testing it outside the lab. So, you set aside a couple years to test it on animals. First you try it on mice and rats, then on dogs and monkeys. These tests can take years and are quite expensive. But, you’ve already done so much work, so, you’re willing to do whatever it takes. You keep on testing it and testing it until you are confident that it both works on animals and won’t harm humans.

Eventually, you reach out to the your local government drug administration and ask permission to test it on people. You have to prove that you’ve done the work and that you are confident it won’t hurt anyone. Filling out the paperwork itself can take a year if you’re new to the whole process. But, if you’re papers are in order and your research is solid, the FDA will give you permission to test it on a small group of people. And finally, after you have sunk a decade of time and billions of dollars, you have now reached the point where 92% of drugs die a quiet death. You heard me right, 92% of drugs fail in human clinical trials 3. After the billions of dollars you have spent, and a decade of your life, your drug has less than a 1 in 10 chance of actually becoming a product. This isn’t because of bureaucracy or overly strict testing, rather because of one of two issues:

  1. Most drugs developed in a lab simply don’t work on humans. Even if your drug worked on animals and was backed up by science, there is just no guarantee that the human body won’t simply process it in a way where it ends up doing absolutely nothing. The body is complicated, and we don’t understand it as well as we claim to. So, sometimes you just have to make the drug and hope it’ll work.
  2. Even if a drug does do what it claims to, i.e. kill cancer, that doesn’t mean that it won’t also cause kidney failure or a heart attack. When you watch drug commercials, there is a reason that they always say “side effects may include death,” its because side effects are often deadly. The truth is, a lot of drugs do more harm than help and the FDA is very careful to make sure they don’t approve a drug that will end up killing more people than it will save.

And this is the problem with current drug development, a whole lot of time and money is wasted on drugs that either don’t work or are extremely dangerous. You may be wondering how this process could be so inefficient? Well, there are literally thousands of research groups around the world trying to tackle this exact question. Some of them are trying to make the research step itself more efficient through better techniques and experimentation. Others are trying to do more basic research into how the body works so that we can make more informed guesses before we even start. Each of these areas alone suck up hundreds of billions of dollars of funding and while there have been promising results, these groups have mostly failed to improve the development process. This leads us to the third way people are trying to solve the problem: making testing better.

Why do we test drugs on animals? PETA, and many other organizations argue that animal experimentation is cruel 4. They’re not wrong, we literally make animals sick, while holding them in small cages, in order to ensure the validity of our experiments. It is hard to watch, but in the end of the day its better than testing on humans. Would you rather kill a monkey or a person with your untested cancer drug? I really hope you answered the monkey.

Yet, this is starting to change due to a number of recent breakthroughs in tissue engineering. In other words, we have gotten really good at making cells. What do I mean by this? Well, you may have heard of stem cells. These are cells that are a blank slate, they can be transformed into whatever you want if you feed them the right things, and take care of them in the right way. They are like babies, their personalities and physical features aren’t formed yet, so they’re easily moldable. And in 2006, Shinya Yamanaka figured out a way to make human stem cells very easily (we call them IPSCs in the biz)5. If you want, you can now buy gallons of human stem cells for a couple hundred bucks.

So, this prompted many to seriously look at the following question: why don’t we just test medications on human cells instead of animals? Now, people have been asking this question for decades, but only recently have we finally gotten to the point where our technology makes it possible.

It is also important to note that the history of tissue engineering is both fascinating and scary. It reaches into issues from racism to identity. In the early days, we would collect samples from patients without their permission. Henrietta Lacks was a young black mother in the 1940s, whose cells are reproduced by the millions today, despite her never having given permission6. Beyond that, we are entering into an age where we want to treat people based on their genetic ethnicity, but is it ethical to change our approach to treatment based on whether someone is black, Latino, Jewish, or white 7? If our history can tell us anything, its that we are not very good with keeping our biases in check when it comes to medicine. We truly are in a uncharted territory, and I encourage everyone to develop their own opinions on these matters before they enter the realm of public opinion and politics.

But, returning to our question: why don’t we just use human cells? Sadly, its not as simple as that. If you try take some cells from a body, the cells will die within an hour or two, even if kept in ideal conditions. That is just not long enough to test medications, so people have had to figure out ways to make cells live longer. The best way to make a cell live longer is to make it cancerous (as many cancer cells can live forever), but as you may have guessed this is not an ideal solution. Beyond that, you can’t actually start from a human cell, you have to build the cell from scratch. So the first step in making human cells that you can test medications on is to grow the cell you want from a stem cell. The second step is finding a balance between making that cell too cancerous and not cancerous enough.

This leads us to our third problem: one cell is not enough to test medications on, you need a lot of cells. In the early days, researchers would just stick a whole bunch of cells into a flat petri dish and let them grow, but as it turns out this doesn’t really imitate human cells in the body so well. Cells don’t exist in a 2D flat world, they exist in a vibrant 3D world. It took a long time for researchers to make 3D scaffolds that cells could grow around such that they worked even remotely as well as they would have in the body. This is still an active area of research today.

Even once you have a whole bunch of slightly cancerous cells all organized in a 3D structure, you still can’t just test medications on them. When you give a cancer medication to a monkey with cancer, its pretty easy to see if the medicine worked, but how can you tell if a cancer medication worked on a slightly cancerous clump of cells? It is easy to see if a monkey died, but its much harder to see if cells died. This leads use to our fourth problem: monitoring the health of cells.

There are two primary ways of seeing if cells are happy and healthy:

  1. Looking at general measurements like glucose metabolism and oxygen consumption.
  2. Looking at a cell’s RNA.

These are both very hard to to do. The first method involves using physical sensors such as spectrometers, fancy chemical oxide probes, and much more to get a general indication on whether the cells are eating, breathing, pooping, and communicating. The second method is even more complicated. In order to look at a cell’s RNA, you have to throw a bunch of special chemicals and tools at it. Then you have have to convert the resulting goop into digital data. If you do that all right you will end up with mountains of unsorted data. You then have to process that data by matching it to some reference DNA. After that you have to match that data to databases that contain decades of unformatted research into protein structures. Imagine trying to finish the world’s hardest jigsaw puzzle without the picture on the box. You then solve the puzzle only to find that the pictures is just a collection of random lines and shapes which you have to interpret in a meaningful way. Both of these methods are active areas of research today.

So, once you have slightly cancerous cells in a 3D matrix with probes and sensors sticking out of it alongside gigabytes of processed data, you can then determine whether a cell is dying from the drug you gave it. And that is exactly the first idea that our paper demonstrates: the ability to create a system where you can test a medication on a kidney cell that is more accurate than animal testing would ever be.

Now we (as humans) are in the early stages of this method, and this paper only talks about the efficacy of testing one medication on a single type of kidney cell, but it is a promising start to making more reliable medications at a fraction of the cost and in a portion of the time.

In the next article I will explore how this paper promises to make side-effects a thing of the past, so stay tuned if you are interested!

[1]  My paper on Science!

[2]  I don’t like Elsevier, but here is a link.

[3]  A Chapter of a book on Organ on Chip Technologies

[4]  Peta on Animal Experimentation

[5]  The original paper

[6]  A nice background on Henrietta Lacks

[7]  Population Stratification

Posted by Shaun Regenbaum in Life, News, Tech
The Sea of Web-Dev

The Sea of Web-Dev

A little over a year ago I delved into the sea of web development. And yes, it is a sea, for it is tumultuous. It is unpredictable and confusing, and if you are not careful you can easily get lost. Spending too much time in it will make you seasick, and the even most seaworthy programmers will throw up in a vicious storm.

I could go on with the analogy, because the tools are a ship that can break in this sea, and the wind will come and set any journey astray, no matter how well it was planned. And especially because there is something magical about reaching your destination despite the chaos of the journey.

Yet, an analogy can only take you so far. The story goes like this: Dan Jutan and I have been building a framework for an online Talmud. Why have we been doing this? Because, although the Talmud exists online, it was never built to be online. We wanted to change this, to make learning Talmud online a native experience. We proposed this idea to the LMC department at Georgia Tech, and we got funding. Now we call ourselves the Georgia Tech Jewish Digital Humanities Lab, and we are building a new online Talmud.

It’s all great and wonderful that the university gave two undergraduates money to fund their project, but there was one problem: I didn’t know the first or last thing about web development. And it turns out, making an online Talmud requires web development. So, I learned quickly. HTML was pretty easy to pick up. CSS looked simple, but the more I got to know it, the more I realized it was the devil’s incarnate. And JavaScript, well it’s a love-hate relationship.

I wont go into all the details, but I will point out some of the things I learned:

Never use w3school

Whenever you search for anything related to CSS, you will encounter this website. No matter how good it looks, never go to it. It is a trap, a trap filled with snakes and scorpions. It is inconsistent, outdated, and often wrong. Stick to mozilla. And if you are really looking for something out of the box, csstricks is amazing.

Either start dreaming in rectangles, or let someone else handle the CSS

CSS and HTML works on the principle of rectangles (the box model). Rectangles pushing against each other, stacking on top of each other, swallowing each other, overlapping with each other, or doing whatever else rectangles do (which is a lot more than you think they can do). If you cant fit it together with squares, it wont work with CSS. Letters are not letters, they are small boxes. Round pictures are not round, they are squares with some parts cut out. A monitor is not a screen, it is just a rectangle to hold other rectangles. Everything is rectangular in CSS.

You have to be careful when letting a non-programmer program

This whole project would not be possible without Dan Jutan, and in order to understand this you need to understand our lab’s workflow.

  1. We have a problem we need to solve.
  2. I come up with a janky solution that seems to work 90% of the time.
  3. Dan is not able to read my code because it came out of the dark recesses of my mind.
  4. I rewrite my code to make it readable and now it works 99% of the time.
  5. Dan still cant read my code, but somehow still manages to refactor it.
  6. The problem is now fixed and anyone can read how we did it.

I am not a programmer, nor will I ever be one. I program to solve problems, not to build packages, and I dont expect people to ever read what I write, and if they do, I truly feel sorry for them. So, when it comes to making open source software, it’s usually a smart idea to stick to real programmers, or at the very least have a ‘Dan’ on the team.

Never work on a problem for more than 12 hours in a row

When it comes to a problem, it may seem like one more line of code will fix everything, but we all know it’s not true. Bugs and errors in web-dev fall into two categories: quick fixes, and long torturous roller coasters. If you have spent more than a couple hours on one problem, it’s better to walk away for a little bit and come back with a fresh mind. The alternative is hacking away at the problem for 12 hours, and then not being able to sleep that night because all you can dream about is semicolons and JS documentation.

There are two versions of your website: One for Microsoft, the other for everything else

Microsoft likes being difficult. They implement features that noone wants and leave out features that everyone needs. Don’t even get me started on IE. So, you are going to need to build two versions of your site: one that is the normal one, and one on IE/Edge that just has a link to download chrome.

I could go on and on about my discoveries in the sea of web-dev, and I may write more about my journey. I have navigated the maze of CSS, encountered the most obscure tags in HTML, and have done some pretty wacky things in JS. But, for now this is what I will leave you with:

Web-dev is not a path for the feint of heart, but if you are going to jump in, you have to jump in all the way.

Posted by Shaun Regenbaum in Life, Tech
Re-reediting the Talmud

Re-reediting the Talmud

The Talmud is an old book, going back over 2000 years. Thousands of people over thousands of years have helped write, edit, compose, censor, un-censor, and publish it. They then translated, commented, critiqued, learned, and interpreted it through the publication of thousands more books. There have been more editions and versions of the Talmud that you can possibly record.

Dan Jutan and I wanted to be a part of this long tradition and bring the Talmud into the digital age. The most popular edition of the Talmud is the Vilna Shas, with its famous layout (often referred to as Tzurat Hadaf) being a comfortable companion to anyone reading the Talmud. It is possible to find pdfs and free translations of every page, there are even online interactive tools, but noone has effectively ‘republished’ the Talmud online, making it native to the internet.

That is what we tried to do, but in our journey, we have found that remaking the Talmud online is not as easy as it looks. We have had to rewalk the steps of an editor whose name is no longer remembered. We have had to place ourselves in the shoes of a printer whose press has long since vanished. The story of the Talmud is long and complex, and the intentions and thoughts of the people who found themselves in that story are often lost to history. We have tried our best to reproduce their work, by crafting an algorithm that automatically lays out the Talmud online. We have taken the translators and put their words right on the page. We have allowed the many commentators equal right to the limited space of the page. We hope to give the reader their voice as well. All of this is not simple, and we are still working as there is much work to be done, but I would love to share with you some of the interesting problems that we have encountered on this journey.

In short, we had to take three paragraphs of text and turn it into this:

This may seem like a simple task, but the web is not built for this. Go to any website and you will never find three groups of text wrapped around each other in this way. This only exists in books, not the internet. That was the first problem: we had to create a new method of formatting text that was never meant to be put online.

The second problem we encountered was making sure the text was an accurate reproduction of the text as it is found in the Talmud. This is an extremely hard thing to do as noone who layed out the Talmud ever wrote a guide on their methods. We had to guess and stumble our way through fixing hundreds of problems that arose along the way. Even right now, what we have made is not perfect, but it will be very soon.

The third problem was figuring out how to put more commentaries on the page than there was physical room for. How do you allow the Ran and the Rif alongside Rashi and Tosafot? Well, you let them share the space giving each commentary a turn when the reader desires. We also wanted to fit a translation in, such that it would only be there when the reader needs help. These were all design considerations that had to be made.

The problems go on and on, and for each one we worked on many solutions. We hope that what we have created is a good start to what is to come. Regardless we are proud to present: A fully integrated Talmud that was built for the web (coming soon to a house of study near you).

Posted by Shaun Regenbaum in News, Tech
Batteries and Progress

Batteries and Progress

The world around us is changing rapidly, from machine learning to cryptocurrencies, every new breakthrough claims to be the ‘thing’ that replaces the old, that changes the game, that revolutionizes the economy. Yet, there are only a few things that have made slow but honest progress in the past years, things that really do cause change. For example, the advancements in computing power have been quite predictable for the past decade, but the consequences of this steady growth are widespread. From being able to handle the large amounts of math required for machine learning to dealing with the computations involved with the Blockchain. These slow-growth technologies are the areas to look out for, as they power advancement in many fields besides their own. One such technology that has slowly been changing hundreds of industries from cars to medicine to warfare is the battery:

Despite what some tech blogs may claim, there has been no revolutionary breakthrough in battery technology in the past couple years, there has only been slow and steady progress, and the reason behind this lack of breakthroughs is fascinating. Yet, in order to understand why human ingenuity has not rushed progress with batteries, we must first understand the basics:

When you look at any material, you find that there are properties associated with it: metals are malleable, gems are hard, water is wet. These properties all arise out of what the material is made out of at the most basic level: protons, neutrons, and electrons. Now it is no simple task being able to guess the properties of something based off of what’s inside, but it is important to note that the composition determines how a material acts with other materials. Since all things are made out of the same things, all things interact. Simply by touching something else you are interacting with it at the most fundamental level. The electrons in your hands are mingling with everything around them, often times they simply leave your hand and join the things they touch.

The reason behind this is because all things like to be lazy. It is a universal truth, if there is a possibility for two materials to both get to a lazier state, then they will do so (at least on average). And often times in order for two materials to both get to a lazier state they have to trade with each other. One material will give another some electrons while the other material will give some ‘ions’ (which are just smaller bits of materials that are also made up of protons, neutrons, and electrons). This trade is what we call an interaction. The reason that we care about these interactions is because occasionally we can tap into the stream of electrons going from one material to another and get something amazing out: electricity. So now you see why we may be incentivized to look a little closer and understand what’s really going on. If we can make the interactions big enough, then we can harness the energy that comes with them to power our modern lives.

Yet, this is where the first problem with batteries arise. If we allow a reaction to get too crazy, there is no way for us to harness all the energy at the same time, instead of gathering up all that energy we simply end up making a bomb. But, at the same time we also need a substantial interaction in order to get some energy that makes the effort worth our time. So when it comes to chemical interactions, it is a balancing act between bombs and trickles.

This first problem was solved with some smart engineering and led us to the structure of a battery that we still use today. There are three parts: the anode, cathode, and electrolyte. Simply put, the anode and cathode are two materials that really like to interact with one another, and the electrolyte is a special material that usually prevents them from doing so, but when prompted which actually catalyze the reaction, making it faster and more efficient. It is the control valve of the battery, allowing us to make an interaction worth our while, while also preventing us from making a bomb (but if we break the battery open and reduce the effectiveness of the electrolyte, an explosion is still possible, which is why we can’t bring all batteries onto airplanes).

Components of Cells and Batteries

Now when we connect the anode to the cathode bypassing the electrolyte, we are essentially giving the two materials free rein to interact, so they start trading electrons and ions. The electrons which are initially sent at very high speeds and energies are siphoned off to power our lights and appliances and then returned very slow and tired. The ‘ions’ pass through the electrolyte and keep the reaction going for as long as we can make it. Eventually both materials will get to a lazier state and will no longer have a need to trade electrons and ions, leaving us with no more electricity and a ‘dead’ battery. This is the second problem that batteries bring: attempting to find the best combination of cheap materials that will result in the longest and strongest flow of trade possible.

Yet, as we see today, nobody wants single-use batteries. We want to be able to use a battery again and again, which complicates things. Some very smart scientists found out that if you push energy into the battery in a special way you can actually get the two materials to start trading again in the exact opposite manner, thus ‘undoing’ the reaction leaving the materials at high-energy state ready to trade once again. Thus, in this manner we can recharge some batteries, yet we are not reversing time, and we are not entirely undoing the reaction. In reality, some of the ions interact with the electrolyte in unexpected ways, as all things interact with another, and occasionally an ion will find itself very comfortable in a vey lazy state that we are not able to knock it out of. Thus, with every recharge cycle the battery is degraded as more ions find themselves too comfortable to be knocked back. And this is the third problem of batteries: reducing the degradation of batteries.

As you may be able to guess, these last two problems of finding good combinations of materials and reducing degradation are where nearly all of current battery research is centered. They require a deep understanding of materials science, chemistry and physics at the quantum level to even begin to think about, and even when you can understand the intricacies of the problems, you are no close to solving them. In fact, you may never fully understand the problems because there are so many factors involved with them that it is not even clear where to begin looking.

We can actually dive a little deeper, pretend that we are researchers looking at these problems. Up until this point, we have been thinking about protons, neutrons, and electrons as little objects that form everything and determine how things interact. Yet, when approaching these problems, that picture is inadequate. In fact, it will simply lead you to the wrong conclusions, especially in the computations of the physics behind it all. When trying to look at these problems, researchers have to use wave functions, which are just mathematical shortcuts which lead us to the probabilities of finding an individual particle, such as an electron, somewhere.  Yet when you start looking at the larger picture and having dozens or hundreds of electrons and protons all interacting with one another all with their own wave functions, the math gets complicated. Actually, that is an understatement, the math gets nearly impossible. It is like trying to look at the ocean and make sense of the choppy water. It may seem like there is a pattern, but there is no way to know perfectly how every wave in the ocean was formed. There is simply too much going on: at the beaches people are splashing, there are hurricanes, tsunamis and underwater earthquakes, boats are crossing all over the place, and all the fish in the sea are swimming around causing their own disturbances

Earlier on in the process of research, many scientists tried to use their intuition in order to skip (or lessen) the math. They would test out different materials and see what kind of results they got from experimenting with them. Yet no significant progress has been made through intuition alone for more than thirty years, perhaps longer. Energy density has only improved five-fold in the past two centuries. In the past decade we have improved Lithium-ion batteries only marginally, but not due to any breakthroughs, rather primarily due to improvements in manufacturing and production. Tesla, and companies like it, are really pushing the limits on what we can do with batteries, but developments in research are not keeping up. Most manufacturers are only predicting a twofold increase in energy density in the next decade, meaning batteries will still be far behind fossil fuels for the foreseeable future.

We are still looking for better materials and more efficient methods, yet we are playing a slow guessing game. We plug in random materials into super computers hoping to find a combination whose interactions with one another may prove to be more effective than today’s standards. Many researchers are attempting to stick to Lithium and are attempting to pair it with other more exotic compounds (with some success), while others are experimenting with radically different materials such as graphene and sodium. Yet, there is no clear breakthrough in sight as research keeps trudging along. It is quite troubling to think that intuition and human ingenuity can only take us so far, but it is the sad truth. Things get too complicated for us to wrap out heads around at the atomic scale, so we have to rely on the absurdly complicated maths that we derived over the past century to take us the rest of the way.

In the meantime, companies have to make sacrifices. Tesla is using different types of battery for different purposes. In some of their older cars they used Nickel-Cobalt compounds for increased life-cycles, aka less degradation, while today they are using more classical Lithium-Ion pairs with better energy density, aka better materials. No one has created the perfect battery, thus innovation has filled the gaps where it can, like using ultra-capacitors to output energy at a much faster pace than batteries are capable. Yet despite the widespread claims on the internet of a new super-battery right around the corner, progress is slow, and the research is anything but glamorous. There are many leads to pursue, but we have no clear reason to be hopeful. There has not been a breakthrough in a very long time, so if the past is anything to rely on, we still have quite a lot of ground to cover before batteries can truly overcome the barriers set against them in the automotive and energy storage sectors, among others.

There are many sectors that have and can expect drastic and sudden improvements. Companies are just beginning to take advantage of the data that has been accumulated for the past two decades. The online market is still in its prime for reaching unknown and undiscovered markets. Computer Science is starting to see some amazing breakthroughs with machine learning. Many of these technologies are quick to become trendy catchphrases and words to drop in a conversation to make yourself self-sound intelligent. And many people have tried to shove batteries into that same group, but reality tells us that they are not ‘the next big thing’ any more than they were ten years ago. The only thing that has changed is our fascination with batteries and our willingness to experiment with what they can achieve. Like many of the fundamental technologies today, while things may seem to be moving too quickly to keep up, these technologies are slow to improve. The only things that are truly moving at a pace too rapid to keep up with are the uses of existing technologies that people can dream up and sell to one another. There is a reason we have thousands of the brightest minds working on basic fields like battery technology: the problems are not simple. And no matter how much we want something to revolutionize the way we live, it won’t unless we get innovative with what we already have.

Posted by Shaun Regenbaum in Tech
Whitepaper: Transparent Currency

Whitepaper: Transparent Currency

Disclaimer: This was a whitepaper written around 2017 when Bitcoin was becoming popular. At the time, I jumped into the craze and gave a stab at how I would make my own cryptocurrency. I don’t believe what I wrote is a good idea, but it was carefully thought out and I even made a prototype.

I propose a new cryptocurrency fundamentally different from every other cryptocurrency. We will discuss the advantages, and the purpose behind my proposal later on, but for now I simply want to discuss its practical differences. It is different due to a single reason:

This new currency is not based on a public ledger for transactions between users, but a public record of every coin’s location and history.

To clarify what this means, I want to propose a new structure for the actual currency. To define this structure I will propose two properties that every coin has, that traditional cryptocurrencies lack:

  1. In this cryptocurrency, there is a smallest denomination. The penny is the smallest amount of American currency you can exchange. This smallest denomination exists in many physical currencies, but not in cryptocurrencies. I can split a Bitcoin in however many parts I wish. The term “one bitcoin” is therefore pretty arbitrary, but in this system, you cannot split an amount indefinitely.
  2. Each coin, which is the smallest denomination of the cryptocurrency available, has a history. Meaning, that the coin records every single user that has ever owned it. This creates a path from where the coin came from, to where it went, and where it is now. Whenever a coin is transacted, the new user’s ID is attached onto the history of the coin, increasing its history.

From this property, we can continue to use a Blockchain, which will allow us to preserve the network effect and security intrinsic to Blockchain. We do have to make a couple modifications:

  1. Each block no longer records transactions, rather it records coin histories. Whenever a transaction is made, a coin’s history is updated to include the latest owner. Since it also recorded the previous owner, you can see the transaction within any coin’s history.
  2. Digital Signatures are no longer attached to transactions, but to updated coin histories. In order for someone to steal a coin, they would have to add their identification to the end of a given coin’s history, but a coin’s history cannot be updated, unless the current owner (whose ID is at the end of the coin) signs off on this update.

Seemingly, we have changed the current system very little, but the introduction of a minimum denomination and coin history adds a lot of potentially valuable information to the system.

Previously, your knowledge of where money was coming from was limited to a few factors:

  1. Since there is currently no smallest denomination, the separation between transactions is arbitrary. As soon as money is transferred from one wallet to the other, it loses any unique attachment to the previous owner, it is simply a number added to your wallet. You would not be able to see which of your coins came from the previous owner, because a coin is an arbitrary term.
  2. Due to the arbitrary properties of coins in conventional cryptocurrencies, you were limited to one degree of separation. Any given user who was receiving money could only see who they were receiving it from. If you were to attempt to look any further, you would see every transaction the previous owner was involved with, but you would not be able to identify who the money you now own came from originally.
  3. Due to this limit on degrees of separation, money is completely global in conventional cryptocurrencies. To clarify I want to introduce a case: Let us say that two participants in a network usually only exchange with each other. They keep the public ledger in case they want to trade with other people, but that is rare. Even though these two only trade with each other, their coin is no different that the coin from any other group in the network. This means that groups are hard to define in a network. You can see user’s transactional histories, the frequencies at which any user trades with another, but you cannot define a group as their interaction with the public network erases the group’s unique relationship.
  4. Local ecosystem are completely shut out from the public network. Let us say that one corporation owns a lot of bitcoin, and they do not want to make separate wallets for each department in the corporation, so they make a private network that is based on the current balance of the overall wallet. This allows people to trade money with each other outside of the public network. As soon as one department wants to use some of their designated balance, they have to go through the public wallet. From the perspective of the public network, the local departments do not exist.

Everyone of these points is drastically different in the new system:

  1. Since there is a smallest denomination, the separation between transactions is intrinsic to the identity of the coin. If you look at your wallet, you can differentiate between every single coin that is there. Each coin carries an attachment to every owner it has ever had.
  2. Due to this carried attachment, there is no limit to the degrees of separation. Meaning, that you do not have to look at another user’s transactional histories to see where your money may have come from. You can look at any coin in your wallet and see exactly how it got to your wallet. You can see how the user who paid you got the money and where that user got the money. You can see a coin’s history back to its first owner. This makes coins their own entities separate from any user and decreases the the currency’s reliance on any given user in the network. Money is not tied to one user, it refers to every user.  
    • This also means that various exploits that are used in today’s system such as tumblers would not work in this system as money retains its identity no matter where it is and who has traded it.
  3. Since money is no longer tied to users, smaller ecosystems within the public network can arise. Looking at a coin’s history you can see if it exists primarily between two users or whether it flows throughout the network. Communities can arise within the network that are defined by the frequency of their identity attached to the coins they use. A coin that has only two identities in its history is obviously only important to two users. A coin that has a diverse history is used by a lot of people. Communities are defined by the coins that they use.
  4. Since communities can now exist as defined entities, local ecosystems can exists outside of the public network, while still contributing to the history of the coins they use. In order for this to be true, one modification must be made:  
    • Not only does a coin record every wallet it has been in, you can also include temporary or permanent tags onto a wallet’s identification. This can allow for a temporary display of information for any designated user to see. This designation can be assigned globally thus granting permission to everyone, or to a local community as described earlier. This enables amorphous sub-wallets to be made within a larger wallet. Every department within a corporation that has a wallet can have their own tag attached onto the corporation’s ID. If a department gets disbanded, the tag can disappear without any loss of integrity within the public network. If a new department is formed, a tag can be created without having to hassle with creating its own additional proof of work adjunct to the corporation’s. This allows sub wallets to trade with the public network while also remaining inherently separate from it.

We have discussed the structure of this new cryptocurrency as well as a few of the unique traits that arise from its fundamentally different composition, yet I have failed to tell you the purpose of this cryptocurrency and what it can achieve. This system can be implemented in the real world to solve one of the largest problems plaguing business today, and bring cryptocurrency to the masses. One more addition must be defined before we go on though:

  • In order to derive this new benefit that I will define later, anonymity must be removed from the entire network. This is drastically different to every single cryptocurrency that exists today. Wallets within the network will need to be tied to a real identity such as a person, company, or other legal entities. Anonymity is where other cryptocurrencies have thrived and this is not an attempt to dethrone them, rather, it is a proposition to allow the public to utilize cryptocurrency without sacrificing their identities, and creating a system that will increase the safety of using money for both the average consumer and producer in the market.

This system will also help get rid of fraudulent transactions of every kind. Current cryptocurrencies stop certain forms of fraud such as ‘double-dipping’ (spending the same money twice) or spending money that is not there, yet it does not stop the stealing of money and spending of money by those who it does not belong. If you have the private key of a wallet, you can spend the money of the wallet. The new system will be much more comprehensive because of one assumption:

Knowing where someone’s money comes from, how it has flowed through the market, and who has used it in that past, is an extremely strong indicator of the trustworthiness of that person. It can also forewarn us of irregular activities of a given wallet, leading to early knowledge of fraudulent activity. In the same way that credit scores predict the creditworthiness of someone based on how they pay their bills, what loans they have, etc… knowing the movement of someone’s money gives off information about the situation of a certain user.

This assumption along with the new system, and the complete transparency is bound to create a fraud-free environment that ensures both consumer and producers that they are doing business securely without fear of scams, fraud, etc…

There are three ways to implement this system, each has it’s own pros and cons:

  1. You could do it the way cryptocurrencies do it today where the value is determined by the market and it therefore would fluctuate and operate as its own currency.
  2. You could tie the coin’s value to a given physical currency (i.e. American Dollar) and thus it would be more resilient to fluctuations and would be another method to use the real physical currency. This would also provide the cryptocurrency with backed value. In this case another interesting property arises. You would have the ability (if decided in the beginning stages of setting up the network) to destroy currency. Since it would be reliant on a real currency, you would have no obligation to preserve the balance of the economy.
  3. Finally you could provide an entirely different value on the coin based on its history. This would also be determined according to market demand, but it’s basis would be that certain coins have more ‘reliable’ histories. Reliable coins, that have little risk associated with them, would have a higher market value. This would mean that each coin carries a value unique to it’s history. This could be implemented in a number of other ways: base value plus added value, discounts for credible coin, etc…

The big question that remains before we go into the technical details is whether the benefits of this cryptocurrency are great enough for it to be worth it for people (and companies) to transition. We have looked at a couple of the obvious technical benefits, but we need to simplify them into tangible and understandable ‘pros’ of the system. There are two groups of users that  could benefit from the system, the consumer and the producers, and each group has their own set of selling points. For the consumer:

  1. This system will allow an easy and smarter way to transfer money.  
    • Any two users  can transfer money without paying large transfer fees, dealing with laws and regulations limiting transfers, and being forced to succumb to inflated exchange rates for different currencies.  
    • The record of transfer will be clear and provable without doubt, no matter where the money ends up. Transfers are secure, immutable, and never lost.  
    • Conditions can be set up on the transfer such as limiting when the receiving user can withdraw the money, where that user can spend it, and even greater conditions such as limiting the coin’s use until the previous owner approves. This can be extremely valuable to a variety of users, without interfering with the larger network. (This is a point partially separate from the properties described above. Each coin having its own identity means you can place restrictions on only the money a given user is transferring, but additional framework will be needed to allow (temporary) restrictions to be applied to a coin.)
  2. Users can be confident while spending, donating, investing, or generally using money.  
    • The system will allow users to be confident that they are doing business transactions with reputable and reliable second parties. Knowing how money flows through the second-party will help users determine (through created algorithms to simplify the analyzing of coin histories) whether it is a safe or risky transaction.  
    • Not only will users be confident in who you are doing business with, but also who they are donating or investing with. Users can have full trust in those they are trusting with their money. This is because you can track how the non-profit organizations and investment firms are spending your money and where. Using this system creates a transparent environment that can allow users to trust again in a world full of fraud.  
  3. The longer users stay within the network the higher confidence third-parties have in them.  
    • This at first does not seem like a consumer benefit,  but producers will most likely be more than happy to incentive trustworthy consumers to shop with them by providing better deals or sales to highly credible users. If a given user gets their money from reliable sources, has a consistent source of money, allows their money to flow throughout the market, and avoids any form of sketchy, shady, or fraudulent, behavior, then producers can be sure that  they are dealing with authentic customers with no risk of future loss. Confident producers leads to an improved, easier, and perhaps cheaper experience for consumers.
  4. Users have the ability to create sub wallets.  
    • This applies for both large corporations and individuals. They can create sub wallets that they have authoritative supervision and control over, while also enabling full or limited interaction with the larger network. They can choose to make the sub-wallets private or they can make them public subnodes in the network. Either way this allows money to move around locally without physically moving around money in the larger network.

For the producers:

  1. Producers can have higher confidence in potential customers  
    • Since businesses can see the coin record of a given user’s wallet, it allows them to predict (with provided or built algorithms) whether or not to trust a given user. If their record looks reliable, producers have a low risk of dealing with fraud. Reducing this risk can save companies billions of dollars every year.  
    • Since the network is open, producers can easily tell whether a certain customer has shopped there before. Even though companies already know this by looking at their own records, it is now built into the system which means that no errors can be made in a  customer’s history. Knowing whether someone has shopped at you before can give you assurance that the customer is most likely reliable.  
    • The system also allows companies to spot fraud extremely early. If they see that a returned customer (or any customer) recently has had a lot of suspicious activity or abnormal transactions surrounding their wallets, producers can determine that although the user may be trustworthy, someone has hacked their wallet deeming them now unreliable. They can retain a cautious stance until normal activity resumes in the customer’s wallet.
  2. From a marketing and data point of view, this system can help producers identify who their market base is and where they are.  
    • Since coin records are open, producers can tell where existing customers are spending money elsewhere giving them information as to where expansion is viable.                     
    • Producers can also see if potential customers are spending money at a competitor and market directly towards the ideal future customer.  
    • Building brand loyalty is much easier as you can create personalized campaigns for customers based on their activity in the network, this gives them the means to fight off competitors attempting to poach customers.
  3. Transactions on the network may be able to avoid many burdensome and tiresome legalities. Since it is a cryptocurrency, there is a clean slate for companies to build on with fair, open, and mutually beneficial practices between producers and consumers.

We have only begun to discuss the advantages for participants in the network, but there are also clear disadvantages:

  1. Everyone in the network is giving up a certain level of privacy.  
    • Where you shop, spend money, and interact with in an economic sense is open knowledge. This can be a big sacrifice to make for any users, whether they are a corporation or an individual. In the long run it may be beneficial for everyone, but it is hard to accept this level of openness, even if a user has nothing to hide.  
      • Not all privacy is given up, people can only see parent level details, i.e. where you shop, but not exactly what you are buying.
  2. There are no clear returns on investment  
    • The only clear benefit is a more open and confident community, but keeping money in this system would not clearly give you interest over time. This would mainly be an account for actively spent amounts of money, but not investments.

I have proposed the system and some of its benefits, although there are many undiscussed aspects that I have yet to think of or explore, but it is time to get into some of the more technical aspects.

I would imagine, as I have hinted above, that this system exist on a blockchain. I will not explain in detail how a blockchain works as there are hundreds of great and detailed explanations on the web, but I will explain some basic points. A blockchain is, at its most basic level, a public document that records events. For Bitcoin, it is a public ledger that records all transactions. Our system would populate its ledger with all the coin histories that exist in the system. Other than this, it would be exactly the same as a normal blockchain. It would use SHA-256 or SHA-512 to create a chain of blocks connected to each other (and allow for proof-of-work), and would use some sort of decentralized network to take advantage of the network effect, immutability of incoming blocks, among other noted advantages over a fully private network. Despite this, I see immense value in created something I wish to call a ‘weighted blockchain’.

This is mostly irrelevant to the main concept, but a weighted blockchain would allow a central power to exist in conjunction with a decentralized network in the following manner: each node in the network would have equal say in what block to accept into the chain , except for one central node. For arguments sake, let us say that the central node controls 30% of the vote for whether or not to accept a new block into the chain. The rest of the network controls 70% of the vote. In order for a new block to be attached onto the official chain, 51% of the vote is required to anonymously choose one block (if there are two options). This means that there are two ways in which a block can be accepted as the official block:

  • The centralized node can vote yes which automatically provides 30% of the vote. This would require at least 30% of the community to also vote yes (.3 x 70% = 21% + 30% = 51%).
  • The centralized node votes no which means we still need 51% more for the block to pass. This can still be achieved if approximately 72.8% of the community votes yes (.728 x 70% = 51%).

This would mean that if someone were to attempt to force a block through it would still require an immense out of work to fool the blockchain. If they fool the centralized node, then they still have to fool 30% of the rest of the network. If they do not fool the centralized node, then they have to convince over 70% of the network, a number pretty infeasible (they might as well control the network at that point). This shows that a weighted block chain can still take advantage of the security of the blockchain while allowing a central authority to monitor the network. There are many reasons as to why you would want a central authority, that I will not discuss not for time’s sake. Personally, it would enable me (the central authority) to influence the direction that the network grows in keeping it fair, transparent, and providing it the proper framework to become something that helps further the world.

The obvious question is how to create a centralized node within a blockchain. A blockchain’s security comes from the agreement of the majority in the network, so to enable a weighted blockchain we would have to change the structure of the blockchain. There are a number of ways to achieve this:

  1. We could rely on the fact that the centralized node would be the most influential in the network by having the most involvement in creating blocks. If  a single party owned thirty percent of the network, they can be considered a centralized node, but that is a very fragile state to be in as the network grows, the centralized node would need to continuously increase its computing power and presence.     
  2. Today, people are incentivized to invest computing power into the network by being rewarded with transaction fees and the introduction of new coins in the network. To keep a centralized node, you could reduce these incentives to make sure that people would have no desire to overtake a centralized node in terms of influence. This also reduces the potential and security of the network, so it is not the perfect solution.
  3. This involves eliminating free access to the blockchain. Not anyone can enter the blockchain, you must be verified to be ‘real’ and transparent. If the central power (node) controlled whether a given node was accepted into the network, then it could retain its 30% influence by creating arbitrary subnodes that copy the behavior of the central node. As the network grows larger the central node does too by introducing nodes that are exact copies of it. So to get all the subnodes to accept a block you need to get the central block to accept the block. This also fits within our transparent theme as we do not want anybody being allowed into the network, only nodes that have given up their anonymity and have attached themselves to a real identity.

This system has the potential to be the cryptocurrency that truly is the ‘future of money’.  

  1. It allows you to add larger amounts of data to more defined sets of money that can find uses in contracts, payments, information storage, and much more.
  2. The system becomes more trustworthy and valuable as the network scales and money is traded. Conventional cryptocurrencies only becomes slightly more reliable with the introduction of more nodes.
  3. It is harder to fake a block and let it be accepted into the network because:           
    • For a given amount of money that you want to claim you have, you have to fake the signature of every coin in that amount, which gets harder and harder for larger amounts.  
    • This system makes it faster to spot fake blocks (or forks) as you can determine if individuals coins are going against normal behavior and if they are remaining stagnant in the network for more than a couple blocks.
  4. It is impossible to use various exploits present in current cryptocurrencies such as tumblers. Since money is traceable, its identity will remain no matter where you send it.
  5. The masses have tangible benefit from a transparent economy as they can have more trust in using their money.
  6. Producers can also have higher levels of trust in a transparent economy, and will have massive amounts of data to work with that will enable them to connect to their customers on a level never before seen.
  7. Governments will see reduced levels of fraud in a transparent economy allowing them to receive appropriate amounts of taxes (etc…) and enabling them to understand how the economy works to a greater extent.      
  8. It has the capability of being the perfect economy long term.   
  9. Among other potential advantages and features.          

Additional Information:

I have just read an article about how blockchain is not scalable. This system also allows a greater degree of scalability, because you can create an indefinite amount of sub wallets within a larger node, meaning you can have tons of users even though not everyone records every updated coin history. This may be an extremely critical feature as it can allow for the system to encompass an extremely large amount of people without needing an equivalent amount of computing power.

  • You can have a system that is both secure with a decent amount of nodes, but also flexible in allowing more users without increasing computing power.

This is my paper on a transparent and traceable cryptocurrency. I am sure that I am missing out on a few big points and have not explored a lot of aspects of the system, but I believe that it will give the reader an idea of what the system is and how it works. I hope that my explanations and thoughts were clear. This is the cryptocurrency of the people, a cryptocurrency that has the capability of being the way people spend money in the future. The technical details are in another paper that is being written up at the moment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Posted by Shaun Regenbaum in Tech
Electronic Texture

Electronic Texture

Disclaimer: This was the culmination of a series of thoughts in 2016 that led me to think about what it would take to send textures over the internet. What is written is not comprehensive, backed by evidence, or even true. Yet, it is left here as a testament to my willingness to explore the ideas in my head no matter how outlandish they may be. I also like the artwork, and it would be a shame for it to go to waste!

We can electronically send sounds, words, images, videos, and many more types of information. Combinations of these data types can create a convincing reality whether it is simple a video or a whole world to be experienced through VR, but there are still many forms of data that we have yet to be able to send electronically such as smell and texture. The problem is that we do not know how to convert these ideas into electrical signals that are easily transferable between devices and then reconverted back using hardware.

Continue reading →
Posted by Shaun Regenbaum in Tech, 0 comments
Whitepaper: Decentralized Encryption

Whitepaper: Decentralized Encryption

Disclaimer: This white-paper is an older idea of mine that I wrote when exploring the field of encryption around 2015. It has some wrong notions of modern encryption, and is not meant to represent my current thoughts or opinions. Beyond this, it is not written clearly or intuitively, thus is probably unreadable. It will remain on this site for two reasons: One, it can act as a testament to the fact that I tried to come up with original ideas, even when I was not fully equipped to tackle the problem space. Two, I like the artwork I made.

The goal of encryption is for one user to send a message to another user without anyone else being able to understand the message.

The way we do encryption today is using the public key method. This involves two keys: the public key and the private key.

The user who is sending something has the public key, and the user who is receiving the data has the private key.

Continue reading →
Posted by Shaun Regenbaum in Tech, 0 comments