Better HN
topnewbestaskshowjobs
Log inSign up

sumtechguy

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

Submissions

comment 3y ago · link · parent

thats a bad one...

comment 3y ago · link · parent

It was brand new and the cost to fix was less than the car and was covered. Totaled usually enters the picture if it is more to fix than the car is worth.

comment 3y ago · link · parent

Having previously lived in the area. It depends. But yeah we usually just parked in the garage. But not everyone has that and they get their car obliterated by it. Insurance usually covers it. That size is rare enough that it is not that big of a deal. But when it does. Usually it is pea sized. Golf ball sized is decently rare. Baseball (this case) is very very rare. That size is along the lines it would damage your roof on your house too.

comment 3y ago · link · parent

There is one vid of a guy on YT talking about his daily drop off in power. Turns out it was 1 small cable shading out one small part of a panel Which was enough to shut the whole panel down. His conclusion was the way they were wired up caused it to stop working due to the shade on one set of cells.

comment 3y ago · link · parent

Had a friend that lives in that area. This happened a few years ago. He had just bought a new mustang. 2 weeks later its in the shop for hail damage. Hundreds of dents. That stuff is no joke.

comment 3y ago · link · parent

One of my favorite ways to 'fix' vista era machines was to turn off the indexer. That bad boy would take over the machine randomly then rescan the files over and over. They fixed a lot of it in sp1 and win7. But it is still terrible.

comment 3y ago · link · parent

> It is possible that your phone provider does not have more than 24 hours of records of which phone towers you connected to.

It is much longer than that (they have exabytes of data and DO keep it). They have retention periods in years not days. They also bake stuff right into the OS. As they usually have final say on what can and can not be installed on your phone.

Back when I worked this sort of thing they were looking into gathering that exact data and selling it. As being a cell phone is title II device they have a lot of wiggle room on doing exactly that as they are considered like an ISP. It is probably burred in that fine print you sign when you sign up.

comment 3y ago · link · parent

Even if you make it clear they will continue to use it.

I have one bit of code 'i do not claim any knowledge of' that I bashed out in under 1 day with promises that it will be re-written soon. 5 years on I still get questions about it. I get questions because it is a PoC that does one thing very well and everything else badly.

comment 3y ago · link · parent

I have heard that gem for about 2 decades now.

When the reality is more cpu/memory usually cleared things up. In the old times a good defrag did not hurt either.

People blame themselves when a lot of the time it is rubish software/hardware.

Then you have the other side of that coin. The yes clickers. If it asks a question just answer it however you need to do for whatever it is you wanted to work. Surprising number of dark patterns on that gem... Then they hand it to you and expect a miracle in 5 mins. Sorry this is the first time I have every seen something like this it may take me a few mins to figure out what is wrong before I can even begin to fix it.

comment 3y ago · link · parent

I had the opposite. I ordered from amazon. Showed up from walmart... I left the review of 'you got me on the price arbitrage nice one!'

comment 3y ago · link · parent

In 1995 getting 128MB of RAM would have been quite expensive. In 1999 not so much. One of the easy things to do with NT or 98 in the 98-2000 era was to put 128MB of ram in when it suddenly became very affordable. It was a night and day experience. I had one game that ran absolutely rubbish in 1995 when I bought it. Years later I came across a few memory sticks and popped them in and gave the thing 16MB of ram from 8. The game started nearly instantly and ran very nicely (usually took 3-5 mins to start). With 8 it was choppy city and slow. Exact same computer only diff was the memory.

If memory serves me they did not really change much in NT from 4.0 to 2k. Other than add in more services and make it more win98 like. So it is maybe not an 'unfair' comparison. But win 3.51 came out getting that sort of computer just would not be in the cards for most people.

Windows went sideways at vista. The 'start the computer up' out of the box would use 2-3gig of ram. Up from 100-200MB from the XP era. Toss in some corp bloatware items. One place I saw it was 10gig just to open the desktop no productivity software even started yet. Then add in the zillions of indirect layers we have added to make programming easier and we are now with applications that seem to start at about the same rate as 25 years ago.

