Readit News logoReadit News
x4e commented on Request: Re-open JPEG XL issue   bugs.chromium.org/p/chrom... · Posted by u/blurred
doodlesdev · 3 years ago
I'm not aware of any photo editing software that can export 12bit JPEG (although to be fair I don't know many), I am aware though that JPEG 2000 supports 12bit color and that JPEG XT supports up to 16bit color, perhaps that's whats causing the confusion?
x4e · 3 years ago
Darktable supports it under JPEG2000: https://docs.darktable.org/usermanual/4.0/en/overview/suppor... (Darktable also supports JPEG XL)
x4e commented on Launch YC S21: Meet the Batch, Thread #4    · Posted by u/dang
Gamerpay_mhs · 5 years ago
Thanks for the feedback on the FAQ and thoughts. Agreed that the Steam API key is sensitive data and thus all keys, user data etc are secured by appropriate encryption. Same goes for cash transactions & wallets that are handled by partners that are compliant with the financial authorities (to prevent eg money laundering). We work with the Steam APIs on a daily basis and yes some part of the documentation could be more up to date.. and it's not Stripe quality!
x4e · 5 years ago
Why do you need the API key? Why not just do it like a traditional escrow service: you receive both the money and the item traded to a steam account you own. Then once both are received you send the money and you send a trade request giving the item to the receiver?
x4e commented on Tell HN: Protonmail is no longer private, sharing user info with US authorities    · Posted by u/hammock
chriszhang · 5 years ago
My last straw with Protonmail: I created an email account in Protonmail. Used it to send and receive emails as usual. Then one day suddenly their "algorithms" suspended my account because the "algorithms" found that my account was being used for abuse. That was the end of Protonmail for me. Back to GMail. I know people lose their GMail accounts too. But in the last 17 years, I had 0 issues with GMail and 1 issue with ProtonMail and that 1 issue disrupted my life for a while.

I now find me asking: What is a good reliable email provider out there? I know I can host my own email in my own server under my own domain name but on HN we have seen articles about people losing their domain names too. Is there truly no good way to have permanent email address?

x4e · 5 years ago
I would say self hosting is best. At least if you lose your domain name you still have your emails.
x4e commented on Firefox lost 50M users since 2019   data.firefox.com/dashboar... · Posted by u/freediver
chiefofgxbxl · 5 years ago
I've been a Firefox user for at least 15 years as well, and the recent UI updates in v89 is the first instance of me refusing to update Firefox.

I updated my user prefs file to permanently disable updates, so I'm remaining on pre-ProtonUI v88. Of course, I don't know how much longer I could sustain that because I'd also not receive security patches, but in the short term it's what I'm doing.

The new Firefox UI is incredibly frustrating, and feels like it walks back sensible UI principles. Removing icons in the main menu was celebrated as "de-cluttering" [0], when in reality icons improve ease of use. The "floating" tabs feel more distracting [1], when they claim the opposite. Heck, even user prompts no longer colorize the "primary action" button [2].

Also, what's with modern UIs becoming increasingly childish and watered down? The word I'd use to describe the new proton UI is "blurry".

[0] https://www.mozilla.org/media/img/firefox/releasenotes/note-... [1] https://www.mozilla.org/media/img/firefox/releasenotes/note-... [2] https://www.mozilla.org/media/img/firefox/releasenotes/note-...

x4e · 5 years ago
Not updating a web browser is a fantastic way to make your computer very insecure. I understand the desire to keep things the same but personally I would value security above that.
x4e commented on strcpy: A niche function you don't need   nullprogram.com/blog/2021... · Posted by u/grep_it
speedgoose · 5 years ago
It's unsafe.
x4e · 5 years ago
And what is safe? C has well defined, tested, and documented specifications which layout exactly how to use C safely. Languages like Rust are more safe but nothing is just safe. If you are an inexperienced developer it is still very easy to write insecure code in Rust.

Sure, moving to safer languages is good. But it is impossible to rule out the use of a language so established that every major operating system is written in it. It is practically impossible to not use C - safe languages are normally bootstrapped by it and eventually your “safe” code will run in an environment programmed in C.

x4e commented on strcpy: A niche function you don't need   nullprogram.com/blog/2021... · Posted by u/grep_it
mlindner · 5 years ago
I forget the exact reasoning now, but I remember it being about 10x slower than memcpy or strncpy. I think the main reason was because of the need to parse the format string.
x4e · 5 years ago
Oh I see, I thought you were comparing it to the printf style methods but compared to methods that do not take a format string that makes sense.
x4e commented on strcpy: A niche function you don't need   nullprogram.com/blog/2021... · Posted by u/grep_it
mlindner · 5 years ago
It's also slowest of all the string functions. Additionally, providing the NULL as the buffer argument does all the work of creating the actual string you're going to copy (in the case of using multiple format characters) and then discarding it. So you have to do the format operation twice, doubling the cost of any string operation.

Oh and it's not compatible with UTF-8.

x4e · 5 years ago
Why is snprintf slow? I am surprised that it would be slow especially when compared to methods like asprintf that allocate the buffer.
x4e commented on Crossing an entire country in a straight line   magamig.github.io/posts/c... · Posted by u/magamig
ginko · 5 years ago
If this is just about minimizing crossing a country along a straight line then surely you could just pick any 3-country intersection and just cut the corner as closely as possible.
x4e · 5 years ago
Yes, this is certainly easy to cheat at, but the point is to have fun
x4e commented on Crossing an entire country in a straight line   magamig.github.io/posts/c... · Posted by u/magamig
ekzy · 5 years ago
Nice :) Is it valid though? I thought you might have had to swim across the harbour because there's more of the country on the other side of it
x4e · 5 years ago
In Tom’s videos (which this post is based off) he says that you just have to reach sea water
x4e commented on The Insecurity Industry   edwardsnowden.substack.co... · Posted by u/stanislavb
dxuh · 5 years ago
Everyone in these comments mentions C and C++ as a single word, which frankly has nothing to do with reality. C++ is a FAR safer language than C, if you wish to use it properly (which many don't). I write C++ full time at work and I also use it a lot in my free time and I rarely if ever have out of bounds accesses, use after free or any of these bullshit errors. If you use modern C++ and AdressSanitizer and don't do anything too "fancy" then it's very hard to get those types of bugs. I firmly associate them with C and C alone. These time are over for modern C++. The people commenting here clearly have no idea what modern C++ even looks like.
x4e · 5 years ago
C++ can be safer but that does not mean it is safe. The fact you have out of bounds accesses, even if it is rare, is not really acceptable in a language that would like to be considered “safe”.

u/x4e

KarmaCake day152April 11, 2021View Original