Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

badreg

Member
  • Content Count

    918
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    badreg got a reaction from HelpfulTechWizard in Is it worth editing photo's/videos in 10-Bit if most content is view on 8-Bit displays   
    That's not how bit depth works. More bit depth just means finer gradiations between colors, which has nothing to do with gamut size.
     
    If the same content looks different on two different displays (ignoring differences in black level and viewing angles), either:
    The content has colors that cannot be properly rendered by one of the displays (beyond the gamut of the hardware or profile), or Much more likely, you have not calibrated and profiled both displays. When you create content, you can't control how it will be viewed. You just have to make sure that it looks as intended on a properly calibrated display, and that the majority of your audience will be able to view your content as intended.
  2. Agree
    badreg got a reaction from shadow_ray in I want to programm my own "Alexa" (complete newbie).   
    You are using libraries as soon as you write
    #include <stdio.h>  
    So unless you are going to program in assembly, or write your own C compiler and libc, nearly all the code you will ever write will be dependent on premade libraries.
  3. Like
    badreg got a reaction from JohanKjeldahl7 in I want to programm my own "Alexa" (complete newbie).   
    Not really.
     
    It's more like trying to invent calculus, but not accepting that addition already exists, and coming up with your own system for addition. Computer science is a lot like mathematics. Your work builds upon the foundation of work that has already been done.
  4. Agree
    badreg got a reaction from Kilrah in Python, File to PNG Compressor.   
    Then you're down to a much more manageable 176MiB (8 byte header for PNG plus 3 bytes for the pixel), although the size on disk would be much larger.
     
    But regardless of how much disk space this uses, such a library absolutely is useless, because it would take many orders of magnitude longer to load 3 bytes of data from disk than it would be to generate the pixel on the fly.
  5. Agree
    badreg got a reaction from straight_stewie in Python, File to PNG Compressor.   
    Then you're down to a much more manageable 176MiB (8 byte header for PNG plus 3 bytes for the pixel), although the size on disk would be much larger.
     
    But regardless of how much disk space this uses, such a library absolutely is useless, because it would take many orders of magnitude longer to load 3 bytes of data from disk than it would be to generate the pixel on the fly.
  6. Agree
    badreg got a reaction from Will L in Remote photo editing over a NAS   
    Adobe Creative Cloud exists for this exact use case. Is it not an option? No reason to reinvent the wheel if an off-the-shelf solution already exists.
  7. Like
    badreg got a reaction from Emeth in Is Dual rank guaranteed   
    Because module manufacturers do not manufacture the DRAM chips (which are supplied almost entirely by three companies). If, for example, there is a shortage of 8Gb chips, a module manufacturer might decide to go with a 16x4Gb configuration instead of a 8x8Gb configuration to produce a 8GB stick.
     
    If you buy a single kit, they will all contain the same ICs, so all sticks will be single rank or dual rank. When you purchase identical kits separately, there is no guarantee that the ICs are the same.
     
    4x8GB is not guaranteed to be single rank. I have some 8GB DDR4 sticks that are dual rank. It is just that 8Gb chips are the most common/economical at this time, so an 8GB stick is most likely going to be a 8x8Gb configuration while a 16GB stick is most likely going to be a 16x8Gb configuration.
  8. Like
    badreg got a reaction from Emeth in Is Dual rank guaranteed   
    Two rows on each side.
  9. Like
    badreg got a reaction from TheFirstDylan in Double gpu non sli power consumption   
    Assuming that your 650W is a quality unit, you have plenty of headroom with your current setup. Adding a 1030 for 2d output is going to draw an additional ~10W, which is insignificant.
  10. Agree
    badreg got a reaction from Wolfycapt in I want to build a $500+ system that trade blows with the PS5. What should I do?   
    You can't. The bill of materials is close to $500 for Sony. Consoles are sold at a loss for the first several years after launch.
  11. Like
    badreg got a reaction from Thready in Best photography monitor under $500, with HDR   
    HDR is for HDR video content creation and consumption. Viewing HDR photos on a monitor isn't really a thing. In general, "HDR photography" refers to images that are tone mapped down to 8-bits.
     
    OLED displays are great for consumption, but they are poor choices if color accuracy is the priority. IPS panels have terrible black levels compared to OLED, but color accuracy is the reason why almost all high-end professional displays are IPS. Most people who view your images will not be viewing on OLED displays, and you have no idea how they would look on different displays unless you process and proof on a color accurate display.
     
    Finally, HDR does not improve black levels. It increases the peak brightness, which increases the contrast ratio. But for photo editing, you are generally going to calibrate to ~120cd/m2 and 750:1 contrast ratio is sufficient.
     
    The only factors at the $500 price point that you should consider (besides size and resolution) are gamut coverage and how well it will calibrate to sRGB and Adobe RGB (preferably 99%+ of both and a max Delta E below 3).
  12. Agree
    badreg got a reaction from kelvinhall05 in Best photography monitor under $500, with HDR   
    HDR is for HDR video content creation and consumption. Viewing HDR photos on a monitor isn't really a thing. In general, "HDR photography" refers to images that are tone mapped down to 8-bits.
     
    OLED displays are great for consumption, but they are poor choices if color accuracy is the priority. IPS panels have terrible black levels compared to OLED, but color accuracy is the reason why almost all high-end professional displays are IPS. Most people who view your images will not be viewing on OLED displays, and you have no idea how they would look on different displays unless you process and proof on a color accurate display.
     
    Finally, HDR does not improve black levels. It increases the peak brightness, which increases the contrast ratio. But for photo editing, you are generally going to calibrate to ~120cd/m2 and 750:1 contrast ratio is sufficient.
     
    The only factors at the $500 price point that you should consider (besides size and resolution) are gamut coverage and how well it will calibrate to sRGB and Adobe RGB (preferably 99%+ of both and a max Delta E below 3).
  13. Funny
    badreg got a reaction from GDRRiley in 2011 DSLR vs 2019 phone?? (Oneplus 7t pro vs cannon eds 600d)   
    Resolution and dynamic range? Definitely a modern phone.
     
    Form factor and interchangeable lenses? Dedicated camera.
  14. Like
    badreg got a reaction from Levent in Analysing MSI's .ocb files.   
    There's probably a checksum somewhere in the file. Look for other differences and try to reverse engineer how the checksum works.
  15. Like
    badreg got a reaction from gwtx2 in C++ Programming Issue   
    It's a buffer overflow. When your function tries to write to words[20], it is actually writing to the memory address that contains the value of alpha, so the value of alpha is overwritten. Change the declaration of words to words[MAX_WORDS + 1].
     
    Edit: My original explanation is incorrect. words is not a std::string, but an array of std::string, which is zero index. It is still a buffer overflow, because of these two lines:
     
    numWords++; words[numWords] = filetxt; numWords needs to be incremented after each line is read, so these two lines need to be switched.
  16. Like
    badreg got a reaction from GeminiJ13 in Preapplied paste?   
    Paste is not pre-applied on a Noctua cooler, but it will come with a tube of Noctua paste. OEM paste is not the absolute best that you can buy, but it will be within a couple of degrees C of the best paste, so for most people, the included paste is just fine.
  17. Informative
    badreg got a reaction from Mark Kaine in How to make a window stay in front.   
    Set the window to be always on top.
     
    Using AutoHotKey:
     
    ^1::Winset, Alwaysontop, Toggle, A  
    This toggles the active window between always on top and normal with Ctrl+1.
  18. Like
    badreg got a reaction from Rylyguy in How to make a window stay in front.   
    Set the window to be always on top.
     
    Using AutoHotKey:
     
    ^1::Winset, Alwaysontop, Toggle, A  
    This toggles the active window between always on top and normal with Ctrl+1.
  19. Agree
    badreg got a reaction from Eigenvektor in Getting the Y position of the highest pixel in an image that is not transparent (JavaScript)   
    Seconding @Eigenvektor's suggestion. Have you tried logging the value of
    imageData[i * 3]?
     
    It would also be helpful to know what you are getting as the return value of the function. Is it always -1 or some other random unexpected value?
  20. Like
    badreg got a reaction from Electronics Wizardy in CrystalDiskInfo says SSD at 68% - Should I be worried?   
    The endurance of the 840 Evo NAND has been tested to 1000 P/E cycles, or roughly 120TB of writes on your 120GB drive. There are currently 31TB of host writes on the drive, so if you continue at the same pace, expect it to die in about 15 years.
     
    CrystalDiskInfo doesn't know the exact endurance of the NAND and is just giving an appropriate number. 68% ≈ 74%.
     
    https://www.anandtech.com/show/6459/samsung-ssd-840-testing-the-endurance-of-tlc-nand
  21. Like
    badreg got a reaction from jazzguitar1440 in Requirements for Dual 4K set up?   
    An RTX 3080 can power 4x 4K displays. In fact, many less powerful GPUs can.
     
    7680x4320 is four times the number of pixels of 4K, so any GPU that can output 8K60 can do 4x 4K60. (Edit: provided that the card has four output ports that can each do 4K60.)
  22. Agree
    badreg got a reaction from Nolanrulesroblox in How to add HTML data to image?   
    By default, a GET request to "/images/9e3a0083a37d03274c0f733fbcf389ba/tenor.gif" returns an HTML page, which sends another GET request with different request headers to the same URL, which returns the image itself.
     
    First request and response:
    :authority: media1.tenor.com :method: GET :path: /images/9e3a0083a37d03274c0f733fbcf389ba/tenor.gif accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 ................ content-length: 2180 content-type: text/html; charset=utf-8 Second GET request and response:
    :authority: media1.tenor.com :method: GET :path: /images/9e3a0083a37d03274c0f733fbcf389ba/tenor.gif accept: image/avif,image/webp,image/apng,image/*,*/*;q=0.8 ................ content-length: 3119003 content-type: image/gif There is definitely something server side going on. Removing text/html from the Accept request header will return the gif immediately when loading the image URL directly. curl (which uses Accept: */* by default) will also return the gif.
     
    It seems that the server is exploiting the fact that all modern browsers have "text/html" in the headers by default, and simply uses this as a check. If the Accept header contains this string, it means that the request was initialized via the address bar of the browser or via an HTML <a> element, so the server returns an HTML page to the user. The second request was initialized through an <img> element, which has different default Accept types, and the server returns the actual image.
  23. Informative
    badreg got a reaction from Gessler555 in CrystalDiskInfo says SSD at 68% - Should I be worried?   
    The endurance of the 840 Evo NAND has been tested to 1000 P/E cycles, or roughly 120TB of writes on your 120GB drive. There are currently 31TB of host writes on the drive, so if you continue at the same pace, expect it to die in about 15 years.
     
    CrystalDiskInfo doesn't know the exact endurance of the NAND and is just giving an appropriate number. 68% ≈ 74%.
     
    https://www.anandtech.com/show/6459/samsung-ssd-840-testing-the-endurance-of-tlc-nand
  24. Informative
    badreg got a reaction from piratemonkey in Something is overriding my color profile when certain games are opened   
    You can experiment with this yourself by changing the color profile in your Color Management settings. Your display will be visually different when viewing the same image, but if you take screenshots, they will be identical. There are no such things as software/logical/physical pixels. The GPU simply takes a set of RGB values and outputs a set of brightness values to your display. An .icc profile modifies a GPU's LUT and gamma table, which changes the brightness values that are sent to the display. However, the RGB values that are used as input do not change.
     
    This was the suggestion in one of my previous posts.
  25. Informative
    badreg got a reaction from OfficialTechSpace in Something is overriding my color profile when certain games are opened   
    You can experiment with this yourself by changing the color profile in your Color Management settings. Your display will be visually different when viewing the same image, but if you take screenshots, they will be identical. There are no such things as software/logical/physical pixels. The GPU simply takes a set of RGB values and outputs a set of brightness values to your display. An .icc profile modifies a GPU's LUT and gamma table, which changes the brightness values that are sent to the display. However, the RGB values that are used as input do not change.
     
    This was the suggestion in one of my previous posts.
×