2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions
comment 5y ago · link · parent
One project I used a compromised stride alg. Basically if it every had to double create one of the strides it doubled the stride from then on. So it would say start 'cold' at allocating 4 bytes (you get 4, 8 or 16, usually at the bottom anyway). Then when you have to allocate 2 blocks in a row to fulfill you double the stride for the next time (which is coming in on the next tick of the for loop). It was not perfect but it also did not balloon the memory wildly out. This was because of the way the incoming data was structured. But gave a decent hidden average of size. It ended up very nicely between O(n^2) and O(n). Both speed and size wise.
This is why I have the fancy CS degree. To know the trade off between runtime and space usage. If you blindly pick algs you will have a 'bad time'. Sometimes space is of consideration (you have 256k total in your box), sometimes speed is a consideration (I need this to finish in 3ms). Pick one alg over the other and you can have a bad time in some cases.
comment 5y ago · link · parent
comment 5y ago · link · parent
What many do not realize is the 'build your own' is going on (I can name at least 4 YT replacements, some better than others). But they are dismissing them with the same reasons they are kicking the creators off the 'mainstream' sites. So you see a lot of YT refugees and many existing YT creators 'splitting the difference' basically they upload it to both YT and several other sites. There is almost zero downside in doing so really.
Eventually someone will click it all together in the right way and create a decentralized uncensorable thing. At that point the internet will become a lot more like 4chan.
The old adage is 'the internet sees censorship as damage and routes around it'. It just does not happen overnight though.
comment 5y ago · link · parent
They are targeting older people who maybe let their spouse take everything and that spouse is dead.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Every group though would go though the 'you are spying on me' to 'love it'. Recover 1 or 2 stolen loads and suddenly that entire terminal would love the thing. Also at the time electronic logs let most drivers get a pass from the cops. The cops would take one look at it and nope out. I doubt it is that way anymore. Most of the time we encouraged the dispatchers to look for deviation of norm and encourage the drivers to note it (most systems have this built in) and it is in the law anyway even when you had to do it by hand. Mostly it caught that one group of dudes who had particular strip joints they would swing by on the clock. Which was a more of 'dont care you go, but I am not paying for it'. This usually made them even more mad. Mostly because of embarrassment, and the loss of income. Your idea of 'average it out' is exactly how it used to be done (and is still in some cases). But the thing is LTL, short, long haul has razor thin margins. If your average is higher than someone else's they will beat you out in the end. You add in more tracking (because your competitor will) as you need to find those spots where the average is not right and skewed because of years of doing it a different way.
If you have dispatchers getting mad for a 20 min deviation then the dispatcher is using the system wrong. The proper way to correct that is for the drivers to talk to them and use the built in messaging systems. If that does not work, document it and take it up with his boss or the shop steward. The dispatcher is probably hot because he had to pay OT to 3 other guys who should have clocked out 2 hours ago because you are late and now they left and no one to unload your stuff. His boss is mad at him because he is 6% overbudget again this month. All because some DOT guy in another state is 6 weeks behind doing their job and has half the interstate down to 1 lane for 30 miles.
Given all of that. I would never be a driver. It is a low trust environment... Hence the tracking.
comment 5y ago · link · parent
comment 5y ago · link · parent
The other problem for music is 4 fold. 1) many people use 'radio' basically spotify or some streaming service like it. 2) Most people buy songs not albums 3) many times people 'age out'. 4) I can choose from a catalog that is decades old all of the previous years of top 100s and get something good to listen to.
Now there are exceptions where there are collectors in that they must buy everything. But most people are not collectors they are renters or listeners. Many people just want that one song they like and maybe a couple of others. So you can not make 10-15 off them, you make maybe 1-2 dollars, and depending on your contract much less. Also people 'age out'. For example most of the artists I like most are 'done'. They have either disbanded or just not making anything new and going on concert sales. I also have little interest in newer stuff (because I no longer have the inclination or time to devote to it that I used to). Sure I buy a bit here and there or listen to something from streaming but nothing like what I used to do and own hundreds of CDs.
comment 5y ago · link · parent
All of that because Intel is having trouble moving to 11nm. All of their features were tied to that node process (tick tock). It is why we are seeing Intel back features from the 11nm node back up to 14. As their competitors are not sitting on 2017 tech and milking it. They are moving to the new stuff. xPoint was interesting 5 years ago. When they could make a 128GB stick for half the price of DRAM one. But they did not have the pins on the chip to support the larger workloads. DRAM caught up in size to overcome it. They have them now. But now that config is not as interesting.
comment 5y ago · link · parent
ARM is more of a tool kit to build different purpose built computers (you even see them show up in usb sticks). While x86 is particular ISA that has a long history behind it. So you may see something like 'Amazon builds its own ARM computers'. That means they spun their own boards, built their own toolchains (more likely recompiled existing ones), and probably have their own OS distro to match. Each one of those is a fairly large endeavor to do. When you see something like 'Amazon builds its own x86 boards', they have shaved out the other two parts of that and are focusing on hardware. That they are building their own means they see the value in owning the whole stack. Also if you have your own distro means you usually have to 'own' building the whole thing. So I can go grab an x86 gcc stack from my repo provider. They will need to act as the repo owner and build it themselves and keep up with the patches. Depending on what has been added that can be quite the task all by itself.
comment 5y ago · link · parent
comment 5y ago · link · parent
Now 6 mil sounds like a lot (it is). But it is also easy to get in a habit of 'not worrying about money'. It sounds like she is setting herself up for that too (the cheese thing). It is ok to splurge but doing it every time and you will quickly find that money depleting. One lady I know got 15,000. In her social circles that was life changing. Along the lines of not worrying about many bills for a few years. It was gone in 3 weeks. I also feel that ladies assessment of wealth managers. Many are fairly weak at it.
My advice to the young new millionaire. Do nothing yet. Finding people to help manage your new burden is going to take time. Also watch out for the richer sharks. Many of them realized the best place to get money is from the newly rich with schemes of investing. Many investment advisors seem really fixated on what % of your money they are going to get per year. All the while telling you how they will grow it. Then drop you into index funds (that they get a kickback on). You could also think 'i know i will donate it' well that is an option. But take the time and evaluate them like the wealth management people. You will find the same people there. Ask around wait and see, do not let the money burn a hole in your pocket, evaluate. The best way to grow your own wealth and help out is to build things. Start a business. Maybe become a landlord that specializes in low income? Help create jobs in that segment? Instead of dumping it into some wealth management fund who is trying to build yet another 5k per unit per month condo building. Creating jobs and helping people level up is the best thing you can do with your money social wise. Giving it to someone else and hoping they get it right may or may not work.
comment 5y ago · link · parent
comment 5y ago · link · parent
If you look at what most graphic pipelines for 1 pixel the amount of calculations for that 1 pixel is not very much maybe a few dozen instructions. But at 1080 that is a lot more (about 2million times more). GPUs are exceedingly good at doing semi small programs over and over across 2000+ compute units. At best in a CPU you may get 64 if you have a super nice top of the line CPU (reality is 2 or 4). The graphs where that change over happens is going to vary considerably across workloads and instructions used. In most cases currently it heavily favors the GPU. Throw in branching or something like that and CPU might become more favorable. But you still have to try it out.
In the case of this article. They are using hashing/caching which, yeah, should produce a fairly nice speedup. Basically the old speedup trick of do the work once and keep the result. But that probably might not translate very nicely GPU. Oh you could get it to run but it may not be as performant. In the game world it would be like what we used to do with sin/cos and just have a lookup table instead of calling the instruction. We just precalled it and had a copy laying around in an array for the most common cases. So it was just a memory lookup and very little compute and keeping the cached result. BUT that does come at a cost if you have to branch on miss.
Now if you could combine the two ideas. Maybe with some sort of mask to the GPU to say 'do not do any work here as it is done already and work on something else' and pre fill stuff in this could be an even more interesting idea.
comment 5y ago · link · parent
I noticed this even back when phonebooks were a thing that a 'private' number was not something random people should call. Yet the reality is that number is kind of public but not. If you did accidently call one you would get 'how did you get this number' from the person you called.
Judging by the amount of phone calls I get these days. They have also already correlated a huge number of these. Short of me changing my number every few years there is not much I can do. I am getting cold calls on property I bought 20+ years ago and them asking if I want to sell.
At the bottom of this though is the 'data' these companies are scouring on us. Then cross correlating it. I have for the past few years come to the conclusion data is harmful to keep for both the end users and the companies that do it. Companies like google and fb seem to be of a very different opinion. Companies should be going into collecting data with 'how do we get rid of it after some period of time', not lets buy more HD to keep it on.
comment 5y ago · link · parent
comment 5y ago · link · parent
Wealthy people do not take out mortgages. They borrow cash against their existing wealth. They then buy things with that. Then pay back against the loan. Writing it off too (as per tax law). The 'rich' have sold everyone a bill of goods how they are redoing the tax system for 'the people'. When the reality is they are writing a bunch more exemptions for themselves.
You can do the same thing. Many people when they figure it out 'level up'.
comment 5y ago · link · parent
comment 5y ago · link · parent
ID3v2.4 fixes many of the issues. But very few progs use it or default to 2.3. Plus the way an album can be sliced and diced for metadata is truly breathtaking.
Then add into that some of these programs try to use some form of acoustic id to try to find where it belongs. Which does what you are talking about. So you resort to setting the file read only so the program will not mess with the tags.
Then on top of that many of the online sources can be in bad shape for bands or releases. AC/DC is most certainly not alternative. But it is tagged that way in some databases. So data quality goes all the way from 'someone spent a lot of time getting this right' to 'someone uploaded whatever was in their mp3 library and called it a day'. Also even the data printed on the pages that came with it may have spelling errors and differences in spelling for individual tracks and artists. Some artists have 3-4 different aliases which one do you put it under without messing everything up or leave it stand alone and you forget you even had it.
Also differing releases is a pain too. Some albums have 40+ releases. Which one do you actually have. Does it really matter?
comment 5y ago · link · parent
comment 5y ago · link · parent
Start small. Like how to do a flavor of integration testing. Perhaps take some online courses? There is also a huge amount of YT vids out there.
One thing you may need to do is go back to the basics. Also make a task of it. Have a set time where you for 1 hour a day 'learn new coding skills'. Such as refactoring, code style and when and why to us it. Also find a project that you are interested in and follow it. I learn quite a bit doing this I have a dozen or so I follow and watch the pull requests to see interesting uses of code and style, even if I disagree with them. I do not contribute to them but I follow the style and commits they do. You can learn a lot by doing your own code reviews of other peoples code. Seeing how other do it and work on that.
comment 5y ago · link · parent
The big downside to my approach is heat dissipation and servicing.
comment 5y ago · link · parent
What is the migration strategy here? Is it doc'd up yet? I am having flashbacks to migration for follower partitions recently which required a decent amount of pre planning of partition layout.
Also as it is pulling in the duties of ZK into kafka what sort of CPU/memory changes are you seeing? Is it 'meh' or all the way to 'you may want to add a couple of CPUs and a few more GB'? Also is it working ok with the stretched cluster?
Also if you want to hit an interesting market you may want to look at 'does it run OK on a raspberry PI'.