All of those old API's are still there. No one really uses them much anymore. We use the latest cool frameworks. That use the previous cool framework that eventually uses the old APIs :)

comment 3y ago · link · parent

If you want movie theater popcorn you make it the same way they do with the same ingredients.

Stir popcorn maker something like this https://www.amazon.com/gp/product/B00004RC6R

flavacol salt (optional if you use flour salt) https://www.amazon.com/gp/product/B004W8LT10 or flour salt https://www.amazon.com/Morton-Popcorn-Salt-Green-French/dp/B... or both 1/2-1 tea spoons at most.

'butter' oil https://www.amazon.com/gp/product/B000UZLQG2 1/4 cup after cooking (warm it in a microwave)

The butter oil is a bit of a pain as there is so much of it and you can not really buy in small quantities, and it will go rancid before you use it all. It is meant for movie theaters to use. I have not found any supermarket versions that are correct. Usually they are kinda gross.

You can use a coconut oil for cooking with. Most theaters do not do this at all. The butter oil is closest to the same as movie theater as that is what they use during cooking and topping at the end. I personally use the coconut oil when cooking as it imparts a nice texture and flavor to the popcorn. 1-2 tsps for cooking with for either. Then top with the butter oil.

The flavacol and butter oil are the key ingredients.

For the popcorn I just buy orville redenbacher popcorn. They have a decent process of removing the duds before they get into the container. You can buy generic just expect a few duds.

comment 3y ago · link · parent

This is a good answer. You want your primary/cluster key to usually be something that makes sense in your data. If you use something like UUID the placement can be basically random. That is usually in SQL is not a desirable trait. If you use it for a primary key you are basically saying you are fine with a memory cmp vs a register compare for you finding the right data. That can be undesirable too. UUIDs do have very desirable traits such as uniqueness. But that does come at a cost and usually you can fix that by deciding what process decides the source of truth in a different way.

comment 3y ago · link · parent

fine.

comment 3y ago · link · parent

When it first started doing this I found it be to more tear down the moat many developers like to put between them and the rest of the business. Basically get up and go talk to QA, helpdesk, delivery, and marketing. Find out what is failing and fix that. Make sure those groups can use and maintain the code being delivered. THEN work on things that are new or champion those things that are broken to get fixed in the next cycle. That was devops to me.

Then it turned into this guy who can not really do anything. Can not really check in code because the devs do that (separation of duties). So you never get any real experience in the codebase. Can not make any decisions because the marketing/product owners do that. Can not really make better test cases as that is for QA. You can however help on the helpdesk they are short 3 people today. Then the meetings. Endless meetings upon meetings. Because your 'devops' you need to know everything that is going on and better have those statuses on the high priority items to be fixed. Oh and you are 'on call' so you can never really 'go home'. Then if something breaks all you can do is just call in others and make them fix it. Making you little more than tier 3 helpdesk. Useless paper pusher job with zero authority.

comment 3y ago · link · parent

oh no...

comment 3y ago · link · parent

heh I made the mistake of engaging with that once. oh boy....

They could not wrap their head around the idea that the hosts method is limited in some use cases.

This could not be blocked without blocking the main host too. https://example.com/adverts-folder/advert.jpg

Now it sort of works in practice as most of the advert networks do not host on the same domain.

It is good at catching out whole bad domains but partial ones it is not very good at. Which some domains will do using a reverse proxy.

Also at one point a hosts file was linear scan. No sort of hashing or binary search lookup. Not sure if that was ever fixed in windows or linux. So a small number of hosts it was ok. But as the file grows it starts to add up.

comment 3y ago · link · parent

Education is what you get out of it. Especially at the university level. If you are really engaged and trying to find new things it will be a wild ride. If you are there to just 'get the degree' you will find it dull, boring and a chore. What crystalized this thought for me was a few years ago. I had a class that started with 20 people in a corp env and optional. At first all 20 showed. By the last class there was 4. Most had checked out when they realized that you had to do the course work and be engaged (2-3 hours of study per week for 8 weeks). We even made accommodations for those who fell behind as long as they tried. I found being engaged into the coursework is not the norm.

