HNHacker News
TopNewBestAskShowJobs

sumtechguy

2,584 karma · joined July 31, 2020

submissionscomments
sumtechguy··on Microsoft offers mass buyouts for roughly a quarter of its workforce
typically in that case the boomerang is they come back but as a consultant. just doing the same thing they were doing before but at a different rate. usually higher to cover health ins plus a bit of a bonus.
sumtechguy··on Overgrown, when plants invade your abandoned tabs
Honest question how many of that 2k are just the same webpages but just different days?

I personally am a close the whole browser out at the end of the day guy. With bookmarks for things I just have not got to yet. With a every few months cleanup of the 'to do' folder. Just today I have probably opened 20 tabs and closed 15 so far. At the end of the day they should all be gone.

sumtechguy··on LLMs are making formal software verification feasible at a much larger scale
> I feel like a good chunk of my skills that I honed over decades as a software engineer are obsolete: programming, debugging, navigating code.

I have been having a different exp with it. Those are even more important. These things are creating some wild code. Then sticking to its guns in some cases and just rewriting the same bug over and over.

Just this week I literally showed the thing where it was breaking. I wanted it to trace where the error was coming from. Instead it immediately wrote guard code and patted itself on the back. Not a bad idea but does not give me the reason of why something was broken. As where it broke is just part of the problem. Turns out I had a data issue. Guarding the error was the wrong plan in what I was looking for. The user needed his data fixed. Without tracing and debugging I am pretty sure AI would not have found it. Not without me prompting even more. It had twisted itself silly trying to make the error good instead of root cause. Took me an hour or so before I realized it was doing that.

Trust by verify. These things make all sorts of assumptions unless you are very accurate in your prompts.

sumtechguy··on Patch the Planet: global response coordination as agents uncover vulnerabilities
> This shows that "know your target" is still as applicable as ever,

totally. I spent yesterday trying to get an AI to make a test case for a very specific bug I had. It kept telling me that it had it. When I could clearly trace thru the code and see it did not. After about 5-10 rounds of that I just wrote the test myself. But at least AI helped with all of the dumb cruft that went around it.

But if I did not know the domain I may have easily just said 'yep looks good'. AI on the other hand saved me at least 3-4 hours of writing all of the scaffolding that made it easier for me to check. In the end the bug had nothing to do with the test. AI did not find that. I went back point by point of what changed in the code and found where I had messed something 2 weeks ago.

A few months ago it seemed like it would not do this. Now in the past week I have come across 3 different ones that did something similar. Just 'stuck' in a local maxima and getting the AI to go around it is a pain. This is probably me and the way I am using it.

Is this better than I had a couple of years ago? I am not sure. Seems different at least.

sumtechguy··on Man discovers his parents' coffee machine used 1TB of data in 10 days
More than likely nmap type scanning across all devices on a segment. I had one customer that saturated our AAAA server with requests because they though sending in data on every even was just dandy. For one device in a test lap it was ok. For 10k+ of the things out in restuant across the country was a DDOS. That was all text. it was gigs of data per hour. We sat them down and showed them how to do bundling and better data management.

It is a question many devs miss. what happens when I put this in the wild and I now have hundreds of them.

In this case it is probably scanning aggressively. Just incase you plugged in a new devices in the past 100ms. Then some sort of filter with data compression (hopefully) and then sending its exfiltrated data back home. Honestly, not a cool thing to do and makes your customers NOT trust you. I had an old LG TV that was doing this 15 years ago where it would send every button press back to LG. I unplugged it. It agressivly scan its empty socket.

sumtechguy··on Beauty in DVD Menus
Also many had fun easter eggs. One of my favorites was galaxy quest. You had to watch the movie then after you watched it there was a new option to watch the movie in the alien dialect. Now some menus are just 'in the way'. Usually some blurb about whatever concerned some lawyer and a good 15-30 second block on continuing on, or even worse a set of commercials for other movies that are unskippable. The newer menus are very basic and straight to the point. The older ones were 'fun' in a way that usually mimicked whatever the movie was doing. Adding to the movie. I think one of the fight club releases even had the 'wrong' menu just to mess with people.
sumtechguy··on Example.com just launched the biggest redesign in decades
I had one customer that managed to figure out which stored procs were tied to which reports we were using. Then he would deliberately break it in weird subtle ways them and call tech support 'just to see how we would react'.
sumtechguy··on Solving Factorio Quality
I have ruined my fun of many games by activating cheat modes. I strictly avoid them now until I have felt I have 'completed' the game to my satisfaction.
sumtechguy··on C++26: Trivial infinite loops are no longer undefined behaviour
> There isn't ever a good reason to have an infinite loop

