Better HN
topnewbestaskshowjobs
Log inSign up

IvanK_net

2,453 karma · joined Aug 20, 2013 (13y ago) · 528 submissions

Submissions

comment 2w ago · link · parent

I think there is a new Moores law!

Every six months, the number of people capable of writing code better than AI is halved! :D

comment 3w ago · link · parent

How do you know it was written by a human? All we can do is to believe the author.

comment 4w ago · link · parent

Was this simplified version made by AI, or did a real person write it?

comment 1mo ago · link · parent

For the past two years, I have been exporting my images in WebP instead of JPG. If I share it online or send it by an email, I am pretty sure the other side will be able to see them.

I honestly think that all phones and even professional cameras should replace JPG with WEBP, we will have like 30% smaller photos.

The DNG format (for raw photos) allows JPEG XL compression (it used to allow only JPEG in the past). I wish some country made it mandatory for cameras to let user take photos in DNG (just like USB-C is mandatory in the EU).

I am happy that HEIC from Apple did not take off (as it was proprietary, protected by patents).

comment 1mo ago · link · parent

Github asked me to file a new ticket, so it is all under Ticket 4833281 now.

comment 1mo ago · link · parent

The support for WEBP images across the industry is like 100x better than AVIF or JXL.

comment 1mo ago · link · parent

Thanks! One is Ticket 4822535, another is Ticket 4726557.

Github did take down this https://github.com/spooknik/Photopea-Appimage and other repos in the past, but now, I feel like I talk to a robot. I am happy to hear that they have real employee! :D

comment 1mo ago · link · parent

Hey guys, thank you all very much for your comments! I just woke up, I did not really believe my post would get this much attention, so thanks!

Honestly, I was a hoping that giving attention to this problem here at HN might lead to someone from Github actually noticing my problem and looking into it.

I think I will try solving it with a lawyer. But it would be really cool if I could spend my days writing code instead of dealing with lawyers and stuff.

comment 1mo ago · link · parent

These Github repositories contain copies of my JS files (identical JS - letter by letter), with a few lines deleted to allow running it on any domain.

I wanted to discuss the behaviour of Github without giving these "projects" even more attention.

comment 1mo ago · link · parent

It is the question I get asked the most. I pronounce it "photo-P", but I am the minority :D

https://x.com/photopeacom/status/1492164676200841227

comment 1mo ago · link · parent

Thanks a lot!

1) About 30% of my original code is open-source as JS libraries: they end with ".js"-https://github.com/photopea?tab=repositories

2) WASM is not faster than Javascript "by default". Both can be fast or slow depending on how you write it. I don't think having everything in WASM would make Photopea significantly faster. Also, Photopea uses many libraries as WASM (WEBP decoding, ZSTD decoding, JPG decoding, Harfbuzz, ... JXL / AVIF encoding)

3) I never used any Framework, but if it is just a bunch of a JS code, I think I managed to write an equally good JS code for the UI over the past 14 years.

comment 1mo ago · link · parent

By the way, PhotoSuite is just a stolen copy of my project www.photopea.com , which I have been working on for 8 hours a day for the past ... 14 years? :D

It was discussed here on HN yesterday and then, the anonymous person behind it removed the "Issues" section completely from their Github

https://news.ycombinator.com/item?id=49972730

https://replayweb.page/?source=https://archive.org/cors/gith...

comment 1mo ago · link · parent

There have been only two photo editors that fully support the PSD format: Photopea and Adobe Photoshop. When a new one appears, which fully supports the PSD format, from an anonymous creator, it is very likely a copy one of these two. And they usually name it Photopea-offline, etc.

comment 1mo ago · link · parent

Wow, that might actually work, thanks!

15.

Tell HN: GitHub refuses to remove cracked copies of my software after a month

586 points · by IvanK_net · 1mo ago · 349 comments

comment 1mo ago · link · parent

