HackerTrans
TopNewTrendsCommentsPastAskShowJobs

progrium

no profile record

Submissions

Building your own Ngrok in 130 lines

dev.to
1 points·by progrium·5 jaar geleden·0 comments

Large Type legacy celebrated in 80 line Go program

dev.to
1 points·by progrium·6 jaar geleden·0 comments

comments

progrium
·4 maanden geleden·discuss
Working with VMs always felt difficult because of this. So authoring was built-in to Docker. Now you can use Apptron to author and embed a Linux system on a web page. This aspect is usable, but it's only going to get better.
progrium
·4 maanden geleden·discuss
It's getting there. Among other things, it's probably the quickest way to author a Linux environment to embed on the web: https://www.youtube.com/watch?v=aGOHvWArOOE

Apptron uses v86 because its fast. Would love it for somebody to add 64-bit support to v86. However, Apptron is not tied to v86. We could add Bochs like c2w or even JSLinux for 64-bit, I just don't think it will be fast enough to be useful for most.

Apptron is built on Wanix, which is sort of like a Plan9-inspired ... micro hypervisor? Looking forward to a future where it ties different environments/OS's together. https://www.youtube.com/watch?v=kGBeT8lwbo0
progrium
·2 jaar geleden·discuss
Damn, who wrote this amazing piece of software
progrium
·5 jaar geleden·discuss
wow, thanks!
progrium
·5 jaar geleden·discuss
This is a good question that should be added in the readme. Would love an issue for it to also collect data
progrium
·5 jaar geleden·discuss
age old problem, i should definitely warn people about memory management implications. what would you put in the readme for this?
progrium
·5 jaar geleden·discuss
Awesome, can you throw into an issue?
progrium
·5 jaar geleden·discuss
I guess I will look into this as that really sounds like syntactic sugar for something more basic. Like using the class.

I have a hard time keeping up with their changes but you might be right: https://developer.apple.com/documentation/foundation/nsautor...

Oddly it says you cannot use them directly, but later implies maybe they are just less efficient. It would be nice if somebody made an issue for this.
progrium
·5 jaar geleden·discuss
I thought I wrapped NSAutoreleasePool but maybe I just used it directly dynamically. If something is not wrapped in the source that doesn't mean you can't use it. objc.Get("NSAutoreleasePool").Alloc().Init()

Unfortunately I can afford some leaks at the moment, so if that's critical to anybody else and I'm doing something wrong just submit a PR
progrium
·5 jaar geleden·discuss
sorry I meant memory management not garbage collection. again they're just convenience methods wrapping those exact methods on NSObject
progrium
·5 jaar geleden·discuss
also helped design docker (the good parts) and a bunch of other stuff