• 0 Posts
  • 34 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle


  • For graphics, the problem to be solved is that the N64 compiled code is expecting that if it puts value X at memory address Y it will draw a particular pixel in a particular way.

    Emulators solve this problem by having a virtual CPU execute the game code (kinda difficult), and then emulator code reads the virtual memory space the game code is interacting with (easy), interprets those values (stupid crazy hard), and replicates the graphical effects using custom code/modern graphics API (kinda difficult).

    This program is decompiling the N64 code (easy), searches for known function calls that interact with the N64 GPU (easy), swaps them with known valid modern graphics API calls (easy), then compiles for local machine (easy). Knowing what function signatures to look for and what to replace them with in the general case is basically downright impossible, but because a lot of N64 games used common code, if you go through the laborious process for one game, you get a bunch extra for free or way less effort.

    As one of my favorite engineering phrases goes: the devil is in the details


  • Having grown up and still have the majority of my family live in rural areas, you’re correct in that there’s a mentality that animals are tools, a means to an end. But I don’t think many with that mentality will be forgiving of her for this.

    With that mentality there is also a general understanding that these are “dumb animals” who can and will fuck up and especially hunting dogs need a lot of training. A dog who fails the training isn’t usually put down, just either given some less strict job, kept as a pet or put up for adoption. Taking her at her word, it sounds like the dog had killed some chickens and had turned towards her and tried biting. But being the dog was only 14 months old, sounds like it had an excited temperament and hadn’t learned just how much bigger than other animals it truly is. Hardly a reason to kill an animal, even if it was just raised as a tool.


  • MajorasMaskForever@lemmy.worldtoProgramming@programming.dev...
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    2 months ago

    Ada

    It has a lot of really nice features for creating data types and has amazing static analysis during compile time.

    But all the tooling around it is absolute crap making using the language unbearable and truly awful. If it had better tooling I could see that it would have taken a decent chunk of development away from C and C++



  • Yes and no.

    Chess bots (like Stockfish) are trained on game samples, with the goal of predicting what search path to keep looking at and which moves will result in a win. You get game samples by playing the game, so it made sense to have stockfish play itself, since the input was always still generated by the rules of chess.

    If a classifier or predictive model creates it’s own data without tying it to the rules and methods in reality, they’re going to become increasingly divorced from reality. If I had to guess, that’s what the guy in the article is referencing when talking about “sanitizing” the data. Some problems, like chess, are really easy. Mimicking human speech? Probably not


  • As someone who is in the aerospace industry and has dealt with safety critical code with NASA oversight, it’s a little disingenuous to pin NASA’s coding standards entirely on attempting to make things memory safe. It’s part of it, yeah, but it’s a very small part. There are a ton of other things that NASA is trying to protect for.

    Plus, Rust doesn’t solve the underlying problem that NASA is looking to prevent in banning the C++ standard library. Part of it is DO-178 compliance (or lack thereof) the other part is that dynamic memory has the potential to cause all sorts of problems on resource constrained embedded systems. Statically analyzing dynamic memory usage is virtually impossible, testing for it gets cost prohibitive real quick, it’s just easier to blanket statement ban the STL.

    Also, writing memory safe code honestly isn’t that hard. It just requires a different approach to problem solving, that just like any other design pattern, once you learn and get used to it, is easy.




  • So many people forget that while they understand how to use a Linux terminal and how Linux on a high level works, not everyone does. Plus, learning all of that takes time, effort, and tenacity, which not everyone is willing to do. Linus’s whole conclusion was that as long as that learning curve exists and as long as it’s that easy to shoot yourself in the foot, Linux desktop just isn’t viable for a lot of people.

    But Linus has done a lot of public fuck ups therefore everything he says must be inherently wrong.


  • Whenever I replay OOT I never have a problem with Navi. She rarely hard interrupts, usually just a short tone and flashing C button that goes away after a few seconds. The voice lines only trigger if you press the button to call her, in most cases the hints she gives are genuinely helpful, and stays out of your way for the vast majority of the game.

    Fi from skyward sword though… Far worse because she does interrupt gameplay, often repeats what the last dialogue box just fucking told you, and takes several dialogue boxes to tell you what Navi would have taken one to do. I’m glad they significantly overhauled her interactions in the HD release but I’m still going to be hesitant to play that game again


  • I think part of the “what do I do with this” factor for the iPad was that Apple (and other companies still to this day) were so hell bent on making everything smaller and more compact that releasing a larger product was marketing whiplash. Not to mention that smartphones were being pitched as this “do everything device” so why would you need anything else?

    After you get over that marketing sugarcoating, it becomes pretty obvious what you’d use an iPad for. Internet and media consumption at a larger scale than your phone, easier on your eyes than a phone, but retains at least some of the lightweight smaller form factor that separates it from a regular laptop. Sure you didn’t have the stick it in your pocket advantage of a phone or the full keyboard and computational power of a laptop, but there was this in-between that for a modest fee, you could have the conveniences if you can live with/ignore the sacrifices.


  • I don’t think the MacBook Airs launch is a good comparison.

    Sure there was an early adopter tax on being one of the first “thin and light” laptops, but people already know what you can use a MacBook for, there was already a large value proposition in having a MacBook, the extra cost was entirely being more portable than it’s full size counterparts. Everything you can do on a Mac, just way easier to take on the go.

    I’ve read a few reviews on it, watched MKBHD’s initial review, and outside of a few demo apps they point to the vision pro having no real point to it. Which if true, then it falls in line with existing VR headsets that are a fraction of it’s cost and in a niche market, being three times the cost of your competitors is not a good position to be



  • Who Watches the Watchers kinda is a mundane episode about the prime directive since it’s morality isn’t really being questioned. The interesting part of the episode is watching the Enterprise crew repeatedly screw up trying to uphold the prime directive before deciding that they’ve already violated it like crazy on accident, might as well use that as a way to try and fix it now. The scenes actually about the prime directive were the most boring parts of that episode.


  • The issue is that with ongoing service across time, the longer the service is being used the more it costs Kia. The larger the time boxes Kia uses the bigger the number is and the more you’re going to scare off customers.

    Using Kias online build and price, looks like the most expensive Telluride you can get right now is $60k MSRP, cheapest at 30k

    Let’s assume Kia estimates average lifetime of a Telluride to be 20 years so they create an option to purchase this service one time for the “lifetime” of the vehicle. Taking in good faith the pricing Kia has listed, using that $150 annual package, and assuming that price goes up every year at a rate of 10% (what Netflix, YouTube, etc have been doing) across those twenty years you’re looking at around $8.5k option. At the top trim thats still 14% extra that is going to make some buyers hesitant, at the base model that’s 28% more expensive.

    Enough buyers will scoff at that so Kia can either ditch the idea entirely as they’ll lose money on having to pay for the initial development and never make their money back, or they find some way to repackage that cost and make it look like something that buyers are willing to deal with.

    To me the bigger issue is the cost of the service vs what you’re getting. Server time + dev team + mobile data link cannot be costing Kia more than a few million annually, mid to upper hundred K is more likely so they must not be expecting that many people to actually be paying for any of this


  • It’s IEEE misinterpreting the guys original paper.

    https://liuyang12.github.io/proj/privacy_dual_imaging/ (can’t find the full paper, but here’s the abstract at least)

    The paper author straight up says the light sensor is impractical to use as an attack vector, but when you use it in conjunction with other sensors you might be able to gleam more information than most might think. It leaves me with question of what other sensors can you combine to start getting behavioral information that is a security threat?

    I’ll say it worked for me. I read the IEEE headline, called bullshit, dug into it and yeah you can only get a tiny bit of information that you have to stretch pretty far to get useful conclusions from… But it’s more than the zero I initially thought. So props to the paper author, he met his goal. IEEE wanted sensationalized clicks, which they too unfortunately got.


  • Yup your right, I was wrong. Valve keeps the copyright regardless.

    Dolphin situation was different though. https://dolphin-emu.org/blog/2023/07/20/what-happened-to-dolphin-on-steam/

    Valve only ever insisted that Nintendo had to give Dolphin permission to distribute since Valve was afraid of a potential DMCA coming from Nintendo if Nintendo thought that the encryption keys were IP illegally being redistributed. Since Nintendo says emulators are illegal everywhere but a courtroom, Dolphin team knew that they’d never get an ok. Valve probably knew that but didn’t care enough to help fight that legal battle.

    I’m not sure Valve cares about brownie points with Nintendo. The Steam Deck is a direct competitor against the Switch, Valve has done nothing to curtail the use of Switch emulators on Deck, and the work Valve has been doing makes using a switch emulator a better experience.

    This whole thing only makes sense if Valve wanted to protect their IP. Involving Nintendo really does sound like blame shifting without having to actually go to court


  • I’m with you on the first part. It makes no sense for Valve to do this. Using LibUltra or not, Nintendo has been relatively lax on people creating new code for the N64. At least to my recollection only in cases where Nintendo felt their IP was directly being threatened did they try and take down fan projects. Even then they heavily rely on the redistribution of Nintendo IP to take things down. Admittedly I have only seen others talking about the Portal 64 project using LibUltra but even so that’s Nintendo’s fight, not Valve’s.

    I don’t see how Valve could possibly be afraid of getting sued here by Nintendo, it doesn’t make sense. Valve did not create it, nor distribute, advertise, or aid in any way. IANAL but I don’t see how Valve could possibly be listed as a party to the lawsuit unless Nintendo lawyers agreed with Valve lawyers to go after this guy for IP theft.

    TBH I see this more as Valve seeing that with a project this publicly known, if they don’t defend their IP here they’ll lose any future copyright claims and want to prevent it. They also see an opportunity here, blame Nintendo who won’t flinch it at since they get labelled legal bad guys all the time, no real dent to their reputation while saving Valve’s internet golden child perception. Valve would never do something like this so it MUST be Nintendo’s fault. Based on the comments in this thread and I’ve seen else where, that seems like a good assumption. Nintendo takes the heat while Valve protects their IP.