Live data from Hacker News

Bringing a decade old vector editor back to life

github.com

41–50 of 89 posts

Re: Bringing a decade old vector editor back to life

#41
post #33

Earlier quoted context omitted.

Which parts are the coroutines?

Multiple methods in that snippet use something like: while(true) { Animate(image); wait 200; } implies there are multiple synchronous execution stacks. It's not threading, as the synchronization points are explicit.

>synchronization points are explicit

Hmmm, I'd have just called it cooperative threading/multitasking then. Or do you think that would be wrong?

Re: Bringing a decade old vector editor back to life

#42

This is really cool, and certainly a solid example of why the legislation is moronic. However, isn't this a violation of DMCA's (and similar legislation worldwide) "software lock" circumvention laws? > It's not pretty, but this is probably the first time anyone's been able to use Plasma at all in the better part of a decade. It seems that Wollay removed a critical UI file (for the sheet which artwork exists on) from…

(caveat: IANAL and am frequently wrong)

The DMCA provides a singularly annoying exemption process. Every three years, the Librarian of Congress makes a determination of valid exemptions to the DMCA. These exemptions are complicated to apply for, and having been previously granted theoretically has no impact on whether it is granted the next time, so anyone who wants to maintain an exemption needs to reapply and make their case every three years.

From 2018 and until 2021, there are 14 DMCA exemptions in effect. One of them is "Computer programs, except videos games, no longer reasonably available in commercial marketplace, for preservation by eligible libraries, archives, and museums." Unfortunately, while this software is not a video game, nor is it reasonably available, it is not covered by this clause, as "the work cannot be made available or distributed outside the physical premises of the eligible institution."

Not to worry, though! There is one other possible exemption. Number 11: "Computer programs, for purposes of good-faith security research." Is this good-faith security research? Well, one of the tests there is whether the "information is used primarily to promote security of devices on which the program operates." This probably does the opposite, being an effective argument and tutorial AGAINST security, so it probably doesn't work, either.

So yes, this is probably illegal. It could maybe even be a felony, technically. You could probably get years in prison for it. You wouldn't, but that won't stop a fed from convincing you of that in order to get you to sign a confession.

Re: Bringing a decade old vector editor back to life

#43

This is really cool, and certainly a solid example of why the legislation is moronic. However, isn't this a violation of DMCA's (and similar legislation worldwide) "software lock" circumvention laws? > It's not pretty, but this is probably the first time anyone's been able to use Plasma at all in the better part of a decade. It seems that Wollay removed a critical UI file (for the sheet which artwork exists on) from…

(caveat: IANAL and am frequently wrong) The DMCA provides a singularly annoying exemption process. Every three years, the Librarian of Congress makes a determination of valid exemptions to the DMCA. These exemptions are complicated to apply for, and having been previously granted theoretically has no impact on whether it is granted the next time, so anyone who wants to maintain an exemption needs to reapply and make…

At least the US have an exemption process.

The US strong-armed most their trade-partners into implementing DMCA-compatible laws. Here in Australia we have "compatible" laws, but to my knowledge no exemption process.

EDIT: It's probably worth noting we didn't even bother amending our existing legislation, we just introduced new conflicting legislation. It's a real mess.

Re: Bringing a decade old vector editor back to life

#44
post #41
post #33

Earlier quoted context omitted.

Multiple methods in that snippet use something like: while(true) { Animate(image); wait 200; } implies there are multiple synchronous execution stacks. It's not threading, as the synchronization points are explicit.

>synchronization points are explicit Hmmm, I'd have just called it cooperative threading/multitasking then. Or do you think that would be wrong?

Coroutines and cooperative threading/multitasking are indeed threading. I assume they meant to say that it was neither preemptive nor parallel, which makes it somewhat limited. Some people think a system has to be one or both of those to be called threading.

Re: Bringing a decade old vector editor back to life

#45
post #41
post #33

Earlier quoted context omitted.

Multiple methods in that snippet use something like: while(true) { Animate(image); wait 200; } implies there are multiple synchronous execution stacks. It's not threading, as the synchronization points are explicit.

>synchronization points are explicit Hmmm, I'd have just called it cooperative threading/multitasking then. Or do you think that would be wrong?

It wouldn't. That's literally what coroutines are. In-process, lightweight, cooperative multitasking, built in as a language feature (or at least close enough to it).

Re: Bringing a decade old vector editor back to life

#46
post #28

Whoa, this editor was quite amazing! If you have two minutes, watch the "Photo Texturing" and "Photo Editing" demonstrations: https://youtu.be/bCWX3BNT1H0?t=150

I guess you could emulate the "Photo Texturing" functionality in something like Blender with UV Unwrapping? Will give it a go later.

The "Image Warping" I'm pretty sure you can do in Photoshop these days tho'.

Re: Bringing a decade old vector editor back to life

#47
post #12

I've reverse engineered a number of content encryption schemes. It's always a ton of fun, and you get to see the large amount of psychological warfare at play at the higher tiers. A very common trick that I've seen in a lot of Japanese games, for offline material, is to combine a hashing system and encryption. That is, the game will attempt to load "main.script", which is a custom bytecode scripting language. The fil…

Indeed, it's often more fun than playing the game itself; but then again, I'm someone who has been taking things apart since I was very young (and not surprisingly, got into trouble a few times for it...) I suspect RE is something that's closer to what those in the other sciences do, i.e. analysis and thinking more about how/why things are the way they are, rather than what they can build; which is why not a lot of d…

Indeed, and conversely that's why to a researcher like me RE feels like the only branch of coding that actually achieves something (emotionally; intelectually I know of course that's not true).

One of the reasons I was attracted to computers when I was a kid was figuring out Windows secrets.

Re: Bringing a decade old vector editor back to life

#50

What is the backstory behind why the company stopped selling this software? Has anyone asked the author or company about it? Would it be worth asking them to release the source since it's been so long since selling it?

Wollay and most software development he does is intermittent at best. The Cube World community went 6 years without an update. He will occasionally (every few years) post screenshots and teasers on social media, but it seems very clear that development of his projects is whimsical. I don't think anyone at this point would be surprised if he tweeted out tomorrow that he's done developing Cube World. It also seems that…

In the case of Cube World, he finally decided to come out of the wood and release the game on steam. Almost none of the feature he teased during those years were included in the release or were heavily changed, and even the core gameplay was very different than the beta, which made a lot of people angry.

He wrote an article explaining that the DDOS they suffered when first releasing Cube World had a lot of impact on his mental health and that is why he rarely communicated and then he disappeared again.

Post reply on HN