Better HN
topnewbestaskshowjobs
Log inSign up

sumtechguy

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

Submissions

comment 2y ago · link · parent

I have younger devs who do the same thing. Some people just do not want a process at all and do not play well with others.

comment 2y ago · link · parent

I went from a galaxy s5 to s22. About 10 years in diff. The functionality for me is nearly identical. Speed the s22 is much snappier I guess. But not something I care much about. I only replaced it because the touch screen started acting up and security updates were non-existent. I was able to keep the thing going for so long precisely because I could swap out that battery easily. To replace the newer ones involves a heat gun and a suction cup. And as jerryrigeverything says 'glass is glass'.

comment 2y ago · link · parent

I blew away a boot sector once playing that game....

comment 2y ago · link · parent

Think they just added 7z and rar support very recently though. But zip has been in there for ages... I use it all the time.

comment 2y ago · link · parent

I have had good luck with just closing one eye. But that is very tiring to do for long periods.

comment 2y ago · link · parent

AI can get 'stuck' in local optima. At which point it will hallucinate or repeat itself over and over or both. Easy way is to start over or you have to really feed a bunch of stuff to it to get it to move.

A good way to think of AI is like a cubic spline. The formula that pops out of all of the nodes strung together make a thing that resembles a cubic spline. Everything is valid along that formula but only at the nodes where it crosses the real spline. Everything else might be close +/- some error rate. But it can also create hills and valleys that you should not reach. But are perfectly valid for the spline. The more noes you add the higher the calculation is. But the more accurate it is. But that can also create wildly weird things between the valid points.

comment 2y ago · link · parent

> I love this stuff. I think it’s pretty rare to find a reason to code your own collection types these days, but it certainly comes up from time to time!

Absolutely! That is one of the places you want to use that style of programming. As the base classes and built in structs do not really cover it yet.

Also as a counterpoint sometimes the built in ones have some very interesting degenerate cases. I had one in an old library that basically doubled its memory footprint every time you exceeded its buffer. That was a point to change it to be a fixed allocation or something else. If i had no idea of the fundamentals I would have been totally in the weeds and no idea why it was doing it.

comment 2y ago · link · parent

I used to use them all the time. However, now? I would be hard pressed to not use one of the many built in vector/list/dict/hash items in many languages now. I would have to be truly doing something very low level or for speed to use one.

comment 2y ago · link · parent

Is it any good at win16? The other free ones I have used are kind of lacking. I have a win16 game I have been meaning to decompile nicely.

comment 2y ago · link · parent

Then making a boot disk using 4DOS to manage the whole lot of it. As each game had its own idea of what being 'setup' looked like with different other TSRs (mouse, cd, etc).

comment 2y ago · link · parent

The hype on usenet for DOOM was quite the thing to behold. It was super hyped because of Wolfenstein was so interesting. It even spawned two different usenet FAQs to track the madness. Wolf was also the first game I found out about motion sickness.

comment 2y ago · link · parent

That is exactly where ORMs help. The problem is all of the other stuff with it. When most people just need a simple mapper. Not something to build their SQL statements for them (which seems to be why most people pick it).

But that comes to the second problem. Most devs I meet seem to be deathly allergic to SQL. :)

One project I had a dev come to me asking me to look at a bug in the thing. Having never seen that particular ORM before I was able to diagnose what was wrong. Because MS ORMs have the same issues over and over (going back to the 90s). You better read those docs! Because whatever they did in this stack will be in their next one when they abandon it in place 3 years from now.

comment 2y ago · link · parent

You do not have to wait for food to run out. There is always 'that one guy trying to ice skate uphill'. They test the limits on everything and do not care about others at all. It only takes one jerk to ruin a party. I know at least 4 people like this, probably more (they hide it better). They would rob you in a heartbeat if they could get away with it and even if they cant. But in general they seem nice and happy and stable. The reality is they just do not want to get caught.

comment 2y ago · link · parent

For me my brain can NOT stop trying to use it as a CMD replacement. The CMD commands just do not work (duh its not CMD!). I then have to have that 'kerthunk' spot where I try to use the newer commands. Nothing wrong with powershell. It is just my brain for some reason can not let go of CMD in this context. Jump to bash no sweat. But for some reason my brain just will not use powershell correctly and I have no idea why. Great scripting lang and way better than bash or CMD script.

comment 2y ago · link · parent

