HackerTrans
TopNewTrendsCommentsPastAskShowJobs

progrium

no profile record

Submissions

Building your own Ngrok in 130 lines

dev.to
1 points·by progrium·há 5 anos·0 comments

Large Type legacy celebrated in 80 line Go program

dev.to
1 points·by progrium·há 6 anos·0 comments

comments

progrium
·há 4 meses·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
·há 4 meses·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
·há 2 anos·discuss
Damn, who wrote this amazing piece of software
progrium
·há 5 anos·discuss
wow, thanks!
progrium
·há 5 anos·discuss
This is a good question that should be added in the readme. Would love an issue for it to also collect data
progrium
·há 5 anos·discuss
age old problem, i should definitely warn people about memory management implications. what would you put in the readme for this?
progrium
·há 5 anos·discuss
Awesome, can you throw into an issue?
progrium
·há 5 anos·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
·há 5 anos·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
·há 5 anos·discuss
sorry I meant memory management not garbage collection. again they're just convenience methods wrapping those exact methods on NSObject
progrium
·há 5 anos·discuss
also helped design docker (the good parts) and a bunch of other stuff