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

If you decide to use these functions. Beware of the sharp edges. Read the documentation. Read the documentation for your specific version and platform and compiler you are using. Between different CRT's these things can act differently even though they say they do the same thing.

comment 2y ago · link · parent

The current PE exe format supports it. As well as a few Alpha, a few ARM formats, a few MIPS format, Itanium and of course x86. The big part would be finding a compiler that spits out the right code. The preceding NE format also did a few variations.

comment 2y ago · link · parent

Could also use it to figure out where it is happening.

My friend had a cat that had nearly the same thing. He accidently figured out what was triggering it. It was the fabric softener he was using and the cat liked to roll around on the bed.

comment 2y ago · link · parent

Managing these things is a skillset too. You now have X VM's and Y' containers and Z storage things. You still get to manage them. It is easier but is not a zero cost which some people seem to think it is. I have one where it is basically internal and I am at my teams all the time 'clean up your mess'. Tons of PoC's spun up and just left laying around. Things that do millions of calls (to be fixed later). That sort of thing. A cloud abstracts one set of skills. But everything above that line is still on the groups to manage.

Cloud stuff is really alluring at first. Works for awhile then the costs become above what it would cost to run it yourself. Cloud is not a 'set it and forget it' sort of thing. You have to manage it too.

comment 2y ago · link · parent

There is a way to extend the format. As it has version number. It does have some metadata fields (drive geometry, compression formats, version of mame created with, etc). The trick would be getting the MAME team to accept the changes. Just dumping it on the end of the file I would guess they would not be too happy with.

There are a number of requests out there to extend the chd format and fix a few things. They are currently tracking some of this info in XML files (called hash files). They would be down with more accurate information though. So you would need a proposal that adds more accurate information and gives them something to work with. More like getting all the info that something like the redump project tracks in there would make them very happy.

There is a separate project that some other emus use libchdr which is a soft fork of MAME. I think they are trying to track closely to what the MAME group is doing but let other emus use it.

comment 2y ago · link · parent

You are almost describing the MAME CHD format. As they have the problem that the object (hard drive, cd, dvd, etc) must be in one file. Have the ability to do differences (writable in some cases). But also compressed (compressed hunks of data). They also need that sub track data too as some systems do interesting things with that sub data. As some even hide their encryption format in the SBI fields. The CHD format is more like a container that acts like whatever media it was. Depending on what system they hook it up to. The downside is there is no concept of 'metadata' to find different things in CHD. It is up to the system it is hooked up to to interpret what that data stream is.

comment 2y ago · link · parent

> There are reasons standard libraries exist

That right there. Before there is a standard lib for something if there are N people coding something up there could be N! ways to do something.

If you do not know about a standard lib or it doesn't exist there will be some wild code written.

It is when that standard library shows up you should at least consider just throwing your bespoke code away. Not always but should at least be considered. I personally have replaced thousands of lines of code and modules I wrote just by switching them to some existing library. The upside is if that standard lib does not do what I want I have enough knowledge to either bend it around so it does or I can fix it up (or put my bespoke code back). I know I am not that smart, but I know enough that my code is probably brittle and probably should be thrown away.

Also watch out for some 'standard libs'. Some of them are little more than someone's hobby project and have all the exact same issues you are trying to avoid. One project I worked on some guy had written a grid control. He was charging something like 10k a year to use it. But it was just one guy and I quote "i just touch it once or twice a year and drink margaritas on the beach". It was a bug prone riddled mess we spent a non insignificant amount of time fixing. We bought another one for a onetime fee of 500 bucks and it was wildly faster and more importantly had near zero bugs and a turn around time of 1-2 days if we found one.

comment 2y ago · link · parent

From the concept pics they have up it looks more like each container is a self contained 'train'. They say it is for zero emissions but it takes energy to move cargo. 'conveyor' belts do not have free energy. You have to move the belt and the cargo.

Interesting idea though. I hope they come up with some cool ideas.

comment 2y ago · link · parent

only if there are cookies

comment 2y ago · link · parent

I remember him being in a very mediocre shooter on the psx called Blasto. The game play was fairly meh. But the one liners were a lot of fun. I bought the game specifically because he was in it.

comment 2y ago · link · parent

I do not have that exp with Steam as I run it at computer launch so it is fairly a non event. However, I feel your pain. My playstation and switch I have that nearly same exp as I do not use them much. Which means pretty much any time I do want to play something on them is an update. Sometimes a fairly large one at that! By the time I am done updating I have decided to do something else.

These update systems only have one good use case. If you are pretty much connected all the time. If you rarely run them. You are pretty much stuck in a update stack.

I even joke with my wife 'i am playing my favorte playstation game "updating"'.

comment 2y ago · link · parent

Also to understand it you have to think about typewriters, printers, and then text terminals. With a typewriter a cartage return with no line feed could be desirable if you are editing or using strikethru chars. Or on a CRT going to the beginning of the line to overwrite whatever text was there could also be a desirable thing. Then add in the mix of a dozen different companies making things and it was a recipe for 'you get all the different ways'.

comment 2y ago · link · parent

In most terms if you constrain supply price goes up. If you make cheaper to make and get and supply goes up it becomes cheaper. Waving the 'just tax it' flag does not actually make things cheaper or better. It just shifts costs and removes capital from the system. It is the broken window fallacy. If you just spend money on 'this other thing' 'this other great thing will happen'.

To understand that this book shows what doing that sort of thinking does. https://fee.org/ebooks/economics-in-one-lesson/

