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

Now add this to your prompt. "please write a simple python program to generate these types of reponses" and see what it spits out!

comment 3y ago · link · parent

That at that time would not have been a bad take.

The big telcos were handing out data in miserly amounts and eye bleeding prices (think 50 bucks for 1MB then another 30-50 for SMS). AT&T was willing to pair with an unlimited plan set the iPhone wildly ahead of all the other phones in that category. VZ messed up big on that one. They were touting how amazing their network was meanwhile their competition was letting people surf the net from their phone. VZ was meanwhile still charging silly rates for SMS. Meanwhile I could open a connection on an iPhone and use an online chat service or the unlimited SMS. All of the other phones from that time could do similar things. It was the per month charge that people balked at to do simple internet things. Then on top of that it was apple so it had a bit of cool to go with it. I personally think though without that data plan the thing would have been a dud.

comment 3y ago · link · parent

Plex can act as a 'head unit' and do format transform and metadata management. Then stream it to a secondary plex client. KODI does not do that. That is the one killer feature Plex has over KODI. In all ways KODI is better except in that use case. Picking data from a CIFS is basic XBMC/KODI/Plex functionality and has been in there for a long time going back to the original xbox days. Jellyfin is similar with its ability to transcode and stream that to a client. In some cases they let you stream it thru a web client (which is kinda cool).

It is a nice feature for low bandwidth applications. Say a VPN to your phone, or a friends house who has crappy internet. If I remember correctly there were a lot of clients also for TV's which have absolute rubbish CPU power and no local storage (for holding metadata). Also the centrally managed metadata is nice when you have more than one client. You can get the same effect with KODI and using a DB like mysql or mariadb. But it is sort of finicky to setup correctly.

I personally use KODI as I do not need that particular streaming feature. Also it is broken with ISO's which is one of my major use cases.

comment 3y ago · link · parent

My only quip is both are basically unreadable in most use cases. Most programs worth anything that use these formats usually strip out all the extra spaces and formatting. You usually have to take an extra step to 'reformat' just so you can read it. And anyone who has had an open paren or carrot or missing could show how painful manually parsing a 400+ field one of these is. Trying to say one is better than the other ignores the use cases for both. One being good at slugging data into javascript/python. The other being good at light typing, annotation and transform.

comment 3y ago · link · parent

Plex was forked from XBMC which is renamed to KODI an open source project. Think the fork was around version 8 or 9. KODI is up to 20. Downside to KODI is it does not have streaming built in like Plex. But has built in emulation again like earlier version of XBMC.

comment 3y ago · link · parent

malloc gets memory from the heap which may or may not be paged in/reused. That means you may get reused memory from the heap (which is up to the CRT).

If you want make sure it is zero you will want calloc. If you know you are going to copy something in on the next step like your example you probably can skip calloc and just us malloc. calloc is nice for when you are doing thigs like linked lists/trees/buffers and do not want to have steps to clean out the pointers or data.

comment 3y ago · link · parent

The only way you can get win311 software working on win10 is to install the 32 bit version (aside from emulation). Not sure win 11 has a 32 bit version. Also win311 apps can be wildly picky what sort of dlls are installed. So your mileage can vary.

comment 3y ago · link · parent

What I find interesting is there were 2 cuts of that movie. One to show investors and the gov, and the one he released into theaters. He wanted to show that space is wildly dangerous, empty and lonely. However, the people paying the bill which he needed wanted a different movie and more upbeat and hopeful about space travel. I just recently learned about that interesting bit of trivia about the movie.

comment 3y ago · link · parent

What I can find a bit more 'scary' is do they even need a deep understanding of it? ChatGPT will get it 'pretty close' and probably many times correct (as well as wrong). But if it is 'mostly right' then does it matter? Which is even more philosophical. As long as they can read the code and it does it like 95% right it may be just fine and they can fix it later? Heck they could even ask chatgpt what is wrong with it...

comment 3y ago · link · parent

The ELD does tons of stuff. It tracks location, speed, doors, shifting (to teach better strategies to the driver), logs, fuel levels, and anything the engine can spit out thru that jbus (like obd-ii which some do use). We used to upsell tracking things and having parts on hand at the correct depots for fixing things before they became an issue on the side of the road. HoS is just one part of what those things do. But even the simplest of them usually hook into the data bus at some point to detect 'drive'. You can buy ones that are just apps and do only HoS. But not sure if those are considered legal anymore (been a few years since I messed with it). When you have 1 truck HoS is a big part of why you want them. When you have a fleet of 2000+ trucks your metrics are different in what costs more.

comment 3y ago · link · parent

considering I was at his wedding reception when I asked I sure hope not!

comment 3y ago · link · parent

When I was making these things in the late 90s that is exactly why the drivers loved them. And my software had an audit trail anyway (as required by the big green book).