Game studios have always been very brutal in their hire/grind/fire cycle. Not sure they really want to change.

comment 2y ago · link · parent

Had one bug where we had a stray tab between methods. Would cause it to crash out the compiler. Putting us squarely in the no tabs camp.

comment 2y ago · link · parent

I think MS didnt really 'own' the code. There was another company (b squared?) that owned large portions of it. We had the same DHCP issue. Also fixed many bugs in the ATL code taking up precious flash space for our bespoke version as we were 2 vendors removed from getting to talk directly to MS.

> Best if WinCE were buried and forgotten?

I am going to say yes. If someone ever finds one of the ones I worked on, my advice is to set it on fire then once it is done smoldering bin the thing and just get something better.

comment 2y ago · link · parent

WinCE was an interesting beast. The ones we made were MIPS (picked over an ARM system). Running a wildly patched 2.12. Also your PCMCIA issues? Trust nothing. It could be anything. But my guess is it is the driver, as getting that type of flash card to work consistently and correctly takes a steady hand. Your flash could also be slightly corrupt. We had almost that exact same chipset and found it would randomly stop taking commands after awhile and the flash leveling would cause writes to time out leaving half written pages. You also discovered Visual C++ for wince has a lot of interesting bugs. I think it got so bad we were about to start breaking each method into one cpp file as things could 'smear' between methods before the whole thing went EoL. There are newer versions of the compiler that may help some (maybe you already have it). If you got into the right program (or the right company) you could get the ODM build set. Which would compile the whole OS (based on a very bespoke version of visual studio 6 and a crazy mixture of using mklink and crazy batch files). But it would also let you debug the drivers. As for my 'trust nothing' I mean it. The API calls that should 'just work' may randomly crash or leak. Good luck!

comment 2y ago · link · parent

Search for DVD disc rot on youtube. There are many channels talking about it. There is a chunk of them from 2007-2011 that have a bad rot issue. There is also a chunk of laserdisc that have similar issues from the early 90s. Usually it is the process to make the plastic is done wrong and the layers start to delaminate from each other.

I have also had them come right out of the box and have errors. No visible issues. But the thing just will not read in particular places on the movie.

comment 2y ago · link · parent

The use of multiple copies to remove dropouts has been interesting there too. Think MAME just added some of the games in a couple of months ago that have been thru this process. So even if they have a copy your copy could be of use.

comment 2y ago · link · parent

The thing is you are allowing your client to do things without you saying to do it. That means you trust whoever is sending that link. To render you have to run a bit of JS and grab some other URLs. 'running' is probably not a great term for it. In this case if I were an attacker I can basically cause your mastodon client render without the users doing anything. I would call it a possible attack vector. Instead of the originating client rendering it and sending a picture along with the URL, it is telling the other side 'hey here is a URL' then the client own its own going to get a new snapshot. Some sort of render needs to happen for that picture to be created. In the second case that means if I were a sneaky sort I could send a link out to a group and I know an exploit in the mastadon render code I could cause interesting things to happen. I could also use this to attack sites. If I get into a large enough group I could basically spam the group with a bunch of URLs and cause a DDoS to any victim site I want.

comment 2y ago · link · parent

It is not the overhead of the TLS bit but the chain of trust. Putting a caching proxy in the middle of the system is breaking that trust chain. You can do proxy with TLS but it is tricky to do to maintain that chain of trust. A proxy would be a classic way to mitigate (not eliminate) that sort of issue. Either on the serving side or client side. Basically lower the data being returned but not the calls from the clients themselves (this is a DDoS issue). TLS just makes it harder to do proxy.

comment 2y ago · link · parent

The AT commands are usually used at call establish time, but can be used at other times to query the status of the modem. AT commands never go into the network that is a different set of standards. They are only used on the modem in your phone. If you can get on the right serial pin on the modem you can issue AT commands to the modem and it will do all sorts of interesting things. Different companies have their own standards.

Think of the AT commands as just telling the modem to put itself in a particular mode or go do something. After that the serial bits will do different things or output different things. It does not specify what will be said in the data mode (that is the GSM/CDMA/LTE/RS232 standards and a different part of the modem). Just that the modem will do particular things.

Take for example this old command ATDT,,5555555 That tells the modem attention, go into output DMTF sounds, wait 2 seconds, wait 2 seconds, output the DMTF tones on the speaker line for 5555555, then wait for a sound of response on the receiver and negotiate the highest both ends can talk using the S registers to decide what to do. But the AT commands do not go over the wire. They are purely modem commands. The modems in many cell phones still basically do this. But just with different commands and different registers. There is nothing stopping the modem from sending more AT commands to the other side though but that would be something in the standards to declare.