Getting tax law and pushing things to work are a delicate balance. Recycling is a good example of it. We are paying people money to 'recycle' plastic. When the reality is only 5-10% of plastics can be recycled. There is no magic fix. The basic problem is economics. Plastics are cheaper to use. Because they are a byproduct of something everyone needs. That is not going to change. If you tax it here they can find some other country willing to crack the oil and do it for the cheap way. You have to make other options cheaper. That usually comes thru volume.

comment 2y ago · link · parent

I am going to go with Kellys Heros.

comment 2y ago · link · parent

> need just _some_ revolutionary approach

That 'revolutionary approach' is making one of the other things that we can recycle very easily cheaper. Plastics are wildly cheap and durable enough for their use. But paper (kinda recyclable), glass (very recyclable), metal (very recyclable) are kind of expensive vs plastic. Taxing it would create a weird perverse thing. The real thing that needs to happen is the remaining 3 things we can recycle easily need to be cheaper. When nat gas became cheaper vs coal (which is really cheap) the energy companies very quickly started switching over to NG.

comment 2y ago · link · parent

Or how about those 'oh just mail your laptop to us, we will get to in in a few weeks' 'oh its your only computer oh well'.

comment 2y ago · link · parent

> It's not the device, it's the users' choice in how they use it.

This right here. But I take it in a different way. That tool is mine. I get to chose how it is used. Advertisers seem to think they own some of my time to get 'free things'. Application makers seem to think they own some of my time to try to get more money out of me thru the use of dark patterns. The phone companies seem to think they own some of my time and sell my data because I pay them. Other people seem to think they own my time because I have the thing and should be on call 24/7 whenever they want to get ahold of me.

When they first came up with the idea of the current smart phone. It was really cool. Then I have realized that everyone is using it to grab my time from me. All of them seem to get mad when I set the thing down on a table somewhere and ignore it and enjoy the things I want to do.

comment 2y ago · link · parent

Possible. But more than likely they will meet in the middle and ARM will get something and QCOM will get something. But no where near what either is asking. But qcom does have a stronger position.

comment 2y ago · link · parent

They have a moat around them right now due to the price of the hardware. As HW gets cheaper and other models grow that moat will evaporate. Especially as that stuff comes off lease and put up on ebay. It is their weak spot that they will have to innovate around. Long/medium term I do not see how they keep it all to themselves.

comment 2y ago · link · parent

That is almost exactly how they usually do it, but they many times negotiate per company. However, it does look like ARM trying to have a redo on their contract that they have had in place for a very long time, now that ARM is more popular. When it was the cell manufactures that made it possible for ARM to be in the current position it is in precisely because of the terms ARM had in its contract years ago. Qcom may have a good case as they have put arm chips in computers before (omnitracs). ARM saying it has to be tied with a modem, and buying another company does a full reset on the existing contract may not go far.

comment 2y ago · link · parent

Having to write one for a class in college made me a master of pointers and C. Arrays within arrays rendering to Z buffers and crude matrix operators. Now all built into a nice lib and 3 calls away.

comment 2y ago · link · parent

Then you would find the NCC-1701 from some BBS...

comment 2y ago · link · parent

That is not how layoffs worked in companies I have worked at. The goal is to reduce 'head count' and in the real world cost.

They rank you by pay and tenure. Then decided if they can do without you. It almost rarely has anything to do with how good you are. But more 'my project would not finish in x time if y was gone'. Then they decide to keep the whole project or not and if they get rid of the project that means maybe 15 other people can go too.

After a particular level in many large companies you become a cost number instead of a person.

What you are working on may seem important. At least it is to you. But in the grand scheme of things most of what we work on is ethereal. I have been in this industry coming up on 30 years now. Very little of what I have ever worked on is even in production anymore. Thousands and thousands of lines of code, just gone, of no use anymore. I just hope whatever I did work on can help me with the next few thousand.

comment 2y ago · link · parent

> Everyone knows they're being tracked everywhere they go physically and on the web

That sounds good to some people. But if I mentioned it to most people in my family they would probably be rather weirded out by it. They probably also would have no idea of the scope of the size of it and how it is being used against them.

comment 2y ago · link · parent

Tom Clancy loved figuring out military tech. His books are full of stuff like that.

comment 2y ago · link · parent

It is what is driving spacex. They also embrace failure. It is where they learn what went wrong and fix it. At one point they were 4 rockets away from going out of business. I think they got down to the last 1 or 2 and they worked and spacex got to stay around and do cool stuff. Without money that company would not exist. They are now forcing the whole industry to re-think what it means to fire a rocket off. They have shifted everyone into thinking reuse is the best way forward. Where as before everything was mostly a one off special one time build. That profit is what is making them sustainable instead of the whims of some senator from whatever state decides to spike your program in favor of his buddies program.

comment 2y ago · link · parent

There are a few vids of people trying it in the first cities. The consensious was pretty 'meh'. Cities traffic is 'interesting' as its priorities are not the same in real life. Usually a roundabout and playing with the priority tool worked better. In the second one the alg is very different though so it may help some. Getting one setup and the lights timed correctly would defiantly be a challenge.

comment 2y ago · link · parent

I used the icq web interface for a few years. It was 'ok' it was missing a lot of features but worked in a pinch.

comment 2y ago · link · parent

Then something like trillian to glue them all together.

comment 2y ago · link · parent

> as unencrypted and unauthenticated communication was the norm, even on most networks

That it worked at all was pretty amazing :)

1
111213
59