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

> I think those still required NTVDM

Pretty sure you are right. As I think that is what setup the interrupts for it. Win9x did it very differently and would basically just put command.com back in charge of stuff to sort of make it work with a sys file. NT with DPMI programs was usually very hit or or miss (more miss). If they did not play just right with windows the thing would just crash out.

Think there might be a win11 32 bit out there. But nothing that MS sells to normal end customers. But my brain may be playing tricks on me and I am confusing different articles I have read. But that would probably be some sort of weird kiosk ODM build. Not what most normal people would have (like in that post).

comment 3y ago · link · parent

That is very hit or miss. Out of the 1200 or so I own I have maybe 20 or so that do not run because the game did something weird with the APIs (or starforce).

comment 3y ago · link · parent

My guess is this is a PE format type windows application. Though I suppose you could get a NE format file to work correctly if the binary was compiled as 32 bit. My memory is a bit fuzzy on this but I think you did have the option to compile either way.

comment 3y ago · link · parent

That depends on if they are using 64 bit or not. The 16bit VDM was deprecated on that move from 32 to 64. Which is the majority of most installs these days.

What is kind of neat is every windows application/dll is a valid DOS application. The first part of all of them is a valid MZ DOS 16 EXEcutable. Windows just treats it as a skippable header and reads the real header that is about 100 bytes in and then decides which subsystem to fire up (win3x, win32, OS/2, etc). But if you take a exe compiled today with current tools and put it on a DOS 3.3 box it would run the exe and print out it can not run (the exe has that in there).

Also from that era not all DOS applications were exclusively 16 bit. Many were hybrid. Just to have better control over the memory space instead of using segmentation was usually worth the speed boost (as well as the bigger registers). Windows from that era usually had extra 'pid' file where you could basically tag the executable as 'hey you are about to run a 32 bit app get out of the way windows oh and support dpmi while you are at it'.

comment 3y ago · link · parent

NYT will have to prove that the derivative work is still theirs. Just violating the license may not be enough. That could be bad by itself I guess. But considering the interactive prompt can produce a wild amount of variations of 'not NYT stuff' will make it though to say what sort of damages is this.

A similar sort of issue popped up in the 80s around colorization of films. https://www.latimes.com/archives/la-xpm-1987-06-20-ca-8405-s... https://chart.copyrightdata.com/Colorization.html

The answer may be 'maybe'? As from what I read they basically split the decision down to 'i know it when I see it' style of ruling. If the copyright is still in effect then NYT owns that portion of the output but not others parts. As the secondary effect would be owned by the generator company (in this case OpenAI) or the person who prompted for it. If that is the case NYT would have to prove what parts (nodes? bacreferences? weights?) they own?

comment 3y ago · link · parent

"were not google" is usually good for things where people are using cargo cult. I saw at one company that went open floor plan because google did it. No one was happy about that. Retention became very low and everyone bailed out. Emulating google does not fix process and management issues. As what may be at google for a good reason may be an utter failure at another company. There are things all shops can adopt that google does that would help them. But many of the ones I have seen adopted were little more than showy garbage instead of the things that would actually help.

Also sometimes you just need a simple tool to get something done. As engineers we like to build things so sometimes we make it way more complex than it really needs to be. For someone like google that may just be fine to do. For others a minimum viable product may be in order. Do not worry about optimizing for the 3 million user per day case when you have 10 total users a month. Add logging and keep an eye on it. Then worry if you need to scale. As building good scale takes time and thought. Many times you do not need that at all.

As your company/group grows you will take on more and more of the things 'google does' because you will need to, or you will go nuts chasing everything. You could probably even make stages out of the different times to do/evaluate things. To do it early could actually harm what you are doing. You need to evaluate what you are doing and why. Just copying someone else does not always lead to a good outcome and you could be wasting effort when you could be making product.

comment 3y ago · link · parent

My tendency is 'i may need it'. Even though logically I know 100% for sure I will never need it. I have been curbing my tendency by not buying things. I put it into digital hording. Which fortunately fits on a couple of HDs. Which reminds me I have more boxes of cloths from the late 80s to get rid of (hope I have the will to do it). What helped me one day was I was hording bottle caps that had points on them. I had put off cashing them in. Then I realized they were expired. I was able to throw the whole lot of them away. It was SO liberating. I was free of that junk. I was literally running around the house going "IM FREE". I have been very careful to only buy/take things that have a shelf or box to go into. I do not buy more shelves or boxes to put more junk in, and rule #1 nothing on the floor or tables. I think I got this from my mother. That house has many closets full of stuff that has not seen the light of day in decades. Floor to ceiling full. The rest of the house is okayish. But it is one disaster away from full on hoarding. the gp comment about the burden of it rings very true to me.

comment 3y ago · link · parent

