Better HN
topnewbestaskshowjobs
Log inSign up

sumtechguy

2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions

Submissions

comment 4y ago · link · parent

Rather detail a car sometimes than deal with Jira.

comment 4y ago · link · parent

I find most languages are fairly simple. The std lib that goes along with them on the other hand... Those are the monsters in the room. Take java for example. Do you think java is verbose because it is java? Or is it because of the libraries you use?

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

Another reason is market segmentation. This model has xyz, but for 50 more you can have one that does this cool thing. Even though the hardware is there. Pretty much all of the large OEM's do this. In the micro economics world it is called 'perfect pricing'. Basically segmenting your product enough and putting the prices at the right spot so everyone wants to buy along curve. In practice it is harder to do than that. So you get weird bits of hardware that can do things but are fused out. Car manufactures are trying to do this with 'rent your heated seats' kind of things. On the back end it simplifies what you buy into your pipeline and you control it with software.

comment 4y ago · link · parent

22 + 12 + 3 + 5 + 10 + 7 Those are my percentages of 'tax/insurance'. Which contains must carry insurance and called by the supreme court as a tax as argued by the DoJ. Three of them contain 'hidden' taxes or as your boss's accountant puts it, 'your total compensation'. That is about ~60% of my incoming going towards 'taxes'. That is just for me where I live and my income level. I also am leaving out some others. In some states that number is more along the lines of 70-75% of your total income. We also play games with the Laffer curve so it is harder for anyone to really know what is going on.

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

That our minds skip many things is decently well known. The entire field of magic and marketing is basically doing that to people. People wildly make assumptions all the time, and do not necessarily see it all. If you can get someone to assume something or get to a base emotion it is easier to show someone something that is wrong and they will believe it.

comment 4y ago · link · parent

That is US federal taxes. Now go grab your check and see how much you are paying in taxes that are not called that. Then remember you also pay taxes when you buy things too. Also remember your must carry insurance (3 of those). Also in some cases just for owning something. Plus state and local. My theory is We did not really lower taxes that much. We just itemized the bill to make it look smaller.

comment 4y ago · link · parent

it feels that way already. Many arguments (if you get into them) can many times just be how well both sides can google something to back them up. At that point you are just arguing with google plus suggestions?

comment 4y ago · link · parent

keep going... (source: old wince sdk survivor)

comment 4y ago · link · parent

'sometimes we check it into sourcesafe' in 2018...

comment 4y ago · link · parent

I like that every windows exe/dll still have the MZ on the front. Also a working DOS program there in the first hundred bytes which is pretty much a program to say 'hey run this in windows'. As the real windows header is 100 bytes in.

comment 4y ago · link · parent

Think sony had something similar to this in the ps3 era? Or I am remembering it wrong.

comment 4y ago · link · parent

Then not hobble who can run powershell scripts out of the box. Which makes it seem like a dangerous tool. Then no one wants to use it. Some form of powershell has been there since win7. Yet in one of the versions they decided 'oh only admins can use this unless you run this special command'. So it makes me have to revert to using CMD scripts for some simple things. Because I do not want to have to walk whoever it is thru enabling powershell.

comment 4y ago · link · parent

There are several issues with open sourcing anything.

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

I have made that same mistake a few times myself.

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

Laptop quality is wildly all over the place. From 'that thing is a tank' to 'the ink on the keys is coming off, and the trackpad does not work right'. QA is garbage for most of these laptops. They should be fairly dialed in at this point how to make decent ones. But not really. The ergonomics of most is junk. From poor flex on the screen and keyboard, junk keys, touchpads that are too big and impossible to not rest your palm on, to weird hot spots from poor thermal management. Most of the screens are decent though now. For a long time they were fairly crappy. But yeah if you are using a laptop older than 5-8 years. It is time to start thinking about a new one. I just recently updated my 10 year old one to something fairly new. It was night and day on performance.

comment 4y ago · link · parent

This is true too. You can bring some interesting skills to play and be valuable. But you have to watch out for this 'i do not want to learn that tech' going on. They will do everything to not work on that thing, and not learn that tech, and bring your name up every opportunity for when that work needs to be done. It does make you valuable in an odd way. But you can quickly find all you do is the things they do not want to do, and they pad out their resume for whatever new cool tech is coming up.

comment 4y ago · link · parent

Being pegged as the 'xyz guy' for any tech in your group is usually a bad idea. Instead of taking on tasks that should be trivial for someone to do, they shuffle it off to you because you 'know xyz'. I have 3 techs I never speak of to others because of that very reason. They are not necessarily dead end techs. But something others do not want to ever learn while they do 'real work'. I have taken to 'spread the wealth' type tasks for others in the group. I will not necessarily be in the group even next week...

comment 4y ago · link · parent

Long term it is wildly affordable. 0$ rent is way better than some of the rents I have been seeing lately. Owning property and renting it out is a nice 'gig' if you are into that sort of thing. But if you have 5 properties and one bad tenet they can wipe out 2 years of ROI very quickly (had family members this happened to).

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

Potential value is the key term here.

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

This depends on your local market. Where I used to live I saw a sideways on my home price for nearly a decade. I watched other larger markets going up YoY. Your market conditions will probably be different than others.

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

http://www.americantable.org/2012/07/how-bacon-and-eggs-beca...

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

I was tempted to just walk over and hand him one of my old ones that covered the apt easily... But they moved out and problem solved itself.

comment 4y ago · link · parent

One of my neighbors put in 8 access points for about 1000sqft. Swamped everyone else out. That is what unfortunately will happen. :(

comment 4y ago · link · parent

The vid even shows what set of instructions this 'mode' would break. Very nicely done.

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

Javascript is so good we hide it with transpilers so we do not have to use it.

comment 4y ago · link · parent

There is that also a matter of economics too.

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

That seems to happen to some people. The longer they use it the bigger the jerk they become. My theory is it triggers you to be on high alert all the time so all the slights most people shrug off, do not get shrugged off and they slowly become a jerk.

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

That is what it strikes me as. But even large companies can play this game. One I worked at had a fairly sweet pension plan. The catch was you had to work there 30 years. It was pointed out to me when I had been there about 2 years that at about 29.5 they would let someone go then re-hire as contractor. It was usually 2-3 people in the building I worked in, per year, and was for them considered a small facility of 'only' 200 people. In the time I was there only one guy made it to 30 and he was an upper manager. My takeaway on that was take care of yourself and your money. Do not depend on 'bonus' items like that.

comment 4y ago · link · parent

I used a few different compilers for C in one project. Ended up at memcpy and byteswaping to get data between different instances of the code correctly (some ARM, mips, and x86, and each of those can set the byte order). Using a union is possible if it supports packing and the bytes happen to be in the same order and the compiler keeps the struct in the same order. I found that is not true of all compilers, by default. Massively annoyed having to rewrite about 50 file writes/reads that were nice and simple with massive memcpy cascades. Inside the same code on the same compiler you can get away with a lot of things. But port to another arch or try to get bin data out of your program into another (good luck). These days there are realistically 4 compilers people use and they tend to behave mostly the same, also nice libs that do most of this for you. That was the same project I learned not all printf's are created equal. Different CRTs do very different things even in the same compiler family. There is a reason everyone decided to use json and xml to transport data. Because of that mess.

comment 4y ago · link · parent

What was also kind of cool is each manufacture had their own 'note' as it were. You could tell the diff between a maxtor or a connner.
1
313233
59