Better HN
topnewbestaskshowjobs
Log inSign up

sumtechguy

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

Submissions

comment 5y ago · link · parent

When I was younger I tried every new internet service I could get ahold of. I however now do not add in new services unless they have been around a bit. They also must have some actual tangible benefit to my life. I have also removed a lot of the 'popup' services. These are the ones that like to notify you every 3 seconds about something. They beg for attention like a broken Tamagotchi.

In my mid 30s I realized my monetary problems are fairly 'steady state' and not a big headache anymore. But what I do lack is time. Smartphones have an issue as most of the models of revenue for them are internet 'freemium'/'advert supported'. What I realized is that stuff had started to take up a significant amount of my time. Time I needed for other things. If you let these things in you will find yourself consumed by them. Every last one looking for engagement. I cut out all major news sources for the same reasons. They were attention machines that did not a thing to really improve my life.

So given those conditions. My smart phone is ancient by tech standards. Has a very small handful of applications. My laptop desktop is setup with whatever the designer thought was a decent idea for the version of the OS I am using. Things I stay away from are social media, fermium games, or news. All three of those are little more than disguised skinner boxes. That try to make me feel good about myself but do not actually do that.

Another annoying thing is no one really seems to want to sell you things anymore. They want to sell you a service. Then one day 'poof' that service is gone. I no longer have the cool utility anymore, and many times a pile of expensive paper weights. So I avoid any service where their pitch is 'it costs less than a cup of coffee per month'. If I have gone through the trouble to make your thing part of my life I do not want it suddenly 'going away' either by upgrade or bankruptcy. So I try to find better alternatives that will stick around.

comment 5y ago · link · parent

Only if you ever need to have 256 things ever. :)

Getting crypto/signing correct is kind of a pain. Has been for years. I personally have been noodling with with it for a personal project. There are probably at least a couple dozen different hashes and crypto libs to use. Make sure you pick the right one for the job speed/secureness. Make sure you do not pick one that is out of date and any old chromebook can crack it in 10 mins. Make sure the library you are using is not out of date but best practice from 15 years ago (that blog from 15 years ago was really nice) and you really should be using something else now. Then even if you are using the right stuff make sure you are using it correctly. Do not expose this bit or that bit or it does not work. Make sure you picked one that does not allow for known plain text attacks or if it does it does not matter depending on use case. Is your entropy for your key creation good, is it really random? How is your salt pattern created/stored?

Crypto bits make me feel like I have an iphone 4 and I am holding it wrong.

comment 5y ago · link · parent

In some cases yes. In others they were just used for energy to turn a flywheel for sawing wood and no electricity was involved. For the electric ones they may have been able to generate 200MW at their peek just after they were built. But after a hundred years of sediment they may peak out at 50. If the cost of fixing is more than it would generate in say (pick a number) 10 years they may decom it. Which is its own set of challenges. Most of the documentaries I see start off with 'this dam has been here since 1930 and the company went out of business in the 50s'. As most of the reason for the smaller dams to exist have been superseded by better tech. These things are typically 5-10 ft high. They are not much. But there are thousands of them.

Also many of these things are not 'automatic' they need care. Such as switching things at the right time, replacing parts, etc. You may not even be able to buy the correct switches or motors anymore (the NY subway has this issue) and maybe you can get one used from some other dam that is being decommissioned. So they just turn the thing off and walk away. Usually they cut some deal with the local gov to take control. Who think they are getting a 'free park' when they are getting a giant mess. Sometimes they even say 'you do not want it' and the local gov is dead set on getting it for a park. So you end up with things like love canal.

comment 5y ago · link · parent

Well that depends on the dam. For something like a hoover dam. They would dewater deconstruct and rebuild. For something small they may build a coffer dam in front of it, with water going into a secondary run off, and tear it down and rebuild/fix.

I have been watching a lot of videos on YT about this very subject. The amount of no longer economically viable dams we have is quite large. But the company that built the thing probably went out of business decades ago. The local areas saw 'hey free lake' and built tons of houses along the shore, and see the lakes as a benefit to their area (recreation/tourism).