Apparently some sellers keep their stuff on amazon shelves. Amazon will sometimes charge a stocking fee or a fee to send the stuff back if your business goes belly up. So the sellers will just pick a victim and dump their whole inventory on them because it is cheaper to ship them out than to continue to keep them stocked at amazon. But that may be wrong so someone with better insight could correct me if I have this wrong. This could be a side effect of the way Amazon works with 3rd party.

comment 3y ago · link · parent

AH the 'i didnt know' side of logging. Once you start logging you probably will find all sorts of things going on you did not know about. Things you probably now need to address.

I have also made the mistake of logging because I could. Logging without a plan I have found to not be worth it. If you are not going to take actions on those logs. Why are you keeping/making them? The flip side is when something breaks you will know you want those logs. Hopefully, you will have what you need in them (usually not). But then you turn on more and more as you need it and eventually find a happy medium.

comment 3y ago · link · parent

There is a market for these things. But that market the big companies making them does not seem to understand. They keep doing these big splashy expensive things that most people do not want but some do. So instead of small launches with iteration into good things they come out swinging. Overspend like crazy then the thing looks like a total disaster. All of these companies want hockey stick curves on sales and are totally unsatisfied with small trial runs.

comment 3y ago · link · parent

Yeah for any movies where that happened usually the people around them doing it corrected the behavior. One movie ages ago when cell was sort of new a dude just flipped the bad boy open and bragged about how he was at a movie and talking on the phone openly. The rain of popcorn and m&m's shut him down fairly quickly. 'dude turn it off' 'whatever' candy rain. Sort of sucked for me as I was a couple of rows in front of the guy and everyone's aim was not exact. That was almost 20 years ago.

comment 3y ago · link · parent

For a single home 10/sec is probably fine. But remember you are using other peoples infrastructure. Be nice. You probably want a local resolver anyway in a case where 10/s is an issue. Even for home use a local caching resolver is not a bad idea. It usually makes just day to day web surfing feel much snappier. Most home routers take care of it but are rather limited. I usually set up a local one then have my local DHCP just hand out that address so all the clients get the right thing instead of going to some external source. That way I can have a list of resolvers and one IP to hand out to my client computers. The default of many home routers is the router for the DNS field in DHCP.

comment 3y ago · link · parent

The space I was in was IoT type items. Usually hub controllers. The thing is that is getting less and less as you can get a fairly robust thing now with a couple hundred meg of flash and ram for a very reasonable price. So those 'must fit in 32k' items are few and far between these days. With that sort of space you may as well use the proper libs that are usually nicely documented and all the quirks have been seen by hundreds of other poor souls such as yourself.

comment 3y ago · link · parent

I worked with a guy who made easy into the 200k range in the early 2000s two separate pension plans. Total dumpster diver. He loved the thrill of finding stuff. Wore complete rags at work. Drove a car from the early 70s. Ate simple homemade leftovers ever day for lunch. He loved the idea of racking up a high score.

comment 3y ago · link · parent

It was from when there was a time when cat/dog food was wildy cheap. So people would eat it. It is just a leftover from the 60s/70s.

comment 3y ago · link · parent

'So your story ran over again help me understand where we can improve your work flow'.

comment 3y ago · link · parent

It is a transferable skill. But not one many people want to pay for except in very niche areas these days. So if you are out of a job expect to grind for awhile trying to find someone to hire for C++. Unless you have network connections then you might be ok. Being good at C++ only goes so far, you have to have skills in techs people are willing to pay for. Not many companies are willing to wait while you skill up in their stack unless you are willing to work jr but they will not hire you anyway because 'you will jump ship'. Its not great.

comment 3y ago · link · parent

Those stacks can be full of 'not invented here'. They are unique and have their own quirks. Quirks that you more than likely can not google for any sort of guidance as to what is going on. I wrote one of those stacks a few years ago. No std libs at all. Why? must fit in 32k and most of that space is needed to hold data. That means throwing a lot of those helper bits out or spend weeks figuring out how to bend the compiler to your will and not include everything. When it is easier just to roll your on CS version of whatever. But it sucks because you probably have odd edge cases.

comment 3y ago · link · parent

you are not wrong. they can be very destructive. it is why most places keep an eye on them but mostly try to leave them alone. if they get near something like a road and flood it out they get captured and moved.

there are other parts of the US where they are basically extinct. we have literally decimated the beaver population in the US and Canada and are just starting to understand what that means. so some of those places are moving them back in to good effect. those areas have turned into basically deserts. there are no roads are farming near them because the beavers are no longer replenishing the aquifers and those guys left long ago. the fish are long gone because the rivers run dry every year now. once they put them back the fish return the banks start to grow with new growth and the rivers do not run dry every year. the best things that beavers do is what is called water linger. letting the water soak in and help the surrounding area.