That seems to be a very broad statement. For example in a system where interrupts mostly control things this sort of 'do not close the program' could be useful.

A guy I worked with had one I never would think of because I do not work in that field.

But yeah a warning would probably be useful.

sumtechguy··on My temporary PHP fix from 2014 has nearly 20M installs. Today I'm deprecating it
I would not bet on that assumption. I have seen some wild code over the years from devs. With 'ai' type coding going on now too you may see them be used even more.
sumtechguy··on Where did the old web go? We followed 657,607 links to find out
Most of the time it isnt mine either. But here and there there will be large swaths of some site that are just not archived. At one point if someone put up a robots text file history would just vanish. Have not checked lately if that still holds. But one company I worked for was just 'gone'. Because a webpage squatter put up a robots.txt.
sumtechguy··on Where did the old web go? We followed 657,607 links to find out
Even Archive.org is rather limited in what it keeps. I know of a very large site that recently disappeared. archive only has part of the web html part of the site. Everything else is either gone or non accessible.
sumtechguy··on uBlock Origin Is Giving Up the Fight to Keep Ads Off Facebook
There are. Several model maker communities use it to put stuff up for sale. It is a nice way to find other model makers.

The reason I joined FB no longer exists for me. I remember why I stopped talking to many of the 'friends' I had. I silenced all of them and only join interesting groups now. Even then I only log in once or twice a year.

sumtechguy··on Xbox goes down. You can't play games you own on disc
'always online' has created a whole new set of buggy from a lot of companies. For example cyberpunk is NOW a playable game. Launch date was a very mixed bag. 'fix it after launch' ugh.
sumtechguy··on Should you wash your solar panels?
Having just put a battery into my existing system. For the power company I use the answer is no to your question. Many power companies charge that fee depending on the size of panels. Now if you do not hook to their system they do not care (off grid). But if you plug into it then they care and charge for the privilege.

Now you could pull particular items out of their grid. Just need the wires and panels to make sense. They would not care about that either. It is only if the panels are plugged into the grid they start to care. Downside is sometimes waiting for that battery to have enough juice to work. It goes faster than you think and some battery systems are decently expensive just by themselves, on top of the panels/inverters/controllers/install.

sumtechguy··on If you want to create a button from scratch, you must first create the universe
I did something similar in win16/32 at one point. Think we wanted something special with graphics on the button.

We basically had to recreate all of the actions of focus/unfocus/etc. Everything a normal button could do. Now that I have done more stuff I a know for a fact I made my life way harder than it should have been and could have subclassed. But it was a full button recreation. Styling messaging and all. You have to watch for things like what if someone clicks outside of your button but lets go inside the button. What does that mean? All sorts of weird side effects. What if your button has focus and someone starts typing? What if someone clicks outside of your button but holds the button down as they slide across your button? What does that look like?

Would I ever do it again. Probably not. Seriously use the built in ones.

sumtechguy··on Mapping homes you can buy from the US government for <$100k
and sometimes you can not do that. if it is some sort of historical thing.
sumtechguy··on 8086 Segmented Memory was a good idea
Probably talking about swapping it in from some external datastore. These days you would open the file and dump it into a single buffer and rip across it, and not even really stress about it. Even 256 meg of hard drive. That would have been impressively expensive in the 80s.

Back then you had to chunk it out and fiddle with the offsets. Even then you still would have had to manage loading out the next chunk.

If my memory is right 1MB of memory in the early 90s was like 200-300 per meg. Would have to dig up a computer shopper and look.

sumtechguy··on The time the x86 emulator team found code so bad they fixed it during emulation
Unfortunately not all of them. It depends on the device you are using, and the storage device, and the kernel, and the CRT you are using. The process I was using went from like 20-30 seconds to run to less than a second once I put a cache in front of it. Current implementations may have that cache. I would look first and see what they are doing. At the time I was working with about 6 different CRT's of varying age and quality. Some systems you can turn it on and off per device, or global, or per call depending on flags passed in. Really it comes down to reading the docs (probably right), and testing it out (empirical evnidence). That project I learned to not trust the c runtime libraries. But to verify what they are doing and re-read the docs and make sure I am even using the thing correctly vs what is written in the code and my assumptions.
sumtechguy··on The time the x86 emulator team found code so bad they fixed it during emulation
Also you need to be careful what you read/write. In some cases.