Taking one out is a huge undertaking. As you have to make the 'hey free lake' people happy. You also can not just blast it wide open or you end up creating a flood. The previous lake is now just a big pool of 100+ years of mud. So you have to plan out how to dewater carefully, re-seed (with plants native to the area), and maybe even rebuild the bed of the river/stream. All of that costs decent amounts of time and money.

You could say 'oh the guys who built it should have paid for it to be removed'. They are long gone and the money is spent, there is no company to sue, and the 4th gen heir may live in a single wide. We have what we have and have to go from there.

Usually what happens is if the current dam is stable, nothing is done. If fixing the dam costs less than rebuild, they fix it. If fixing the dam costs more than deconstruction, then it is removed.

comment 5y ago · link · parent

Something else that could be interesting is 'how' news is gathered in those locations. Take for example 'florida man'. People in the rest of the country do crazy things too. But due to the way crimes are reported and how news is created in florida it creates an impression of something 'different'. Remember news is also not necessarily 'news' it is also a form of entertainment for many. So things that are popular will tend to pop to the top. As those orgs will get feedback that people want to hear more about a particular thing. It is why click baiting is so effective.

comment 5y ago · link · parent

That would depend on how much that struct is created in memory vs the total code that uses it. If you have one instance in memory then yeah the code is probably bigger and slower (depending on arch). But if you have thousands of the structs in memory the speed and code size trade off may be worth it on a memory constrained system.

Debug also sometimes turns on overrun buffers so you can check for over/under runs in your code at debug time. Some compilers have this others dont.

comment 5y ago · link · parent

Sometimes it is just the env you work in and how much they trust you. Some places 'I need a server' you will have a VM or machine on your desk in an hour. Others companies it is a 2 year processes and bunches of approvals.

comment 5y ago · link · parent

KODI and Plex share the same history of being XBMC at one point. Plex they focused on a single headend unit to do decode/re-encode of data and many simple devices running a client GUI. The head end controls the metadata. KODI on the other hand has stalled out on the headend bits but added in full on emulation via libretro a couple of years ago. So each KODI instances is complete thing. Unless you add in something like mariadb. In many ways Plex is 'better' (streaming, support), in many ways KODI is 'better' (better skinning, bluray ISO playback, etc). Ease of use is about equal between the two (again not surprising their shared history).

I would like to use Plex for streaming but it does not support my particular set of media use cases (ISO files). That may have changed but I gave up waiting years ago.

comment 5y ago · link · parent

That really depends on your software.

Something like a NOSQL style it is kind of built in that it will be distributed. But that backs the compute cost back into the clients. Each node is 'crap' but you have hundreds so it does not matter.

Something like SQL server it comes down to how fast you can get the data out of the machine to clone it somewhere else (sharding/hashing, live/live backups, etc). This is disk, network, CPU. Usually in that order.

In most of the ones I ever did it was almost always network that was the bottleneck. Something like a 10gb network card (was state of the art neato at the time, I am sure you can buy better now) you were looking at saturation of 1GB per second (if you were lucky). That is a big number. But depending on your input transaction rate and how the data is stored it can drop off dramatically. Put it local to the server and you can 10x that easy. Going out of node costs a huge amount of latency. Add in the req of say 'offsite hot backup' and it slows down quickly.

In the 'streaming' world like kafka you end up with a different style and lots of small processes/threads which live on 'meh' machines but you hash it and dump it out to other layers for storage of the results. But this comes at a cost of more hardware and network. Things like 'does the rack have enough power', 'do we have open ports', 'do we have enough licenses to run at the 10GB rate on this router'. 'how do we configure 100 machines in the same way', 'how do we upgrade 100 machines in our allotted time'. You can fling that out to something like AWS but that comes at a monetary cost. But even virtual there is a management cost. Less boxes is less cost.

comment 5y ago · link · parent

Easier way would be to get 2 copies of the same stream from 2 or more clients then compare. Repeat until extra/missing data is found.

comment 5y ago · link · parent

You can tell when they are negotiating time instead of scope. It will be something like "surely we can do this in 2 days not 5?" Instead of "we probably will take 2-5 days to do this but need it in 2 so something of 3 days needs to come out somewhere else". The first one is saying 'work harder and just do it.' The second is 'ok it may take 2-5 days but lets pull something else out to make up for the deadline we want'.

I found orgs that negotiate time did not talk to their team in the first place. Then went on to promise something on behalf of the team. Now they do not want to eat the humble pie of 'I ran the numbers and you only get half' instead they get it going and just overbudget on the thing. Which just makes everyone in the process mad.

comment 5y ago · link · parent

It is a decent place to park money. Cash has inflation effects. Land is a lot less susceptible to that.

comment 5y ago · link · parent

I do not see one (does not mean it is not there). When I used to watch this project more closely you had to just goto the game db and hope someone tested it. You can also look through the commit logs and usually the reference the specific application they are fixing. The rc bits usually have the bugfixes and those too have which app that bug has fixed. They have a ranking of how good the game is. So there may have been a bug fixed but it is still broke because of 10 other things.

comment 5y ago · link · parent

His mistake in his assumption is all games are the same. Sometimes I play a game that is kind of 'boring' and relaxing like a bit of solitaire. Other times I play a fragfest with 15 other people looking to take my head off. Sometimes I intend to play something exciting and end up playing max/min stats. Sometimes I just suck at the game...

comment 5y ago · link · parent

When I was ~25 in the late 90s (now in my late 40s) I spent 3 months with a 'custom' guy. He was going in and re-writing our software stored procedures. They had to work a particular way or the whole harry ball came flying apart. 2 level one techs, 3 level two techs, 3 on site rebuilds with 3 installers and 4 senior engineers. 3 months of work. All because 1 dude decided to change things out and did not follow our extensive docs and use the people we dedicated to help him. All because he wanted a feature but did not want to pay for it but did not want to admit he broke the multi million dollar system they bought. It was like an hour of work for me and 1 line of code. But he jerked us around for months and cost us thousands of dollars of time and work and would scream at us for hours on end that nothing worked because he broke it.

BTW The dudes who worked the .COM boom/bust stuff are hitting their 50s. When you are on your 15th uber framework sometimes you just wing it and dig in only if you have to. Or as I say to my fellow devs 'what useless tech skill am I going to learn today that I did not want to know about'. For my first couple of stacks I can tell you everything you want to know for hours on end. For current ones that passion is mostly gone. Crunched out of me with endless meetings and forms to fill out.

comment 5y ago · link · parent

That and everything falling off the first page. If you ended up on the second page forget it.

comment 5y ago · link · parent

Soylent added several extra levels. But they then added in more points per day. What ended up happening is the same that happened on slashdot. Everything is either +5 or -1 on a conversation that is only a few hours old. Early items dominate the conversation. Late ones get no interaction. Things that are like a 2-3 are bumped out to +5. Things that are 0-1 get knocked down to -1. Even then it depends on the group you get into the conversation and who posted earliest.

comment 5y ago · link · parent

Also depending on industry you may by law need to delete things.

comment 5y ago · link · parent

One thing I have found interesting about this concept is lets say I take all the parts and put them back together. Now I have 2 things. Which one is the 'thing'? Clearly both are and are not.

It is a weird quirk of some logic items. They can be both true and false at the same time. Such as things 'this statement is false' which is both true/false at the same time. Is one such example of that. However, sometimes it is clear our test is lacking. With the 'ship' you could say as soon as you switched out anything it was no longer the original thing. What happened to the original thing? Well it went to the same place as when I created it. Which creates its own set of questions.

comment 5y ago · link · parent

A good way to handle that is to make sure they pick their lane at the start of the road (if you can). You do that by having no lane switching except at entrance intersection. Does not always work but does sometimes. Another trick he has used sometimes is 2 lane picking. Basically you can only 1 lane at a time. The thing will sometimes get confused and try cutting across 3 lanes of traffic holding up all 3 lanes. He usually stacks 2-3 of the 1 lane switches after each other and that sometimes clears it up.

comment 5y ago · link · parent

That depends on the target. The military is quite ready and willing to spend tax dollars on things even if at the end of it there is something cheaper that does the job better.

comment 5y ago · link · parent

