Hacker Newsnew | past | comments | ask | show | jobs | submit | more vedosity's commentslogin

I was considering using lib-tex (the library implementing texlive 2019 for this shell) last week for an iOS app I’m working on that needs to generate basic LaTeX images. It’s really impressive, these programs running in A-Shell are modified by renaming their `main()` function and making sure global/static variables are cleaned up so they can run as a separate thread in-process instead of spawning a separate process. I decided to use the more limited KaTeX instead because it sounds like a maintenance nightmare, making sure nothing leaks and updating everything every time a new version comes out...

I wonder if that process can be automated to a point where you could “lib-ize” any C/C++ project (sed replacing malloc/free with something that cleans up when the process “exits”, replacing exit/fork/etc, replacing static). I think that would really open up the number of interpreters available on iOS.


I don't think this is true... Apps below iOS 13 won't be able to use the new system-defined UIColors, yes, and users below iOS 13 can't change to the dark-mode using a switch in the Control Center, yes.

But you've been able to change the "user interface style" for view controllers since iOS 12 [0]. And you've been able to add UIColors to asset catalogs that change depending on that setting since iOS 12 as well.

I'll be honest, I haven't tried this myself. But either this works or Apple's documentation is wrong.

[0]: https://developer.apple.com/documentation/uikit/uiuserinterf...


I sure hope you're right! It would seem pretty crazy to be forced to choose between iOS 12-and-below and Dark Mode. Thanks for the pointer!


Depending on the target user for your app, you may see 90%+ on iOS 13 soon, anyway.


Phantom types aren't part of the language because they don't need to be. They're just empty types used as type parameters for structs, where the type parameter isn't actually used as a variable in the struct. It is more of a design pattern than a language feature.


I'm loving all the history of the atomic bomb and related articles, but I'm curious. Is this just a trend on HN right now or is something I'm not aware of going on?


There is a dramatic series made just for WGN-TV called Manhattan. Its about life in Los Alamos during the bomb development times. Its about spies, counter-spies, bored horny housewives and bomb development. it was more interesting in the beginning, but has bogged down in subplots.


Is Feynman cracking safes in it?


The recent non-fiction best seller "Radiance" covers Manhattan and its before and after. I didnt realize how many of these people I crossed paths with at one time.


The Twilight Zone is on Amazon Prime Instant Video at the moment.. They sure were worried about the H-bomb in 1959.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: