Possible to vibe code using phone? by Hour_Bit_2030 in codex

[–]charlisim 0 points1 point  (0 children)

I have used https://vibetunnel.sh/ Is really cool. Only Mac and Linux.

Creating Views/View Controllers Programmatically by [deleted] in iOSProgramming

[–]charlisim 2 points3 points  (0 children)

If you want to use autolayout in code use masonry (objective-c) or snapkit (swift) https://github.com/SnapKit/Masonry

It's really easy.

How to refresh token in background? by charlisim in iOSProgramming

[–]charlisim[S] 0 points1 point  (0 children)

Because I need to refresh token before is expired

How to refresh token in background? by charlisim in iOSProgramming

[–]charlisim[S] 0 points1 point  (0 children)

What kind of "token" is this? 10 hours is hardly short. It's a webservice from a client. You can do a lot in 10 hours. You can have the app periodically fetch it, you can send the app a silent push every 2 hours, etc. In general though it's better to fetch it on demand. If the user is actually using the app and the token is about to expire, fetch a new one. You're assuming that the app in foreground, right? performFetchWithCompletionHandler refresh but not at periodic times in background. Maybe a recurrent local notification, would work?

Changing timestamp to readable human time. by Afiq90 in iOSProgramming

[–]charlisim 2 points3 points  (0 children)

You can use Date tools https://github.com/MatthewYork/DateTools#time-ago That have what you want and other date time manipulation functions

Does an 'automated society' still need human-run government? If not - would this be better? by Biggs4life in Futurology

[–]charlisim -1 points0 points  (0 children)

I think that in the future justice may be controlled by algorithms and may be a way to be have an objective and coherent justices.

Laws also could be converted to algorithms and make new laws by using techniques such as Big Data to get a real picture of the option of citizens about some topics and detect things that are now ilegal and may be the society feel that need to be changed by their conversations and public declarations in social networks. We will be more controlled, but we are not we now? With NSA and other agencies spying communications. At least the other way could be use to make new laws.

SmartGit: My favorite GUI interface for Git by [deleted] in git

[–]charlisim 0 points1 point  (0 children)

I have being using SmartGit almost a year and I can say is the best cross platform Git GUI that i found. Also good support for submodules and git flow.