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

help-circle
  • Here’s a tip on good documentation: try to write the documentation first. Use it as your planning process, to spec out exactly what you’re going to build. Show the code to people (on GitHub or on a mailing list or on lemmy or whatever), get feedback, change the documentation to clarify any misunderstandings and/or add any good ideas people suggest.

    Only after the docs are in a good state, then start writing the code.

    And any time you (or someone else) finds the documentation doesn’t match the code you wrote… that should usually be treated as a bug in the code. Don’t change the documentation, change the code to make them line up.




  • Sure we can make a different ticket for that to move this along, but we’re getting product to agree first.

    Ooof, I’m glad I never worked there.

    QA’s job should be to make sure the bugs are known/documented/prioritised. It should never be a roadblock that interrupts work while several departments argue over what to do with a ticket.

    Seriously who cares if the current ticket is left open with a “still need to do XYZ” or it gets closed and a new one is open “need to do XYZ”. Both are perfectly valid, do whichever one you think is appropriate and don’t waste anyone’s time discussing it.


  • what else do I get with something like CARROT that the default doesn’t offer

    More control over what data is highlighted as the primary metrics at the top of the report (or on widgets).

    Where I live the actual temperature and “feels like” temperature are often really far apart. Apps like Carrot can be configured to show “feels like” as the main temperature, but Apple only shows it if you scroll down all the way down past a bunch nearly useless stats like the sunset time (spoiler, it will be the same as yesterday) and how the current temperature compares to the historical average.

    Also, I live near the beach and want to know the tides. That’s almost more important than the temperature.




  • Sure, but the vast majority of Mac software at the time, including loads of first applications from Apple, couldn’t run on Tiger. You had to run it in the “Classic” environment - and they never ported that to Intel.

    Tiger shipped just 4 years after the MacOS 9.2 and plenty of people hadn’t switched to MacOS X yet.

    The reality is Apple only brings things forward when they can do it easily.

    Apple has done eight major CPU transitions in the last 40 years (mix of architecture and bit length changes) and a single team worked on every single transition. Also, Apple co-founded the ARM processor before they did the first transition. It’s safe to assume the team that did all those transitions was also well aware of and involved in ARM for as long as the architecture has existed.


  • Apple has the target disk mode, but doesn’t the laptop need to be shut down for it to work?

    Modern Macs can’t do Target Disk Mode. If you had the right cables (thunderbolt or firewire) it was really fast, just as quick as a high end internal PCIe SSD.

    And yes, you did need to reboot - because the other computer had full arbitrary read/write access to the raw sectors on the drive with no safety checks or security. If you did that while the computer was running normally, you’d corrupt the data on the disk as soon as they both tried to do a write operation at the same time — and also TDM needed to be used with caution - the other computer could easily install a rootkit or steal all your saved passwords.

    It’s been replaced with “Mac Sharing Mode” which operates while the Mac is running normally, does have all the necessary algorithms in place to avoid corrupting the disk, full security to authenticate each read/write operation and block attempts to mess with system files, and therefore is orders of magnitude slower than TDM.


  • I know iPads (and I assume Android tablets) can be a second screen over wireless using third party software but it’s not uncompressed video with disk access last I checked.

    The video is compressed (how much depends on your network speed, it’s not always noticable). And it’s far more than just video - you can copy files over the connection. Keyboard/mouse/touchscreen/stylus inputs are sent over it, and video camera/microphone data can be streamed in real time as well. There’s also a control protocol to temporarily switch from sending the entire screen to sending just a URL (and auth cookies) to a HLS video stream such as a YouTube video - which will cause the other computer to directly access the content over the internet instead of one computer downloading it, decompressing it, then recompressing it and sending it to the other computer.

    And it’s not just iPads. Macs, iPhones, Apple TV… they all have that capability. It’s the core underlying system behind AirPlay, AirDrop, Continuity Display, Universal Control, Clipboard Sharing, Continuity Camera, etc etc.

    I do it all day every day between my desktop and laptop Mac — I effectively use this as a KVM so I can control my laptop using the nice mechanical keyboard and mouse attached to my desktop (also, it’s a handy way to avoid having to keep data in sync over the cloud… I tend to do all my note taking on the laptop and just never access them from the desktop - eliminating any risk that one of them might not be fully synced up with the latest data).

    It works best over thunderbolt but it’s usually done with wifi — always a direct wifi connection that bypasses your router because the amount of bandwidth required is so high that if you sent it to a router and then to a computer… your wifi would almost certainly collapse under the load.

    Target Disk Mode doesn’t exist on modern Macs. It has been replaced with a new “Mac Sharing Mode” which is technically completely different. The new system is basically just a regular network fileshare (I think it uses SMB), while I think the the old system was PCIe connection if you had thunderbolt/firewire (fast) or something much worse if you were using USB (that never worked well).


  • Solar, wind, hydro can do it, but the amount of CO2 produced by manufacturing the generators is still massive

    That’s FUD.

    Sure - the concrete in a large hydro dam requires a staggering amount of electricity to produce (because the chemical reaction to produce cement needs insane amounts of heat), but there’s no reason any CO2 needs to be emitted. You can absolutely use zero emission power to high temperatures needed to produce cement.

    And not all hydro needs a massive concrete wall. There’s a hydro station near my city that doesn’t have a dam at all - it’s just a series of pipes that run from the top of a mountain to the bottom of a mountain. There’s a permanent medium sized river that never stops flowing that comes down off the mountain - with an elevation change of several hundred metres. It provides more power than the entire city’s consumption and does so while only diverting a tiny percentage of the river’s water. As the city grows, the power plant can easily be upgraded to divert more of the water though pipes instead of flowing uselessly down towards the sea.

    Covid and Russia’s war created massive fluctuations recently but if you look through that noise global CO2 emissions are pretty much flat and have been for a few years now. They are almost certainly going to trend downwards going forward (a lot of countries already are seeing downward movement).

    The simple reality is fossil fuels are now too expensive to be competitive. Why would anyone power an AI (or mine crypto) with coal power that costs $4,074/kW when you could use Solar at $1,300/kW (during the day. At night it’s more like $1,700 to $2,000 with the best storage options, such as batteries or pumped storage). Or wind at around $1,700.

    Nuclear is $8,000/kW unless you live in Russia, where safety is largely ignored.

    Hydro can be cheap if you happen to be near an ideal river - but for most locations it’s not competitive with Solar/Wind. So hydro is safe as a long term power generation method into the future, but it’s never going to be the dominant form of power unless (like my city) you happen to have ideal geology.


  • Unless you pay for expensive tags (like $20 per tag) or use really short range scanners (e.g. a hotel key), RFID tags don’t work reliably enough.

    Antitheft RFID tags for example won’t catch every single thief who walks out the door with a product. But if a thief comes back again and again stealing something… eventually one of them will work.

    But even unreliable tags are a bit expensive, which is why they are only used on high margin and frequently stolen products (like clothing).

    All the self serve stores in my country just use barcodes. They are dirt cheap and work reliably at longer range than a cheap RFID tag. Those stores use AI to flag potential thieves but never for purchases (for example recently I wasn’t allowed to pay for my groceries until a staff member checked my backpack, which the AI had flagged as suspicious).


  • I’m betting the owners of the NYT would LOVE to have an AI that would simply re-phrase “news” (ahem) “borrowed” from other sources

    No way. NYT depends on their ability to produce high quality exclusive content that you can’t access anywhere else.

    In your hypothetical future, NYT’s content would be mediocre and no better than a million other news services. There’s no profit in that future.


  • It sounds like it should work to me.

    As an example, as a kid I couldn’t play first person video games until game developers worked out they need something in a fixed position taking over a significant portion of the screen (for example, a steering wheel in a car or the gun you’re holding in a shooter).

    Turn those fixed overlays off, and after just playing for a few seconds I’ll be sick the rest of the day. If anything I’m even more sensitive now than when I was a kid - but with the right overlays I’m all good.

    I’d bet Apple did a lot of research into motion sickness while developing the Vision Pro headset. Good to see some of that coming to other products.


  • Putting my developer hat on and reading various reports - this smells like Apple had a really bad data loss bug which they quietly fixed by attempting to automatically recover lost photos from some corner of the database that still might have the data. Such as the thumbnail database or a cache.

    Backups people. Make sure you have good backups and for your most precious photos not just digital ones - print them. And send a physical copy to your grandparents as a gift - they’ll love it and it will be one more place you can recover that photo of your kid’s birthday if you ever need to

    And if you don’t want something in a photo… don’t take the photo.



  • If any of that is part of the hiring process - I don’t want the job.

    If HR is incompetent enough to consider things like relationship status or political opinions then what other bullshit policies does the company have? It’s probably the tip of the iceberg.

    By far most important thing is to have good colleagues, because without good colleagues your job will be miserable or the company will not last (or both). Made the mistake of working for a shitty job at high pay once and it was one of the worst decisions of my life.

    Don’t waste your life working for incompetent companies.

    Also, as someone who has hired devs… if you have a public profile, and it doesn’t make you look hopelessly incompetent, then your application is going onto my shortlist. Too many applications cross my desk to look at all of them properly, so a lot of good candidates won’t even get considered. But if there’s a GitHub or similar profile, I’m going to open it, and if I see green squares… you’ve got my attention.

    You’ll get my attention wether the username matches your real name or not, but bonus points if it’s your real name. Openness leads to trust. And trust is criitcal.




  • abhibeckert@lemmy.worldtoTechnology@lemmy.worldHello GPT-4o
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Where will they get their info from with no one to scrape?

    It’s not like there’s a shortage of human generated content. And the content that has already been generated isn’t going anywhere. It will be available effectively forever.

    just “standing on the shoulders of giants”.

    So? If you ask an LLM a question, you often get a very useful response. That’s ultimately all that matters.