- Joined
- Nov 3, 2020
- Messages
- 1,303
- Display Name
Display name:
Mahneuvers
Starting a specific thread to limit confusion. I finally have my FlightsForBites.com website. Feel free to share the link.
Last edited:
Mostly b/c I'm lazy. The airport source I found did not have the leading Ks. I briefly looked into ignoring leading Ks but then there are airports with K as the 2nd letter. So, the easiest thing was to just ask people not to enter the K.Question: Why not accept KLAX as well as LAX?
It's kind of a edge case, but, we have a restaurant in NC which burned down, is currently closed, but they are rebuilding. Also, someone might be looking for a specific restaurant that they don't realize is now closed.Question: Why even list CLOSED restaurants?
A link to the restaurant has come up several times. Usually Google Maps has the link to the restaurant. Also, if I allow any old link, since the site isn't locked down, someone could add a malicious link....Switch optional link to restaurant link or also make it optional....
In my next update, I'll return restaurants ordered by miles ascending.How are they ordered in the list? Fantastic work btw, but if there was a way to get closest first that would really make it easier to find the closest burger.
The latter. The impetus for this project was the stale data in the other sites. Since I cannot identify stale data, I cannot identify the good data to seed the site. I tried to make it dirt simple and super fast to add restaurants. So, w/ a little crowd-sourcing effort, we can fill out the database pretty quickly.So, has this site been "pre-loaded" with restaurant info harvested from other sites, or is your database being built up from scratch starting now?
I'll noodle on this. We kind of went around and around on this topic during beta testing. I have a "search" airport interface already built that maybe I'll add back to help users having trouble identifying an airport in the database.A feature that would be nice is: when you enter an airport code and something (or nothing) comes up, to have it display the name of the airport, and the state, as a double-check that you entered the right thing. After all, if your airport code is off by one typo'ed letter, you're looking at hundreds or thousands of miles away.
Just use the trailing three characters rather than worrying about a specific leading character. Then if someone puts in a K it doesn't matter. Someone puts in KLAX, it just chops it to LAX. If someone puts in K68 it chops it to......K68.
Unless the leading character is a P and it is 4 chars long, then leave it.
Unfortunately, this will also eliminate a lot of cool small airports with names like "WV62".
Easier to just accommodate the "K".
Thanks Ryan! Spread the word. The more who crowd source the better for everyone.I added three for you.
Well what I did on my website was:
if (strlen($string) == 4 && substr($string, 0,1) == "K"){
$string = substr($string, 1);
}
or however you want to do it in whatever language you're doing it in.
It's literally two lines of code. I didn't think I needed to be SO specific on here.
I respectfully ask you guys to sort through this and let me know the result. I'm happy to implement anything that makes the site more useful.
Tok Junction does have a restaurant across the street from the airport...
I added three for you.
Not sure if I understand the Google maps link. Tried it a few times and it won't accept it. This is for EAU (Hangar 54)
https://maps.app.goo.gl/fkDmsBvUAtmsX5zk9
People are adding restaurants w/o google maps links. Those more technically savy, if that is the issue, edit these restaurants and update the links, please.
I'm still trying to get my head around the person who tried to hack the site. WTF! I spent a ton of time trying to put something out there that will benefit us all and the first thing someone does is to try to insert themselves. I'm trying to remain positive that they were a white-hat hacker, but still.
FWIW, it was probably that. There's a lot of organization/nation-state assets constantly probing the net for vulnerabilities.Hopefully it wasn't a POA related user and a "bot" that made the discovery then phoned home...
Awesome, now we just need to get the list populated.
Could post it on the "fun places to fly your airplane" FB page and get a lot of responses if you wanted to.
That tracks.Unfortunately Facebook is rejecting the link as suspicious/not secure.
That tracks.
FB blows anyway
Thats why I suggested itYeah but it would be a good way to spread the word and get some restaurants added. A lot of people on fb with nothing better to do.
I respectfully ask you guys to sort through this and let me know the result. I'm happy to implement anything that makes the site more useful.
I used Spring Boot w/ Thymeleaf....You guys are slinging PHP...
W/in minutes of my 1st post, someone was determined to guess my password to the Tomcat manager interface. Whoever you were, hopefully you were just trying to help me better protect the site by showing me what I left open. I've now locked down those interfaces to IPs inside my home network.
Results are now ordered by by distance ascending.How are they ordered in the list? Fantastic work btw, but if there was a way to get closest first that would really make it easier to find the closest burger.