153 karma · joined Apr 12, 2017 (9y ago) · 55 submissions
comment 4y ago · link · parent
Consider the following lame analogy:
A man who has been working as a programmer for 30 years has no diploma because he is self taught. He is having trouble finding a new position because for some reason companies are asking for a degree in a related field. He decides to buy one from a sketchy random university. People find out about the scheme and the diploma is invalidated. Should he be able to keep it because he probably knows everything he would be taught at university?
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
I forgot most of the plot because I only read it for school, maybe I should revisit it now that I no longer dread reading.
comment 7y ago · link · parent
Has anyone gotten a Swift + Objective-C project running on Bazel or should I stay with Facebook's Buck?
[1]: https://github.com/bazelbuild/rules_apple/blob/master/doc/ru...
Edit: Found the correct links for the Swift/Apple support docs.
comment 7y ago · link · parent
They eventually patched it after a pro player abused it to turn a game around at the International 3[2]
It's a shame because 6 years later it's still one of the best moments I ever witnessed in the game.
[1]: https://dev.dota2.com/showthread.php?t=2989&p=11512&viewfull...
comment 7y ago · link · parent
> still care about telling single player stories in videogames
Yeah, no. They released GTA V simply to use it as a platform for their microtransactions. They knew releasing an online-only game would not work.
This is why COD still has a half-assed campaign mode attached to it.
This is why Fallout 76 failed miserably.
comment 7y ago · link · parent
Makes sense since they always try to copy stuff that worked elsewhere, but I've seen more people mad at the decision than supportive of it.
comment 8y ago · link · parent
extension Date {
static func fromString(_ string: String) -> Date {
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-M-d"
return formatter.date(from: string)! ///Force unwrap because I never pass invalid strings.
}
}Even though I was passing a valid string it still crashed because it couldn't parse it into a date. I solved the problem by adding a random hour to the date(All that mattered to me is the day/month/year so I just don't use the hour/minutes/seconds).
I wonder if it's the same bug causing a boot loop since it's being used by iOS itself.
comment 8y ago · link · parent
Have you tried
Crashlytics.sharedInstance().recordError(error)
I use it to log errors on API calls in my projects. It comes in handy when I'm using third-party services and they decide to break something on their end.