A fun game I used to play was 'how many log books do you have'. Lowest was 1, the guy was following the rules as best he could. Highest was 6, 1 for himself, 1 for his boss, and 1 for the cops. Not sure what the other 3 were for (he could not explain them).

comment 3y ago · link · parent

People are already cut and pasting solutions off random webpages and stackoverflow. That they would grab stuff right out of chatgpt does not surprise me in the least. I would ask back 'why would this be any different this time?'

comment 3y ago · link · parent

There is a museum in SF that shows exactly what would happen if that were to happen. It was proposed in the early 20th century. The conclusions from those experiments they did was it does not end well for most of the bay area if that happens.

comment 3y ago · link · parent

I am going to sorta disagree. I see your point and I am sure there is some of that. But hands down Disney parks are some of the best parks I have been to. With universal being a very close second. I am also probably never going back (price ratio is wrong and getting worse).

In this case a VR exp would have to feel like going to a park. However, there is something that is missing (or many somethings). You hanging with your friends and family. Now they could also all go get headsets and you hang together. But that seems oddly not the same. Buying that overpriced popcorn and basically 'fair food' is also part of it. Disney would have the best shot at making a park into a game. As most of their rides are 'dark rides'. Basically trains going thru experiences. A fixed park is little more than a carnival but in a fixed location and cleaned up nicely with theming. VR strips out the carnival aspects and is only theming. That strips out part of what you are going for.

I have also been to parks all by myself. That is what wearing a VR headset would feel like. It is not a good experience. You could say 'oh all your friends could get headsets too'. True but at that point you are now looking at similar costs as just going to the parks.

comment 3y ago · link · parent

Guess I am in trouble then if I ever get stuck into something like that. My 'public' information whenever I query it is a blend of at least 3 other people. Of which only one I know. One DB thinks I am married to my mother-in-law.

comment 3y ago · link · parent

Windows has a flag for that for it to respect case. But it would probably bug out a bunch of programs. I usually see it with samba shares. But you can get it to do it on the local filesystem too if you try hard enough. Also it is a bit of a pain when it does happen if you get two files with the 'same name'. One file will be basically invisible to most of the normal windows tools.

comment 3y ago · link · parent

That is one nice thing about blue screens now. If you get them now it defiantly gets your attention. There is either a driver issue or a bad hw component (overheating, poor/broken connection) on the gp's new machine. I have not see one on my own machines in probably 4 years (bad driver). My wife gets one about every 2-3 months. They are identical hardware. I dropped her laptop on the floor one day by accident. It has not been quite right since (especially if she leaves an 360 controller plugged in). Forced reboots can happen. Usually about once a month you get a shot at it when they do their monthly update cycle. So if you happen to stay up past 3AM on the second Tuesday of the month you might get one.

comment 3y ago · link · parent

I have about 2500 titles owned going back to the early 90s. Of those I have about a dozen or so that just do not work. The entire DOS set is emulated fairly good these days. A few are starforce being the usual suspect and a 'no-cd' crack not being available. I have 5 or so that just do not work on newer version of windows. Either relying on some quirk of XP/98 or a particular CPU speed range. One is longest journey which works again thru scummvm.

Emulation is about the only way I can keep my games running long term. Due to hw changes or OS changes.

comment 3y ago · link · parent

I usually ask it to describe the concept first. To make sure it is in the right space. Then I say something like "please write a c++ version of that".

It will do a decent job at it.

Last night a friend who refuses to get an account to use it was having an issue with a cisco router. I put in what he was trying to do. It was not right and gave him an error. I fed that error back in and it realized he had a different version and gave me a better way to do exactly what he wanted. It had kept the context and said 'oh some routers do not have that command here is another way to do it'. He had spent weeks googling around for the answer. I had it in under a half hour and I had never used the interface he was changing before.

Then you can turn around and ask it to write a horror story about a monster that devours couches. It will make something up (it is very good at that). Then you can say 'oh put that in the style of the SCP foundation'. It will.

This tool is wildly interesting. I think dismissing it is a bad idea. I look forward to using this thing as it gets better.

comment 3y ago · link · parent

Consulting companies like that come in two flavors. Both types start with 'you want something we will build it'. When it comes time to do it though you get two wildly different types. One is you will specify every little detail. Think number of pixels from upper left of the screen a control will go. Oh you want it to move with the window and reflow correctly? Oh that's a material change of contract (i.e. more money for them and crap for you). The others seem to have a clue and will just build the right thing in the first place (rare). They both snag you on the back end with support. It is like a box of chocolates you never know what you are going to get.

Having used this particular one in the past. You want to have your details in order before you build anything (waterfall). But at that point you might as well make it yourself in house. But you are already committed to it (sunk cost).

It is great for middle managers who want to still 'code', but not really, but want to be architects. They get a 'cheap' team and maybe look like they are still doing things. I personally got the leftovers of that on a few projects when the manager realized it was basically a double time job to manage his own team and the offshore one too. The manager will get bored with it or overwhelmed by it and realize 'oh wait I need 3 of my devs and 2 PMs to manage this bad boy'.