comment 2y ago · link · parent

If I think like an attacker I would say a preview would be an even juicier target. I can basically run something on thousands of peoples computers with zero input from them.

comment 2y ago · link · parent

It probably does. The issue is proxy. This is the downside to TLS and letsencrypt. Because man in the middle is a thing. Being a fediverse application the proper idea would be for the clients to P2P the data amongst themselves and lighten the load on the originator. However, in this case a link probably should not do that. So therefore it needs to go get the data itself. It is a DDoS were basically one link can magnify to thousands of other clients. Then until those clients are done they will stomp the site. Perhaps there could be a side channel ask from the client 'hey site are you cool with me showing the user a preview of this'? Or 'hey site is it ok if I share a preview of your page'? That would not totally stop the rush of requests. But would at least keep it from a render of the page for a preview. This method is half baked and something I just came up with and seems wrong though. But auto following links is not exactly in spec either.

comment 2y ago · link · parent

I get what you are saying. But the 'up and running' is dead easy with these NAS boxes. They are wickedly plug and play. Where a DIY version is fun and interesting to do, but takes some configuring and fiddling and researching. Not necessarily hard just something I did not really want to mess with. Spin on about 10 years and now I am considering DIY. But for other reasons (like you point out). Storage is no longer my primary sole use case. Which means a bit more DIY on the next one.

It for me was just a mater of how much time/effort did I want to sink into it. I just wanted a large storage system. A off the shelf NAS I can be up and running in 2-3 hours. For DIY there is the research time for parts (including the drives), cases, and which software to run (there are 3-4 decent choices). Then gluing it all together. Probably 2-3 days for me fiddling around with it and research time.

Take the one I went with synology. The one I picked was in the 600 dollar range for the case. By the time your done picking a decently powered board, case and memory and cpu. You are in the same ballpark of cost for similar perf. The package was all done. I did not have to do much (notice a theme?). My most expensive part of the build? The drives themselves.

The downside is now I want something like 2.5g (or better) and the particular one I picked has zero way to upgrade (other than ripping the thing apart and hoping the right drivers are in there). It is about trade offs. Did I really want the possibility of upgrade or up and running quickly. Remember this is not something I do all the time. It is something I do every 3-4 years so I have to refamiliarize myself with all the different possible parts. Plus getting the OS in there 'just right'. Not impossible or even hard. I just chose a different trade off.

comment 2y ago · link · parent

I get that you do not like that they will do it but do it they will. All costs are born by the customer. To do otherwise is a one way ticket to lower stock prices and less C-suite compensation. If they are not then your business will eventually go out of business.

Here is how they will do it too. Them: 'have you seen our NEW plan? It is amazing. It is only 5 dollars, the cost of a cup of coffee, more a month and all the amazing new things you get access to.' Me: looks at their plan. Me: 'Seems about the same as my previous one.' Them: 'But this NEW one is amazing. Our glossy advert campaign says so.'

They will not say they are raising prices because of it. They will sell you on how their new plan is 'better' and make your bear the cost (plus a little more for them).

I sat in a meeting where one company was selling unlimited plans. The company I was working for were still selling 1MB per month at 40 bucks a megabyte. They said their customers would pay it and more because of who they were. They are tone deaf and blind to it. The second the advert campaigns changed the tone of the meetings changed. In that case they had to change their pricing because of external pressures. However in this case all the carriers are being zinged. They will all raise prices. Because for sure they are not going to cover it.

You know it to be true. But do not like it which is fair. I do not like it much either.

comment 2y ago · link · parent

perhaps. but guess who gets to pay that fine? it sure will not be phone companies. it will be in your next bill.

comment 2y ago · link · parent

Tell me about it... I recently just had the fun of playing with an angular 8 project and thats 'only' 2019. Luckily in that case it was just turning on flags for node to act in an older deprecated way.

For my older projects as long as I could get the right visual studio to install and run (VMs will fix any OS compat issues) I could compile the things out of the box. As we did not go external unless we absolutely had to. These newer central repository projects are not going to end well.

comment 2y ago · link · parent

Hope they can last the lawsuit that is still going on from what happened with that book thing.
1
121314
59