That is really awful :( I tried posting about it on X, but I shouold probably try HN. https://x.com/photopeacom/status/2106877355738140875

comment 1mo ago · link · parent

To make sure that AI never uses your work (source code or binaries) for training, I see two possible solutions:

- the software would run only on your own server and clients will access it remotely through an interface

- you will sell the software together with the hardware and a proprietary operating system, which does not allow anyone to get the ones and zeros of your software

So, the only way to prevent GTA6 being "decompiled" and "forked" by AI models is to run it remotely (with a video interface), or sell it together with a proprietary console :D

comment 1mo ago · link · parent

Yes, and I totally support it! They start "from zero" and build everything piece by piece by testing the input / output of each feature. I just hope they use Photoshop / Photopea / Other software only from the users perspective and not by analyzing the code (source code or "binaries" - it probably does not matter to AI nowadays).

In this case, it was a clear copy-paste of my code, whith the variable names changed by the AI.

comment 1mo ago · link · parent

Hey guys, I am the creator of Photopea, I just woke up! I did not expect that it will blow up like this.

Thank you all for your support! Many repositories like this one exist on GitHub, I tried to report in in the past, but I was completely ignored by Github / Microsoft. I feel pretty powerless here :( I tried to call them out publicly - https://x.com/photopeacom/status/2106877355738140875

This "PhotoSuite" thing got me a bit angry, since the author presented it as an original work, when I clearly see that such a project can be made from my "pp.js" file in two hours using Claude. Also, I believe that their README.md did not mention Photopea before I wrote my first comment there.

Thousands of people shared "PhotoSuite" on social media and nobody minded the fact that they don't know who the creator is. The creator is still offering it on their website as their original work: https://www.photosuite.app/

We live in interesting times. AI can (or will be able to) de-obfuscate every bit of code that was ever published, convert binaries to readable C++ and so on. So, in theory, AI models will train on the source code that we consider "closed-source" now, and will be able to recreate this software if asked. But it wouldn't be possible if a real person did not spend thousands of hours of their life to write that software years sooner.

I have always been excided to see people make AI create something new, what didn't exist before. But so far, I mostly saw only "approximations" of expensive software, when AI tries to recreate each feature and each button according to what it thinks it should do, or "forks", when AI takes the full code of something and tries to "bend" it to hide the similarity with the original work.

comment 1mo ago · link · parent

There already exists a "binary analogy" of JSON called Protocol Buffers or Kiwi. They are pretty simple (a parser can be made in 2 kB of code). Wouold be great if the author compared his reinvented wheel with existing wheels :D

comment 2mo ago · link · parent

It reminds me my "3D engine in 47 lines ov javascript", which can only draw line segments :) https://jsfiddle.net/06L845jx/86/

And 54 lines of javascript: https://jsfiddle.net/06L845jx/127/

Original discussion: https://www.reddit.com/r/javascript/comments/9nihtw/a_simple...

comment 2mo ago · link · parent

When I run my website in Chrome on Android (with 8 GB of RAM), my website can get 6.5 GB of RAM.

When I run my website in any browser on iOS (iPad with 16 GB of RAM), my website can get 1.88 GB of RAM.

This much RAM might be needed only for a few seconds (computing a visual effect). A user is "focused" at just one app at a time. If a user uses my tool for hours, I think it makes sense to give them all the resources (CPU, GPU, RAM, ...)

comment 2mo ago · link · parent

Nice! :)

comment 2mo ago · link · parent

Thank you! :)

comment 2mo ago · link · parent

My tool is used by 1 million people a day https://www.photopea.com

This is the reason I never made a mobile version and all mobile users use it in a browser.

The biggest problem (bug) with this approach is that iOS limits the RAM usage to 2 GB per website. I have to tell many of my users to ditch their $1000 iPads and get a used $150 Macbook for better experience.

I think Apple does it on purpose https://bugs.webkit.org/show_bug.cgi?id=268816

comment 2mo ago · link · parent

I could write that it is 2 to the power of (1/12), but 90% of the worlds population have no idea what it means. It is easier to remember "6 percent" than "2^(1/12)"

comment 2mo ago · link · parent

If someone is going to spend 3 hours learning "as much music theory as they can", I don't think they should start with the history of temperament in music. Also, I think that about 70% of the worlds population does not know what a square root is.

comment 2mo ago · link · parent

Note, that JPEG XL was added as a possible compression method for DNG files (Digital Negative - stores raw images with raw sensor data of a camera).

Because of it, for the past couple of years, all new iPhones and almost all Android phones (mostly Samsungs) already contain a JPEG XL encoder / decoder (to generate these DNGs).

comment 2mo ago · link · parent

Am I the only one who thinks that the classic music notation is 3x harder to learn than the basic music theory (without the rules of notation)?

I think that you can learn music theory (to play an instrument or to compose music e.g. in a "piano roll tool" / MIDI editor) much faster if you skip the classic notation. And I think that it is even better to learn the notation AFTER you understand the music theory.

I even made my own guide to music :D https://www.jampea.com/learn

12345
18