in other areas like where you are from they are considered a nuisance because you have enough of them to fill the area up which is your point.

the downside to these sorts of conversations is everyone wants to do 'that one ting' but to properly fix these sorts of things is not planting some trees or dropping a beaver in. you have to have an ecosystem around them that supports that sort of thing. all the way up from the rocks, dirt, microbes, moss, bugs, small animals (birds and rodents), grasses, trees, and larger animals like beavers or foxes or bears. pluck one of those things out and the whole system hurts as there becomes an imbalance and stuff will die out or like you point out overrun the rest of the area. if your area is overrun with something there is probably some sort of imbalance.

comment 3y ago · link · parent

Very nicely said. They fall somewhere between MR=MC and MR=MD because of the type of product the are. I am surprised it is as low as 35%. But I will accept that. A company as big as Apple should know where its 'sweet spot' is for pricing. Too high and people walk, too low and you are leaving money on the table. It took me awhile to wrap my head around the concept. But the math does check out. Most intro econ classes teach it with 'the pizza parlor' and simple demand/supply curves. What the slope of those curves are depends on your competition and your market status (aka reputation). Apple has squarely tried to make themselves look like a premium product. All the way from its advertising to the box the thing comes in to the store you buy it in. That puts them more on the monopoly side as monopolies will do that to increase MR=MD.

The are not totally a monopoly. They may be that in some peoples influence. But mine for example my parents literally would not be able to tell the difference between a generic sub 50 dollar phone and a 1500 one. They do not use any of the extra features and it would be meaningless to them. For some people it is about the status of that logo on the back. For others it is the tech stack and integration. For others it is just something to text and phone with.

comment 3y ago · link · parent

In economics the closer you get your price to be MR=MC the better off your profit. If they did as you said more than likely they would be leaving money on the table. This is usually a fairly common intro economics problem as it can seem unintuitive to lower the price to make more profit. Now iPhones do have somewhat of a 'monopoly' effect. But only to a point. In a monopoly you want MC=MD. https://openstax.org/books/principles-economics-3e/pages/9-2...

Apple falls in the middle of those two axioms. If Apple could pull of an iPhone for 1 cent there would be a flood of entrants into the market doing the same thing as making the things would be cheap and easy. At first some would pay the premium (pay for the name) but after awhile that premium would erode and it would seem odd to pay when you can get the same thing for wildly less money.

comment 3y ago · link · parent

A good amount of that tech was also designed for ICBM usage. Some of it would may or may not have existed. It would be hard to prove either way as we only have what happened not what could have.

comment 3y ago · link · parent

but now its like the number of licks to the center of tootsie pop the world may never know!

comment 3y ago · link · parent

For me it is 'cattle'... 'cattle mutilations are up'

comment 3y ago · link · parent

Also maybe Valve just did not want to be the ones to have to fight it in court? Even if they were victorious it takes time from them that they can do other things. Many businesses will settle rather than fight something just because it is more expedient/cheaper not because it is right or wrong.

comment 3y ago · link · parent

There is a mod for the current version of cities that does model it. You have to make sure you have enough parking or your buildings will go empty.

There is a also a DLC addon where you can have walkable cities. It is pretty tricky to get just right.

comment 3y ago · link · parent

I would expect it to be 'ok'. Basically as if you used a pre-trained LZW table only and shipped that along with each stream but the results would be mixed. A compressor has the advantage of foresight and hindsight whereas a LLM would only have hindsight. As any input stream would be basically at the mercy of the previous streams fed into it. Those may or may not be optimal.

It is an interesting hypothesis. But my gut feeling is I would expect a LLM to perform on average worse. Competitive? Yes, but still worse. But it is something I am sure someone will test.

From the hundreds of different compressor models I have made for myself over the years. Usually believe it or not the compressed data is usually the best part. It is the decode tree/table/key/whatever that usually ends up crowding out the savings on the compressed data. In this case it would be the LLM weights or whatever the LLM spits out for the tree/decode.

comment 3y ago · link · parent

Good summary.

The LLM vs a static tree has some interesting oppositions. With a static tree as emitted by a compression alg will probably many times beat an LLM. As it has full knowledge of the whole stream (or in gzips version that window). So it can do things where it can look back and say 'hm the tree I spit out was not that good let me build a better one'. Where as an LLM does not really have that before hand knowledge. Using a pre-cooked LZW tree for all inputs would be more akin to using an LLM.

comment 3y ago · link · parent

they did

comment 3y ago · link · parent

Exactly. They are designed to do exactly that. I remember ads for companies that no longer exist. I remember ad campaigns that the companies abandoned decades ago. That was designed to be in my brain. To be the 'first choice' on products when equivalents exist. Some of this stuff was so effective it literally changed the way people buy things and why they buy them (mmmm bacon).
1
242526
59