If you think you have the 'they will build the right thing' kind of guys you need to test for that. Even then a 'good shop' can turn into something else later on as they switch people in and out on you.

comment 3y ago · link · parent

The 256 bytes is the boot loader? You do not need much for that. Basically enough to init the cpu, setup a couple of interrupt tables, and kick it running. For example the 80s/90s version would be the first sector on a floppy that inits the OS. In addition to the BIOS setup that probably put the read of that floppy in motion.

If I remember my GB history right this was a DRM measure to stop companies from copying the rest of the game rom and it still work on the actual hardware. Most emulators did not really need it as they had basically figured out what that area was doing anyway. Think in the GBA they even had an animation in there (which you can tweak going by setting a few HW registers) and the ROMS checked to see if the screen memory was correct at startup.

comment 3y ago · link · parent

I did exactly that. That does not teach you to write a good program. It shows you how to make a compiler in yacc and bison or whatever the current flavor is. A skill I have had need of very rarely. Most of the time you do not need to reinvent a whole grammar with parser to get your task done.

For new devs I take on. I stress good code structure, testing, regression, QA, path testing, logical layout of architecture, end user requirements and delivery of code. I assume fundamentals. If they are missing them I get them on projects where they would learn particular ones.

comment 3y ago · link · parent

Adult daycare is a bit harsh.

But even 'back in the day' on my first job out of college as a freshly minted CS major. My boss looked at me and said 'today you start to learn to write software'. He was mildly joking with me but was also very serious. A CS degree does not mean you can write software. Even 25 years ago I graduated with people who only took the intro pascal class and nothing else. These were CS majors. I knew going out on that I was a 'green' and had no real practical coding skills. Those I learned very quickly on the job.

I had all the fundamentals. The thing I was missing was writing software itself. Why testing is important. Why structure and readability is important. How to decompose the program into different systems. I am glad for the CS degree as those issues do pop up from time to time. Mostly though I am gluing this framework to that framework so someone can fill out a form and automate some paperwork system.

comment 3y ago · link · parent

nice!

I think that MAME also has a NeXT emulation in it as well. Not sure how far along it is though. Think they had it booting most of the basic demo stuff but I could be confusing it with another bit of hw they had recently got running.

comment 3y ago · link · parent

For me when I tried it, it forgot the board half way thru and decided there were no more moves possible (4 left). Then forgot one of my moves.

It is an NLM it does not have the ability to reason. In my case the NLM 'next iteration' was a half a game with a missing move and 'nothing left to do'.

comment 3y ago · link · parent

The thing was when pocket calculators came out they were expensive to get ahold of. Like 500-1000 bucks for one (in 1970s terms that is a lot). This sort of NLM is effectively free. All you need is an account and the cell phone you already have. This is disrupting classrooms right now. Everyone I talk to that has a kid is saying their kids are using it for coursework. I get why teachers are 'oh no...' as of right now it is exploding on them. They have not had time to digest it. Unfortunately at this point chatgpt is like an reporter summing up information it has no idea what it is talking about and putting it into nice prose that looks good. So while in your area of expertise you can spot out the issues. But you flip the page and it is on a different subject it will be tough to spot out the errors. Simply because you do not know and attribute expertise they do not really have onto it. This NLM is that but turned up to 11.

"where the puck is going" is something to consider and we will 100% get that wrong, but right now this thing is creating waves and making issues now.

comment 3y ago · link · parent

I have noticed this behavior too when you run into the 'guard rails'. The thing gets stuck in not exactly a loop, but it will not unstick from that. Not sure what to call this sort of loop. Maybe bias loop?

It is seriously annoying when it does it. Probably the weights of what they want to have happen somehow get shoved in there and you have to basically prune them out one by one to unstick it. Simple statements like 'that seems to be wrong' do not unstick it. You basically have to say 'remove all references of XYZ from this conversation and do not bring it up again'

comment 3y ago · link · parent

I can see why educators are getting involved. They are seeing it change how their students do work in real time.

I grew up and using a pocket calculator was verboten. You just did not do it. You better learn and memorize all of that stuff. Spin on 10 years after me and all kids have them now. If you have the right app on your phone the thing will OCR the problem and auto solve it and show you the steps. ChatGPT and its ilk are here, now. How we learn and create things has dramatically changed in under a year. It is not clear how much though.

Teachers are trying to get ahold of what does it mean to teach if you can just ask some device to summarize something as complex as the interactions of the 6 major countries in WWII and what caused it. Then the thing thinks for 2 seconds and spits out a 1000 word essay on exactly that. Then depending on which one you use it will footnote it all and everything.

This style of learning is going to take some getting used to. This tool is in their classrooms right now. Right or wrong. It will be there. The teachers are going to have to figure out what this means to their class planning. Not 5 years from now, today.

1
272829
59