• 0 Posts
  • 27 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2022

help-circle





  • A couple of ideas:

    Encoding holograms

    • Model the object in 3D space (using Blender maybe?)
    • Use the Angular Spectrum algorithm to model light propagation, its interaction with the object, and it hitting the recording medium.
    • Your final recorded hologram should have two maps (aka “images”) across (x, y): a map of the light’s amplitude and another of its phase offset. This is your recorded hologram.

    Decoding holograms:

    • Use the angular spectrum algorithm again except reverse the light’s propagation direction. The amplitude and phase maps from the encoding phase are the initial conditions you’ll use for the light.
    • The light’s amplitude and phase information you calculate at various planes above the recording plane are the 3D “reconstructed” image.

    Last thought

    Holography is often used to record information from the real world, and in that process it’s impossible to record the light’s phase during the encode step. Physicist’s call it “the phase problem” and there are all kinds of fancy tricks to try to get around it when decoding holograms in the computer. If you’re simulating everything from scratch then you have the luxury of recording the phase as well as the amplitude - and this should make decoding much easier as a result!


  • GrappleHat@lemmy.mltoLinux@lemmy.mlHow bad is Microsoft?
    link
    fedilink
    English
    arrow-up
    19
    ·
    4 months ago

    A coworker recently sent me a Word document with edits and comments they had added. When I downloaded & opened it (in Word on Windows!) it told me that it had the edits/comments but it wouldn’t let me see them unless I log in to my Microsoft account and then view it online in the web version of Word. What the actual fuck?

    Fuck that. I responded to my coworker and asked them to just send me the edits via email in plain text. I’m not winning popularity contests at work, but what the fuck Microsoft?


  • If you’re nervous about the switch consider dual-booting. Then you’re not fully committed to the switch & you can have your old Windows system back whenever you want it.

    Main steps are:

    • Run a defrag on your Windows machine to physically consolidate all your Windows data to one area.
    • Break that partition into two (Linux will go one the new empty side)
    • Install Linux from a USB as normal, but don’t choose to wipe your drive completely. Choose a manual option instead where you specifically indicate your intended Linux partition from above.
    • Optional: Once installation is complete you can set up another partition to hold files which can be available to both OSs.
      • Boot into Linux & define the remaining unused space in the Linux partition as a new NTFS partition & give it a name which makes it obvious what it is (i.e. “sharedspace”)
      • Then boot into Windows and move the existing data you’d like to share between OSs here (work documents, movies, music, etc.)

    Some useful links:








  • I use Linux at the office. I’m the only employee at my company who does.

    I haven’t had many issues collaborating with others using libreoffice while they use MS office. I do keep a Windows VM running for those somewhat rare instances where I need Windows for something though. I also needed to invest quite some time to figure out Linux alternatives for everything (how to use company VPN, how to get MS Teams working, how to connect to network drives, etc).

    But so far so good. Been 100% Linux at work for maybe ~1.5 years?





  • Personally, I’ve used many trackers over the years. I currently use Loop Habit tracker but only for recording the information day-to-day. I periodically export my data in .csv format and merge it with my “long term storage” in a big spreadsheet which contains >10 years of data. I like doing it this way because I like to do statistics on it, plot it, etc. and that’s very easy in .csv format on a computer (I’m a nerd).

    Because my “long term storage” is just a simple .csv I don’t need to worry about compatibility between apps. Also, if I lose my phone it’s not a big deal because I’d lose, at the most, a few months.


  • Here are a couple of ideas:

    • Loop Habit has the ability to save a full backup. Maybe try setting up your habits, add some fake data, and generate the backup. Open the backup file in a text editor and see whether you can infer the structure. If so, just reformat your old data to match that structure and then import that “hacked” backup file back into Loop.
    • Loop Habit says it can import backup files from Tickmate, Habitbull, and Rewire as well. Similar to the above idea, if you can reformat your saved data to match one of those formats you should be able to import it into Loop.