I couldn't find ALL of the Google Weather API "conditions" in a simple, plain text format, so here it is for everyone if they can't find it either!
Clear
Sunny
Partly Sunny
Mostly Sunny
Scattered Thunderstorms
Showers
Scattered Showers
Rain and Snow
Overcast
Light Snow
Freezing Drizzle
Chance of Rain
Partly Cloudy
Mostly Cloudy
Chance of Storm
Rain
Chance of Snow
Cloudy
Mist
Storm
Thunderstorm
Chance of TStorm
Sleet
Snow
Icy
Dust
Fog
Smoke
Haze
Flurries
Light Rain
Snow Showers
Hail
Source: https://gist.github.com/806934
Related
I am trying to build an app on iOS in Swift, SwiftUi and using ARKit and RealityKit. I want the app to:
detect a soccer ball
detect a soccer goal
track the trajectory of the ball when shot at goal
detect when/if the ball hits/passes the goal
To detect the ball and goal using ARKit is working fine. However, to keep tracking the ball when in movement is very unreliable. And when its moving fast, ARKit fails to detect the ball at all.
I have tried to implement Apple Visions VNDetectTrajectoriesRequest using the following tutorial,https://developer.apple.com/documentation/vision/identifying_trajectories_in_video, which works as long as I am NOT using ARKit.
DetectTrajectory needs a CMSampleBuffer, and ARKit only returns a PixelBuffer and I wasn't able to solve this issue and get it to work smoothly (I tried converting the pixelbuffer to CMSampleBuffer, but that resulted in the app being SO slow it was useless in realtime). And even if I get this to work it wouldn't solve my issue regarding detecting when the soccer hits the goal.. For that I believe that using depth/ARkit is necessary..
Does anyone have a solution for tracking A FAST MOVING OBJECT USING ARKIT?
I am close to giving up, but I have found this guy on Youtube that is detecting a balls trajectory using ARKit, https://www.youtube.com/watch?v=B4yfp1UmM5s. I have written to him but received no reply this far. Have been trying to solve this for over a week but I can't find a solution. Please internet, help me!
I think that such a mission is impossible for iOS device in 2022.
Firstly, let's assume the average speed of a soccer ball is 12 m/s, and ARKit and Vision track it at 60 fps. Any object moving at 12 m/s is difficult to qualitatively track at that frame rate, it's obvious. Even MoCap systems use at least 120 fps for tracking of much slower movements.
Secondly, in 5 seconds the ball approximately covers a distance of 60 meters. This is a fairly large distance (for detection/recognition) at which such a small object as a soccer ball will be unrecognizable, especially since it also spins during flight.
I'm using the Google TTS API, using Wavenet, and without any known reason, the audio returned lost quality and seems distorted. This quality degradation happens occasionally, with different texts, longer and shorter.
You can check the audio
here
The ssml used for it was the following:
<speak><prosody pitch='-3st' rate='105%'>Los Angeles on 2020-02-12 and 2020-02-13</prosody></speak>
Does anyone have any idea why this may be happening?
So, I have tried to upload my application to the iTunes Connect, but it gets rejected.
2.11
Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke cigarettes, will be rejected
My application
So the application I am creating is a Drinking game application. It contains "I have never/Never have I ever", and some spinning bottle look-a-like. I have several view controllers that contains rules on how to play each game.
After a search on AppStore for "Drinking Game" I get over 500 results of games. So how come that theirs game gets approved, but not my game.
I do not have any question in the "Never have I ever" game that asks for alchol, cigarettes or any usage of drugs, but the other games does.
EDIT:
I submitted an appeal to the Apple Review board, and got this back:
2.18 - Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke
cigarettes, will be rejected
This is fairly obvious isn't it?:
2.18 - Apps that encourage excessive consumption of alcohol or illegal substances, or encourage minors to consume alcohol or smoke
cigarettes, will be rejected
You have implemented what is a very well known drinking game.
The fact that other games have slipped through is not really relevant. You could try pointing to these and ask for clarification as to why they are approved but yours isn't, but the most likely response is the other games also get pulled.
Since 2.18 appears to address an issue with minors you might want to try to re-submit it making it 17+ or higher (if possible).
Hope that helps :)
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Parse HTML iPhone
I am new in iPhone development
I want text after tag and before
can anyone suggest
Printing description of tenpDesc:
<p><img src="http://l1.yimg.com/bt/api/res/1.2/Vjy6kqzuLBWRutEELYQRoQ--/YXBwaWQ9eW5ld3M7Zmk9ZmlsbDtoPTg2O3E9ODU7dz0xMzA-/http://media.zenfs.com/en_us/News/Reuters/2012-08-28T142918Z_1781079790_GM1E88S1QC101_RTRMADP_3_STORM-ISAAC.JPG" width="130" height="86" alt="New Orleans resident Whipple watches waves crash on the shore of Lake Pontchartrain as Tropical Storm Isaac approaches New Orleans" align="left" title="New Orleans resident Whipple watches waves crash on the shore of Lake Pontchartrain as Tropical Storm Isaac approaches New Orleans" border="0" />Tropical Storm Isaac is now Hurricane Isaac. The slow-moving storm, with maximum sustained winds of 75 mph, achieved hurricane status at approximately 12:20 p.m. ET on Tuesday, the National Hurricane Center said: ...RECONNAISSANCE DATA INDICATE ISAAC FINALLY ACHIEVES HURRICANE STATUS...REPORTS FROM AN AIR FORCE RESERVE HURRICANE HUNTER AIRCRAFT INDICATE THAT MAXIMUM WINDS ASSOCIATED WITH ISAAC HAVE [...]</p><br clear="all"/>
Thanks
This requires parsing and is not native in Objective-C. You must program or find a 3rd party parser (which I do not know of any personally).
I'm doing some performance tuning and capacity planning for a low-latency application and have the following question:
What is the theoretical minimum round-trip time for a packet sent between a host in London and one in New York connected via optical fiber?
I believe the index of refraction of fiber is around 1.5, and the internet reports it's around 5600 km from NY to London, so the theoretical minimum one-way is 5600 km / (c/1.5) =~ 28 ms. Round-trip is double that, 56 ms.
Up to you to do the real work of estimating latency through your routers and all.
P.S. The cables might not be straight :p
Edit: A bit of the wikipedia article on optical fiber pretty much contains all this information.
Just ask Hibernia, they currently are at 72ms and presently looking at 60ms by mid-2012.
http://www.a-teamgroup.com/article/andrews-blog-laying-cable-and-the-low-latency-gauntlet/