As many examples out there use int/char etc to show how to use the thing. But if you switch to structs that fwrite can totally burn you if you use the sizeof call. As the sizeof a struct can vary between platforms and compilers. Depending on packing. Then endianness can sometimes mess you up. If you are reading/writing for yourself you can get away with a lot. But if you are trying to interop then you have to be wildly careful what you do.

fwrite is another one where people will do one byte at a time (same up to for the windows version). Bash out a loop, use the sizeof for the input to the for loop. copy and paste just doing 1 byte and you can easily end up here. One program I added a cache in front of the thing so it would always write on disk block boundaries and then come back for more. I started off with just packed struct sizes but the perf was just 'ok'. The file block boundary thing really made it fast. Not all OS's have a readahead/write buffer behind that call so perf can vary.

It is honestly such an easy mistake to make. As many of the examples/docs do not really show you why/how to use both of those calls in the way needed. You sort of have to stumble into it and work it out.

Once you see it you know. But until then you do not really notice if it is 'working'.

sumtechguy··on Smudging the game disc to make speedrunning 'SpongeBob' faster
There is one game called 'hack n slash' on steam. You manipulate the 'global vars' to win the game. There is even one point where the game has you open up its data files and change things. Interesting mechanic.
sumtechguy··on Smudging the game disc to make speedrunning 'SpongeBob' faster
On some systems/drives if it detects an error that is big enough it will reset the carriage. You can here it reading and rescrubbing over and over. That can cause the carriage motor to overwork and burn out. Not sure of this system does that or not. But that would be my guess.
sumtechguy··on Failing grades soar with AI usage, dwindling math skills in Berkeley CS classes
> Now I work mostly with PhDs who were at the top of every academic environment they've ever been in. And yet I can see their thinking skills rapidly declining as well

I noticed this before LLMs became a thing. It was by accident. We had a team of programmers. All decent at what they do. The management said 'hey you want to learn another language we are going to be using it for these upcoming projects'. So we set up a self learned at your own pace class curriculum. Maybe 10-20 hours of school work if you sat and really dug in. Maybe 3 to 4 hours if you breeze thru it and do not care much. We set up weekly check-ins doing about 1 hour a week. Easy. Watch a 20-30 min of vid 20-30 mins of do homework come to check-in and talk about what you learned and help others if needed.

Now this is where I was disappointed. The first 'class' was 40 people. By the last there were 3. Those 3 I noticed always are the ones who dug in. The rest wanted a proctored classroom and someone to tell them what to do.

Actual genuine curiosity is rare I think. We have a lot of people who are decent at what they do. But do not really care about it. IF you do not care you are going to just push the button and get the answer.

sumtechguy··on Stop Ruining It
those story points do not earn themselves!
sumtechguy··on Stop Ruining It
Start simple add the rest later when you needed it. How will you know you need it later? At 3AM. If it makes you feel better add a comment what will be needed when it breaks.

I see over and over wildly overdone code. When all I really wanted was some simple if conditions and a couple of loops. But that doesnt scale to XYZ per ns. Does it need to?

Boring wins almost every time.

sumtechguy··on Make zip files smaller with zip shrinker
Yeah that probably should just be an option. Basically the default is to least mangle the zip file. Where the most extreme is turned on by flags. One of those could be 'remove empty folders'.
sumtechguy··on S-100 Virtual Workbench
Yeah I was thinking that. Also at some point you will be switching motherboards every other cpu update just due to the socket changes between generations.
sumtechguy··on S-100 Virtual Workbench
Heh, not sure why but it makes me wonder if you could 'Ship of Theseus' something like that into a modern day desktop. By going thru the different eras of DIY compute.
sumtechguy··on They Live (1988) inspired Adblocker
I want to see the outtake lines they didnt use. Roddy Piper had tons of one liners he would use for wrestling.
sumtechguy··on He asked AI to count carbs 27000 times. It couldn't give the same answer twice
I wanted an accountant I got a poet.
Page 1 of 34Next →