The diff for a spammer of 100 boxes that run their bot vs 1000 makes no difference to them. The cost is negligible. Even if you make the process slower. They can just scale out or wait it out. If it takes 1 hour vs 2 hours to do their payload there is no real difference to them. They have also already built in the filtering as a % that fails. They are looking for less than 1-2% success which is all they need. The frameworks are no longer some simple script hacked up in VBS. They are packages they can buy from other spammers or rent the bot net with the proper libs built in.

comment 5y ago · link · parent

Even proof of work has a flaw. It underestimates some of the drive of these people to make make a few bucks. How much would say 200 raspberry PI's cost to network up? For proof of work to 'work' you need to get past the cost they would make on it. All you are doing is slowing them down which they can make up in volume of cheap devices. It does not 'solve' it. I have seen them setup rooms of low end Android devices to do things. This is not out of the realm of possibility.

comment 5y ago · link · parent

This methods does not always work if the intersections are too close to each other in some small edge cases. You usually just need to space things out more which will in turn tear up part of your city.

Another method he uses with that mod is to sometimes not allow changes anywhere on the road. Then he forces them to pick a lane when they cross an intersection that connects to the road.

Also along main roads with lots of intersections he has all the feeder roads yield and tells all the intersections to go on through.

comment 5y ago · link · parent

Having watched way too many Biffa vids. The way to fix that is to create/force dedicated turning lanes. There is a plugin that lets you manage it. It should be built in. If you do not have the plugin sometimes you can fix it by changing the number of lanes on both sides of an interchange (what biffa calls lane mathematics). Basically if you have 3 lanes merging into 3 you need a 6 lane on the other side. If you have 6 and 3 dumping off you need 3 for both exits. That does not fix 4 way intersections though and usually you need the plugins to fix that.

comment 5y ago · link · parent

I have been through this 'transition' about 4 times now on other applications. "oh I do not use that one anymore I use XYZ" when it comes up and offer to help them setup a new account. I then usually just fire it up for them for a small conversation right then but then turn it off. There is nothing wrong with having more than one application. Hell most of our phones are already running dozens of them. But at a point you grow weary of them. I used to use aggregator applications like trillian. But they always seem to be chasing the breakage or not able to interpolate at all.

In a couple of years it will be some other application that will be the top dog. "Hey what is your ICQ number?"

It also depends if you are considered a hub or spoke in your social circles. If you are a 'spoke' then getting others to change would be hard. If you are a 'hub' you have better success.

comment 5y ago · link · parent

Another issue that needs to be solved is 'bad actor'. Basically someone gaming the system and overloading it with spam. There is no real nice neat way to fix that. Instead it is a mishmash of blacklists/whitelists/blocklists and sorta intelligent alg filtering. Getting that all filled and working is not trivial either. Oh its 'doable' but kind of a pain for even someone with decent experience at it.

comment 5y ago · link · parent

The unpaved bits where they tore up the track but left the rock are 'challenging' to ride. Even for an experienced off road rider. The best I ever managed was about 2 miles of it. The paved bits you can go for a decently long time. Just be aware some portions are 10-20 miles with nothing really in between but farm fields, so plan accordingly.

comment 5y ago · link · parent

  On the surface it sounds like 'hmm sure why not' then you stop and think about it.  It is a security/privacy nightmare waiting to happen.  Much like ActiveX and java apps were.  I suspect webassembly will end up in the same place.

  Frankly it will be used by some small segment of web applications that are cool like you say.  At best I fear the majority of the use would be just to fingerprint us more to show us more soap/shoes/drugs to buy.  At worst it would end up being a never ending pit of security vulins.  We have tried this sort of tech before it worked badly in the end.  So a bit of caution is not unwarranted.

comment 5y ago · link · parent

I still have the account. But have not logged in in months. There is one or two people who that is the only way I can contact them at all. I have been backing away from it for about 3-4 years now. My wife blew away her account 5-6 years ago. It was mostly a nice way to reminisce about old friendships, at first. But then you quickly remembered why they are no longer current friends.

I figured out that Facebook itself is not awful. It may be in many ways, but it is my 'friends' who drove me away. When I was around them they seemed semi normal. But put them behind a keyboard and the truth came out of what they were and how they really thought about me and my beliefs. Their inner keyboard warrior came out. They were not real friends but 'friends' of proximity. I had confused friendly with friends.

1
505152
59