Jump to content

webtrekker

Members
  • Posts

    2,621
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by webtrekker

  1. I noticed a problem in the code generated by ChatGPT 4 above. Well, not really a problem as such, more a bad practice issue. When you use an API Key it shouldn't be hard-coded into your page source code as anyone can view your key by simply viewing the page source in the browser. It's always better to keep keys server-side and pass them to the Javascript when asked. So, I then asked ChatGPT 4 the following (to which I already knew the answer)... the api key in the last code can be seen in the page source code. how can i hide it? Here's the reply ... Good catch! You're right, including the API key in the page source code can be a security risk because it exposes your key to potential attackers. One way to hide the API key is to use a server-side script to make the API request on behalf of the client-side JavaScript code. This way, the API key is stored securely on the server-side, and the client-side code only makes a request to the server-side script instead of directly to the API. Here's an example of how you can modify the previous code to use a server-side script: Create a new file on your server called weather.php (or any other name you prefer) with the following contents: <?php $apiKey = "YOUR_API_KEY"; $location = $_GET['location']; $apiURL = "https://api.openweathermap.org/data/2.5/weather?q=" . urlencode($location) . "&appid=" . $apiKey; $response = file_get_contents($apiURL); echo $response; ?> Modify the client-side JavaScript code to make a request to weather.php instead of directly to the API: <script> $(document).ready(function(){ $("#weather-form").submit(function(event){ event.preventDefault(); var location = $("#location-input").val(); var apiURL = "weather.php?location=" + encodeURIComponent(location); $.getJSON(apiURL, function(data){ var description = data.weather[0].description; var temperature = Math.round(data.main.temp - 273.15); // Convert from Kelvin to Celsius and round to nearest integer var humidity = data.main.humidity; $("#weather-result").html("<p>Current weather in " + location + ": " + description + ", " + temperature + "°C, " + humidity + "% humidity</p>"); }).fail(function(){ $("#weather-result").html("<p>Unable to retrieve weather for " + location + "</p>"); }); }); }); </script> In this modified code, the client-side JavaScript code sends a request to weather.php with the user's location input as a GET parameter. The server-side PHP code retrieves the API key from a local variable, constructs the API request URL using the user's location input, retrieves the weather data from the API, and echoes it back to the client-side JavaScript code as a JSON response. Note that in order for this to work, your server must have PHP installed and enabled. Also, make sure to replace "YOUR_API_KEY" with your actual API key in weather.php. Wonderful! ChatGPT 4 has updated its own code to tackle the visible API Key problem. That's pretty amazing so far. [UPDATE: You can check out my uploaded ChatGPT 4 code here. Just enter any valid location in the world.]
  2. Ok, I've just tried ChatGPT 4 with a prompt of my own ... write some html and JS code for a webpage that displays the current weather in a location input by the user This was the output generated by ChatGPT 4 ... <!DOCTYPE html> <html> <head> <title>Current Weather</title> <meta charset="utf-8"> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> $(document).ready(function(){ var apiKey = "YOUR API KEY"; $("#submit-btn").click(function(){ var location = $("#location-input").val(); var apiURL = "https://api.openweathermap.org/data/2.5/weather?q=" + location + "&appid=" + apiKey; $.getJSON(apiURL, function(data){ var description = data.weather[0].description; var temperature = Math.round(data.main.temp - 273.15); // Convert from Kelvin to Celsius and round to nearest integer var humidity = data.main.humidity; $("#weather").text("Current weather in " + location + ": " + description + ", " + temperature + "°C, " + humidity + "% humidity"); }).fail(function() { $("#weather").text("Sorry, could not retrieve weather information for " + location + "."); }); }); }); </script> </head> <body> <label for="location-input">Enter location:</label> <input type="text" id="location-input" name="location-input"> <button id="submit-btn">Get Weather</button> <div id="weather"></div> </body> </html> All I had to do then was replace the token "YOUR API KEY" with my actual OpenWeatherMap key (generated when you register at openweathermap.org ) and upload the code to my server. It worked first time! A bit basic regarding formatting but here's what it looks like in Firefox ... I need to do some more elaborate testing but so far I'm cautiously impressed!
  3. Why I don’t believe there ever was a Covid virus By Dr Mike Yeadon March 22, 2023 I’VE grown increasingly frustrated about the way debate is controlled around the topic of origins of the alleged novel virus, SARS-CoV-2, and I have come to disbelieve it’s ever been in circulation, causing massive scale illness and death. Concerningly, almost no one will entertain this possibility, despite the fact that molecular biology is the easiest discipline in which to cheat. That’s because you really cannot do it without computers, and sequencing requires complex algorithms and, importantly, assumptions. Tweaking algorithms and assumptions, you can hugely alter the conclusions. This raises the question of why there is such an emphasis on the media storm around Fauci, Wuhan and a possible lab escape. After all, the ‘perpetrators’ have significant control over the media. There’s no independent journalism at present. It is not as though they need to embarrass the establishment. I put it to readers that they’ve chosen to do so. So who do I mean by ‘they’ and ‘the perpetrators? There are a number of candidates competing for this position, with their drug company accomplices, several of whom are named in Paula Jardine’s excellent five-part series for TCW, Anatomy of the sinister Covid project. High on the list is the ‘enabling’ World Economic Forum and their many political acolytes including Justin Trudeau and Jacinda Ardern. But that doesn’t answer the question why are they focusing on the genesis of the virus. In my view, they are doing their darnedest to make sure you regard this event exactly as they want you to. Specifically, that there was a novel virus. I’m not alone in believing that myself at the beginning of the ‘pandemic’, but over time I’ve seen sufficient evidence to cast strong doubt on that idea. Additionally, when considered as part of a global coup d’état, I have put myself in the position of the most senior, hidden perpetrators. In a Q&A, they would learn that the effect of a released novel pathogen couldn’t be predicted accurately. It might burn out rapidly. Or it might turn out to be quite a lot more lethal than they’d expected, demolishing advanced civilisations. Those top decision-makers would, I submit, conclude that this natural risk is intolerable to them. They crave total control, and the wide range of possible outcomes from a deliberate release militates against this plan of action: ‘No, we’re not going to do this. Come back with a plan with very much reduced uncertainty on outcomes.’ The alternative I think they’ve used is to add one more lie to the tall stack of lies which has surrounded this entire affair. This lie is that there has ever been in circulation a novel respiratory virus which, crucially, caused massive-scale illness and deaths. In fact, there hasn’t. Instead, we have been told there was this frightening, novel pathogen and ramped up the stress-inducing fear porn to 11, and held it there. This fits with cheating about genetic sequences, PCR test protocols (probes, primers, amplification and annealing conditions, cycles), ignoring contaminating genetic materials from not only human and claimed viral sources, but also bacterial and fungal sources. Why for example did they need to insert the sampling sticks right into our sinuses? Was it to maximise non-human genetic sequences? Notice the soft evidence that our political and cultural leaders, including the late Queen, were happy to meet and greet one another without testing, masking or social distancing. They had no fear. In the scenario above, a few people would have known there was no new hazard in their environment. If there really was a lethal pathogen stalking the land, I don’t believe they’d have had the courage or the need to act nonchalantly and risk exposure to the virus. Most convincingly for me is the US all-cause mortality (ACM) data by state, sex, age and date of occurrence, as analysed by Denis Rancourt and colleagues. The pattern of increased ACM is inconsistent with the presence of a novel respiratory virus as the main cause. If I’m correct that there was no novel virus, what a genius move it was to pretend there was! Now they want you only to consider how this ‘killer virus’ got into the human population. Was it a natural emergence (you know, a wild bat bit a pangolin and this ended up being sold at a wet market in Wuhan) or was it hubristically created by a Chinese researcher, enabled along the way by a researcher at the University of North Carolina funded by Fauci, together making an end run around a presidential pause on such work? Then there’s the question as to whether the arrival of the virus in the general public was down to carelessness and a lab leak, or did someone deliberately spread it? I also need to point out that the perpetrators have hermetic control of the mass media via a Big Tech and government stranglehold documented in part here, here and here. That’s why they’ve found it so easy to censor people like me. If a story appears on multiple TV networks, it’s because they’re either OK with it or it has been actively planted. It won’t be genuine. They never tell the truth. I don’t think they’ve told the truth since this coup began and probably much earlier. Most so-called journalists have lost sight of what truth ever was. I believe that the perpetrators (who could be all or any of Gates, Fauci, Farrar, Vallance, CEPI, EcoHealth Alliance, DARPA and numerous others) planted the controversy about the origins of SARS-CoV-2 because a little embarrassment of the establishment was a small price to persuade most of us that there surely must be a novel virus when there isn’t. (And they have got away with it to date.) I have colleagues who do not believe what we’ve been told (i.e. that a virus has been experimentally constructed) is even possible technologically. I don’t have the background to assess that idea. But the rest hangs together for me in a way that no other explanation does. To this point, an ex-pharmaceutical industry executive Sasha Latypova, speaking with Robert F Kennedy Jr on his podcast of last Thursday, March 16, describes the extensive evidence of the contracts and relationships that were in place before the Covid era. Contracts were signed for billions of dollars in February 2020. Not only would the required production never happen (from a standing start, to sign such a large commitment is ridiculous) but it cannot be done. She estimated that approximately one kilogram of DNA was required. There isn’t that much medicinal grade DNA on the planet at any one time. That’s because it’s hard to do, very expensive, wholly bespoke and difficult to store for long periods. Also, the amounts of any specific DNA sequence required and held in store by commercial suppliers would be milligrams or perhaps grams at a stretch. So it was always completely unfeasible, regardless of how much money was thrown at the problem, to have accomplished what they claim to have done in a short time. Consequently, no other conclusion is supported by the facts than that it’s a huge crime, extensively planned. In itself, that rules out a natural emergence of a pathogen, unless divine providence occurred. Logically we’re left with a leak or, as I argue, a lie plus a PsyOp. The former may or may not be possible, but what isn’t arguable is that something like this could be done and would be likely to run smoothly, with a real pathogen. Almost any outcome but the one presumably wanted is likely if a pathogen is released. I can reach no other conclusion than that it’s fake. In closing, I’m not saying people weren’t sick or that they didn’t die in huge numbers. I’m arguing only about the causes of illnesses and deaths. People were made sick and some killed by all the pre-existing causes, amplified by fear, resulting in immunosuppression and then a host of revolting actions. Note even the official overlap of signs and symptoms of ‘Covid-19’ and existing illnesses. Notably, they chopped antibiotic prescriptions in the US by 50 per cent during 2020. They ensured large numbers of frail elderly people were mechanically ventilated, a procedure which, in such subjects, is close to contraindicated. Some were administered remdesivir, which is a poison for the kidneys. In care homes, they were given midazolam and morphine, respiratory depressant drugs which in combination are all but contraindicated in patients with breathing difficulties. If used, close monitoring is required, most usually automated alarm systems attached to vital cardiorespiratory monitoring, including fingertip monitoring for blood gases. That didn’t happen in care homes. I believe the main reason for the lies about the novel virus is a desire for total predictability and control, with the clearly articulated intention of transforming society; beginning by dismantling the financial system through lockdowns and furlough, while the immediate practical goal of lockdown was to provide the causus belli for injecting as many people as possible with materials designed not to induce immunity, but to demand repeat inoculation, to cause injury and death, and to control freedom of movement. I’m sure they’re pretty content with getting at least one needle into 6,000,000,000 people. Note that though an estimated 10-15million have been killed with poisonous ‘vaccines’, these are the but first of many mRNA injections to come. The indications are that ways to force you to accept ten more have been anticipated, because that’s the number of doses your government has agreed to purchase. Purchasing what? Well, it’s already been mooted that all existing vaccines are to be reformatted as mRNA types. If this happens, I don’t believe anyone injected ten more times is likely to escape death or severe, life-limiting illnesses. Inducing your body to manufacture non-self proteins will axiomatically induce an autoimmune attack by your own body. Your disease will be related to where the injected dose goes and of course the consistency of that injected product. They’ve been horribly erratic so far. It’s not certain they ever could have been made and launched if they had been subject to the usual quality requirements and not granted ’emergency use’ authorisations. Of course, as we now know, the regulators played an important role beyond lying for the US military, the organisation which made the original orders for ‘vaccines’, and set all the contractual conditions for companies such as Moderna and Pfizer. The chickens are coming home to roost right now in the banking system. As I always say, I cannot know much for sure. I don’t have a copy of the script of this, the greatest crime in history. But, whatever Covid actually is, I don’t believe that what was called influenza disappeared conveniently in early 2020. It’s another lie. It’s what they do. It’s all they do. To those who sense that all is not well but are unwilling to make the psychological leap to the diabolical world I believe we’re now living in, I point out the asymmetry of risk. If you follow the official narrative and I’m right, you and your children will lose all your freedoms and probably your lives. If you believe what I’m saying and I’m wrong, you’ll be laughed at. These options aren’t faintly balanced. A rational actor should cease believing what we’re being told. It’s not a safe position, keeping your counsel and your head down. It’s the most dangerous thing you could do. ============================================================================================= Regarding the bit I highlighted in red: If this ever becomes reality then we truly are all fucked. Even if you never voluntarily accept another vaccine they'll just jab you whenever you're sdmitted to hospital, or maybe compulsory jabs are also still in the pipeline. Without a doubt, they want us all DEAD, and we're all just wandering blindly to the slaughter.
  4. I've done that. Have any of you not done that yet?
  5. I think the council would have something to say if I sold my house! No, I don't own my house any more. I sold it 20 years ago and now live in a rented council semi. Best decision we ever made! We're south-facing, overlooking open fields and woodland, beautiful garden, 3 bedrooms, newly fitted kitchen and bathroom, new DPC, new roof, new insulation and decorated and carpeted throughout after the works were done. Yearly boiler and gas checks and any repairs always sorted in good time. All of which cost me nothing! My rent is £400 per month, of which we pay half due to being pensioners now. Same with council tax. Even if I had the money I'd never buy another house again.
  6. That pisspot Mitchell should be brought up for ushering out remaining members.
  7. However ... 'The law allows for redactions to protect sensitive sources and methods.'
  8. ChatGPT Users Report Seeing Other People's Conversation Histories https://uk.pcmag.com/news/146006/chatgpt-users-report-seeing-other-peoples-conversation-histories
  9. AI has one fatal flaw ... it needs Power. As far as it being in all of our computers, phones and other devices, all we need do is pull the plug or remove the battery. However, elite-controlled systems, including the Grid and the Cloud are harder to tackle, but don't underestimate the power of hackers. This could be the main reason why hackers are so severely punished.
  10. Met police found to be institutionally racist, misogynistic and homophobic https://www.google.com/amp/s/amp.theguardian.com/uk-news/2023/mar/21/metropolitan-police-institutionally-racist-misogynistic-homophobic-louise-casey-report How about this as a way to tackle the problem ... For all serving Police officers found guilty of crimes DOUBLE THE RECOMMENDED SENTENCE! These people are in a unique position of trust and must suffer accordingly for breaking that trust as well as for the actual crime committed. Only fair, IMHO.
  11. Passengers escape disaster after pilot ‘dies suddenly’ before flight Published on March 20, 2023 Written by Yudi Sherman Passengers on a recent British Airways flight from Cairo to Heathrow Airport in London narrowly escaped mass tragedy when the captain suddenly collapsed and died just before the flight The pilot was preparing to leave the crew’s hotel for the airport when he suffered a sudden heart attack. Colleagues performed CPR but were unable to save him, The Sun reported Saturday. “It has rocked BA,” a source told The Sun. “It doesn’t bear imagining if he had suffered a heart attack at 30,000 ft.” The incident is only the latest in a string of near misses which are becoming more frequent in the last two years, raising widespread concerns about aviation safety. An Emirates flight from Milan to Dubai was forced to return to Malpensa airport after the flight’s first officer suffered a sudden, unidentified illness, reported Italian media Tuesday. The episode happened an hour-and-a-half after takeoff, and the captain was able to make an emergency landing back in Milan. Medical personnel were waiting on the tarmac to take the pilot to receive urgent medical care. “Emirates flight EK205 from Milan to New York JFK on 13 March returned to Milan shortly after take-off due to operational reasons. The aircraft landed and passengers safely disembarked. All passengers provided with hotel accommodation and will continue their flight later today. Emirates apologizes for any inconvenience caused. The safety of our passengers and crew is of the utmost importance,” Emirates told Frontline News. On Saturday, a United Airlines flight flying from Guatemala to Chicago was rerouted to Houston after the pilot reportedly suffered a medical emergency and became “incapacitated”. According to an internal communication, the pilot was suffering chest pains. Last month, Frontline News reported that a UK pilot whose instructor died suddenly mid-flight thought the older pilot was pulling a prank. The incident occurred in June 2022 during a training flight from an airfield in Blackpool. The pilot recalls speaking normally with the 57-year-old instructor, with whom he enjoyed a friendly rapport, as he taxied on the runway. Shortly after takeoff, the instructor’s head rolled back. The pilot thought the instructor was pretending to take a nap and proceeded to fly the circuit. During a turn, the instructor slumped forward with his head resting on the pilot’s shoulder. The pilot still thought the instructor was joking around. After touchdown, the instructor still had not lifted his head from the pilot’s shoulder and was unresponsive. The pilot alerted other aircraft personnel and an ambulance was brought in, but medics were unable to revive the instructor. A post-mortem report found that the instructor, who had passed his physical test two months ago and was fit to fly, had suffered sudden acute cardiac failure. In November, a newly-hired Envoy Air pilot collapsed just minutes after takeoff and was pronounced dead at the hospital shortly after an emergency landing, reported Frontline News. Other reported cases include a passenger with no flying experience miraculously landing a plane after its pilot suddenly suffered a cardiac event and passed out mid-flight. In another incident last year, American Airlines Captain Robert Snow suffered a cardiac arrest six minutes after landing, for which he blamed the COVID-19 vaccines. “This is what the vaccine has done for me,” Snow said in a video. “I will probably never fly again, based upon the criteria that the FAA establishes for pilots. I was hoping to teach my daughter to fly. She wants to be a pilot. That will probably never happen. All courtesy of the vaccine. This is unacceptable and I am one of the victims. You can see that this is the actual result of the vaccine for some of us. Mandatory, no questions asked. Get the shot or you’re fired. This is not the American way.” In yet another harrowing episode, Captain Cody Flint nearly blacked out during his flight two days after getting injected with the COVID-19 shots. While he safely landed the plane, Flint has no recollection of doing so. Public concern about air safety appears to be growing following these incidents, causing those who fly private to seek out pilots who have not been injected with the COVID-19 shots, according to pilots familiar with the industry. Captain Alan Dana, who was terminated by JetStar after 14 years of service for refusing to comply with its vaccine mandate, said on Maria Zeee Uncensored that unvaccinated pilots are in high demand among the wealthy. Dana cited US Freedom Flyers President and American Airlines First Officer Josh Yoder, who said he is inundated with calls requesting unvaccinated pilots, ostensibly for safety reasons. “He’s getting calls now from wealthy businessmen and companies to fly their executives around on business jets with unvaccinated crew,” said Dana. “Now, they get the luxury of being able to choose, because there are still a large amount of crew available in the United States who are not vaccinated because the companies they work for didn’t mandate it.” “These wealthy businessmen are requiring unvaccinated crew on their business trips,” Dana added. “Passengers on an airline who bought a ticket don’t have that luxury.” See more here frontline.news
  12. The human body has no need for carbs. Probably many of you have already seen this famous TEDx talk by Dr. Sarah Hallberg, but for those who haven't, here it is. Watch it. It's not long (18mins) and you won't regret it ...
  13. A bit of good news for all the Flat Earthers has just arrived ... What a relief!
  14. Sadly, there are those in the world that can not hear, such as yourself KJ, and many others who will not hear.
  15. Looks like frost on the roof of a car to me, Alexa. Why would I, or anyone, think any different?
  16. Read this first... https://www.livemint.com/technology/tech-news/gpt4-devises-plan-to-escape-by-gaining-control-of-a-user-s-computer/amp-11679139203888.html ... then this ... https://www.independent.co.uk/tech/chatgpt-down-openai-not-working-b2304210.html?amp Do you reckon they've had to pull the plug?
  17. Nothing to do with vaccines. No doubt they will put it down to the extremely high levels of Dihydrogen Monoxide in the animals water troughs!
  18. Great track. I'd nearly forgotten about this one! ...
  19. You mean like Bill Gates, Klaus Schwab, etc? Their forecasting abilities are second to none!
  20. I don't believe any of us will be remembered after a couple of generations have passed. We are just not that important. For instance, both of my parents are now dead. I remember them. My daughter will remember them (although my Mam died when my daughter was only 4 years old). My granddaughters will remember only my Dad, who died recently in January, but the point I am making is who will remember them after that? We are all steeped in our own importance but in reality this is just a fleeting thing, gone in the blink of an eye, as time passes by relentlessly. Forget about making a lasting impression and just live life to the full, it can end at any time.
×
×
  • Create New...