comment 3y ago · link · parent

That was one thing I was thinking 3d printing would gut with respect to that type of gaming. But from what I have seen it did not really stop and the 3d printed stuff is looked down upon.

comment 3y ago · link · parent

I got burned on this sort of thing for cddb. Hundreds of discs entered in. Suddenly that data was someone elses and they charged for it.

comment 3y ago · link · parent

Using templates that way is totally possible. The problem is the nesting you end up with makes it hard to follow what is going on as you discovered.

I like to use templates to replace #define style programming. As it makes it easier to debug what is going on and get the compiler to work for you instead of in the background and hoping it spits out the right thing to feed to the next stage in the compiler pipeline.

Many languages have these sort of 'yeah you can do that but you probably shouldnt' things. C++'s version of that is templates (for a long time it was giant trees of classes). You get sucked into how cool it is then realize you have made a horrible mistake and made a giant mess that you can barely comprehend much less debug.

comment 3y ago · link · parent

That works most of the time. But sometimes you get something with more than one thread and windows will keep the application around but the foreground window is destroyed. Programmatically in win32 windows and the process are two different things. The user will not see it that way though. Task manager usually can take it out. But every once and awhile it will still get stuck depending on the resources the application has created. At that point you can pull out pskill from ms sysinternals or just reboot.

comment 3y ago · link · parent

If you go grab something like eXoDOS or eXoWin you will quickly find out how true your statement is. Think that collection has something like 7k titles in it. But only maybe 100-200 are worth actually playing for very long. Think archive.org has an online version of it. That can be randomly broken as some games require particular versions of dosbox to work correctly and archive org only uses one. The full exodos install has whatever is needed to make it work.

Also at this point we have a 'language' of how to play most of these types of games. During that period they were trying to figure out what that 'language' was. So playability can be very challenging at times. That can include visual cues, graphical expectations, sound, and controls.

comment 3y ago · link · parent

I remember there was one utility for MSDOS as well. The name escapes me :(

Those sorts of utils kinda worked on usually if you were on your own computer. But if you really pushed them and the tried to go over to a friends house with one good luck...

comment 3y ago · link · parent

whenever a discussion like this comes up I try to recommend this book

https://www.amazon.com/gp/product/0671555510

Not as simple as the one in that vid. But a decent selection of them.

comment 3y ago · link · parent

Ah good. A very small demonstration probably would drive the point home. It is one thing to hear that but another to see it yourself.

comment 3y ago · link · parent

Today you learned a lesson. You will need to add to your course work how GPT can get things wildly wrong. Just a simple example should not be too terribly hard to find. Then plant the seed 'if it has that wrong what else is it getting wrong? It is a good tool of getting the general idea but one you need to audit. This class is where you are going to learn the basics and know when this thing is wrong when you use it' That thing is not going away any time soon.

comment 3y ago · link · parent

Maybe I worded that a bit strongly. As the reasons for me having to read it still irk me. But the root is how to draw people in by being nicer. It is a form of manipulation and not true to who you are. Now given that there is nothing wrong with improving yourself to be less of a jerk. Those books do have that sort of advice. But the advice is given with the intention of manipulation. I may be being harsh on them. But that was my takeaway. Decent advice but bad intentions.

comment 3y ago · link · parent

I was forced to read that book and 'how to be a superstar'. Due to a manager who disliked my bluntness in saying things were broken. He wanted me to punch it up with doublespeak to make him feel better.

They show how to manipulate people. But not solid advice on how to do the right thing.

comment 3y ago · link · parent

In those sort of cases your schema is probably not the correct pattern and needs to be reviewed.

I had one proj where they had 40 indexes on one table. Inserts were terrible for that table. No one wanted to touch it as it happened to be the table where everything was at. They started pulling out 'nosql' sharding and other sorts of tools to fix it. Anything to not change that table with 200+ columns and 30 indexes and the flotilla of stored procs to go with it. They even ported it from MSSQL to Oracle. Thinking somehow magically oracle was going to make the poor schema run faster.

1
252627
59