2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions
comment 4y ago · link · parent
When you boil code down to its bare essentials it is moving stuff from one part of memory with a possible transform to another. C does that exceedingly well and gets out of the way. However, the heavy price we pay for that is low type/bounds checking. Pretty much all other languages have tried to get the 'get out the way of part' but with type checking. Rust has taken the approach of you ask for memory and it is tracked at compile time. Not a bad idea. But it seems to trip some people up. Especially if you do not 'get' the idea of object/memory ownership. Which is something you have to do manually in C/C++. C++ has started to put wrappers around all this junk which helps.
comment 4y ago · link · parent
comment 4y ago · link · parent
My argument is we itemized the bill. All of the individual items look lower. Because we broke them out. The whole number is about the same. I would argue that some are too low for our spend rate but that is a different argument.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Ownership is the first one. Who owns the code. Take something recent done with an unreal engine. Who owns that code? Most opensource licenses are very clear on who owns it as they are using copyright and contract law to back it up. The bits the dev added clearly are the studios code. But what about unreal that is fairly clearly not theirs to decide on. Then plugins they buy, those companies may or may not want to open source their code as that is what they sell to stay in business. You could make a case 'what about that 25 year old game'. Well that is interesting too as you still have to get owner approval. Yet the owner may not even know they own it. As the legal bits were long ago forgotten in some lawyers bottom filling drawer. Or for that matter want to pay someone to fixup that legal mess.
That is assuming they even still have the code. When a company goes into 'sell everything' mode. They are not always very careful to keep that sort of thing around. They care more about 'these 20 chairs can get me 50 bucks a piece, and there are 30 computers worth 200 each' not what is on them. Most of the old code dumps we have access too are from companies that did care or someone who pack ratted it away in their desk drawer at home, or someone was sloppy with their security.
Then on top of that. Many times before 2000 there was no real source control. Some companies did it. But many did not bother. It was a folder on 'jims' computer that was the golden copy. Then there is the idea of heritage. You made a game. But you made 6 games since then, each one building on the previous one. Would giving out that code mess you up somehow today?
There are also those who can do all of those things. They just do not want to. This is the thing they sell. They are not going to give it away, at all.
comment 4y ago · link · parent
It comes from a natural inclination of I want something to expire some period from now.
The natural way is to say what time is it now. Figure out what time you want to expire with a date add. Then busy wait until that time expires using some form of gettime. The very big assumption you make is that the gettime methods always move forward. They dont.
This bug is easy to make thinking you are treating a wait item as a calendar event. Its not. You need to find something to busy wait on, that always counts up. Do not use the system clock. Also pick something that counts at a known fixed rate. Not all counters are equal. Some can skew by large margins after an hour and triggering when you do not expect. Which makes people want to reach for the system clock again. If you somehow decide 'i will use the clock' be prepared for some pain of the dozens of different ways that fails.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Holding value is also not necessarily a bad thing. You want a pyramid of investments. With your base being solid boring things. Then once you have those nicely going. Risk is not really that risky. It is not 'i am not going to eat today' it is 'darn lost that investment life goes on'.
It depends on the risk model you are making. My current one involves keeping a house and then using the money I would use for rent as investments. Think of whatever you are renting or your payment per month is. Now think of what could you do with that extra amount of money per month. I have had hundreds of people tell me the same thing. That there are these great investments out there where I could turn the value of a house into 1500-2000 a month with low work. Yet no one points them out. They 'are out there'.
My risk model is zero debt and no rent. Giving money to other people for borrowing is a risk model I used when I was younger. I no longer do that. It is like getting a 50% raise on the same income.
comment 4y ago · link · parent
Or as a old saying says "a bird in the hand is worth two in the bush". I am well into 7 figures on wealth instead of low to mid six figures in debt. You can play debt in that way. But it is risky and has lead many to ruin. However I traded debt for a reliable income at a fixed pace that was well above my spend level. I curb stomped all of my debt own a nice house, nice car and paid for with no debt. Debt is thief of your future potential. Debt can be used for that sort of thing but you have to use it extremely carefully. Most people dont. I was not among the gifted of picking the right things to invest in. I also know to almost the penny the potential I lost. Because hindsight is 20/20. It is nearly identical to what I have. Because I basically became the lender instead of the borrower. Debt is now a tool for me instead of a worry.
comment 4y ago · link · parent
My parents bought a house in the early 70s. They paid about 12,000 for it. That same house now is being appraised at about 210k. However, if they sold they could take that money and buy a comparable house for about 210k. Housing is a good hedge for inflation. It is a mediocre investment vehicle, unless you happen to win the live somewhere where supply is not where it needs to be lottery.
I bought my house and paid for it as quick as I could. The saving on the rent alone was worth it to me in my area vs the cost of the house.
comment 4y ago · link · parent
Basically it is a sales technique. You want to sell X that does Y which fixes Z. Well turns out Z does something that can be used to emotionally manipulate people. If it does not directly emotionally manipulate them you can craft a story so it does. So you start putting out puff pieces about the dangers of Z. How it is killing you, your children will be worse off etc. Even better if you can get news stations to pick it up (easier than you would think). Then you start a second round showing you doing Y fixes Z. Then you introduce X the fix all that does Y and cures Z.
Do not think this method is effective? We eat bacon for breakfast and an entire generation of women took up smoking because they thought it empowered them. This 3 step sales method is used every day in many goods and political narratives. It is not 100% effective but when it works it is stunning in its effectiveness.
You are seeing this method in action. Once pointed out it is totally obvious it is happening. But most of these sorts of campaigns are not obvious unless you are well versed in the particular field they are selling into.
comment 4y ago · link · parent
Sounds like he is a good EE but was a bit frustrated with the growth of his channel numbers. Think his audience will give him a freebee this one time but do it again and they will nope out.
comment 4y ago · link · parent
For example take the iPhone. All the bits for an iPhone were in place easily 10 years before that. Yet we did not have it. It took breaking the idea of paying 40 bucks a megabyte, or before that some amount of money per min to talk on land line and over the air. Once those two things were 'gone' we got what we consider a modern cell phone. Sometimes it means taking away things so others can move into their place. In my example the economics of running a phone company had to change before an innovation could happen.
comment 4y ago · link · parent
The downsides to many of these drugs is we have scant data on long term use because they are forbidden so the study of it is low. So we end up with a lot of anecdotal data (both for and against).
comment 4y ago · link · parent
comment 4y ago · link · parent