Slaying Unicorns: How Europe Sabotages Its Own Economic Future Community Center by Johannes C. **With the decline of industry and post-colonial exploitation, Europe should aim to become a global leader in the tech and service industry. But as the EU increasingly complicates the process for startups to thrive, the economic outlook appears bleak.** If you've missed recent AI news, **[Claude Opus now outperforms GPT-4 in most areas](https://… Re: Mastodon Community Center Geeks' Lounge by Dani I just stumbled upon this and had no idea that Mastodon was even a thing 6 years ago, pty! I first became aware of them back when Elon bought Twitter (ahem, X) and everyone fled ship trying to find an alternative. Sorry no one replied to this thread until now. Guess you were just too ahead of your time. ;) Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 I wrote a Python script that included the python-swiftclient module to connect to the OpenStack Object Storage and upload some files to the OpenStack Object Storage container It works great if I upload a file that ends with the extension .gz however, I’m getting an error regarding the ‘TarFile’ object having no attribute ‘read’ after running my … Re: Installing programs from Github Programming Software Development by rproffitt > Python is an interpreted language, which means the source code of a Python program is converted into bytecode that is then executed by the Python virtual machine. As such the .exe would be the Python virtual machine and not your Python apps. Re: Installing programs from Github Programming Software Development by Reverend Jim Further... Python gets converted to byte code which is then cached in a sub-folder. As long as the source code and packages have not changed there is no need to reconvert so subsequent runs should start faster. Also, I strongly recommend that you look into wxpython as a much better alternative to tkinter. Wxpython is a wrapper for wxwidgets … Re: What are you watching on TV? Community Center Geeks' Lounge by pritaeas Doesn't the link I posted open? https://www.imdb.com/title/tt4922804/ This is the tagline on IMDB: "A post-apocalyptic thriller set in near-future Brazil, where a select few are allowed to join a privileged society after undergoing an intense and competitive process." It is a Brasilian production, so I doubt I can mention anyone you… Re: What are you watching on TV? Community Center Geeks' Lounge by Reverend Jim >Doesn't the link I posted open? My mistake. I just scrolled back to the last couple of posts, not far enough to see the link. Dani - if you like Resident Alien I suggest you watch the movie, [Tucker and Dale vs Evil](https://www.imdb.com/title/tt1465522/). Re: Trying to animate sprite using DirectX9 Programming Software Development by Pavel_11 Hello, it is unneccessarily to use right movex or leftmovex , because it is to much variables. You should to use one variable movex to make it with minus or plus sign in your update function; by pressing left or right keys; because the one thing which is changable is a picture; I mean in global sense; variables like leftx, right x should be one… 7 NLP Tasks to Perform for Free in Python with Mistral 7b LLM Programming Computer Science by usmanmalik57 In the rapidly evolving field of Natural Language Processing (NLP), open-source large language models (LLMs) are becoming increasingly popular as they are free to use. Among these, the [Mistral](https://docs.mistral.ai/models/) family of models stands out as a state-of-the-art model that is freely accessible to the public. Comparable in … Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace Programming Computer Science by usmanmalik57 In a previous article, I explained [how to fine-tune Google's Gemma model for text classification](https://www.daniweb.com/programming/computer-science/tutorials/541544/fine-tuning-google-gemma-model-for-text-classification-in-python). In this article, I will explain how you can improve performance of a pretrained large language model (LLM) using … Hi everyone, I'm William Entriken Community Center Say Hello! by fulldecent Writing in from Philadelphia. Saying what's up from the open source, blockchain and GitHub worlds. Re: GCC Fails to Recognize Parameters Programming by toneewa While I haven't used DJGPP for a couple decades, I decided to install the ffmpeg library and do a test program another way. For me, the declarations worked changing: #include "os_support.h" #include "avformat.h" #include "internal.h" #if CONFIG_NETWORK #include "network.h" #… Devin Might Be Fake, Yet AI's Threat to Jobs Is Real. Community Center by Johannes C. **The creators of an automated software engineer tout their AI's capability to independently tackle complete coding projects, including actual tasks from Upwork. While skepticism is warranted regarding Devin's authenticity, the risk of AI displacing professionals across numerous fields is undeniable.** ![will-code-for-food.jpg](https://static.… A module that comes with Python, doesn´t register? Programming Web Development by Audun Hi Title: A module that comes with Python, doesn´t register. This is the error message: %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 1, in <module> import cv2 # OpenCV for image processing ModuleNotFoundError: No module named 'cv2' I double-checked to … Odoo : report creation from JSON data Programming Web Development by codewasher Hi, I am new to Odoo ERP development. I have a requirement as below. I need to connect to an external API and get the response JSON data. From this response, I need to prepare the reports and show it as the list, then click on each item, it will show the report in form view. 1. I have JSON data 2. JSON data has student details, so I need a… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun Thanks. That sorted it. Now, I have a new problem.. I tried the two variations of quotation marks, without the backslash, and got this: >>> %Run 'open cv - tot.py' Traceback (most recent call last): File "C:\Users\Audun Nilsen\open cv - tot.py", line 8 image = cv2.imread("C:\Users\Audun Nilsen\Pictures\… Re: How to Code a Load More Button? Digital Media Digital Marketing Search Engine Strategies by Dani Hello there! Firstly, so sorry for taking so long to respond to this thread. I was actually away at an SEO conference (I'm going to write a post about it in the next handful of days, and, yes, I'm mildly feeling a bit better). That being said, what you're asking for is definitely doable, because we are doing the exact thing here at DaniWeb. … Re: Learning about AI Community Center by rproffitt I have to ask if any mention was made about CNET which went all in on AI generated content. Wikipedia downgraded CNET's reliability rating as a result. Source: https://en.wikipedia.org/wiki/CNET All the folk I knew there have left or been laid off. Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped… Re: Improve HAVING BY performance Programming Databases by AndreRet And so the queen bee has spoken again, no matter the input or consideration from others. IMHO Reverend Jim were not out of line here, merely posted a scenario which could have helped... I truly saw/hoped for a turn around on the site but it seems to be governed by a "my way or the highway" mindset. Through some years I have really tried … Re: i don´t understand this syntax error when using OpenCV Programming Databases by Reverend Jim What happens if you open a python shell and just type "import cv2"? As I said in your other thread, the problem might be with python 3.12. It imports ok under 3.10. Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or… Re: ABC for Github-programs and Python Programming Software Development by Reverend Jim I have an apps folder on D: where I keep all my portable/homegrown software. Let's say I want to create a virtual enviromnent in `D:\apps\MyVirtual`. To do this I open a command shell and do D:\>cd apps D:\apps>python -m venv MyVirtual If I install any packages in this session, they will be installed in the virtual python. … Re: Hi everyone, I'm William Entriken Community Center Say Hello! by Reverend Jim Welcome to Daniweb Re: Hi everyone, I'm William Entriken Community Center Say Hello! by Dani Hello and thank you so much for joining DaniWeb!! It was great meeting you today and I really appreciate the support. Re: A module that comes with Python, doesn´t register? Programming Web Development by Reverend Jim I tried installing python 3.12 and had the same problem. I typically wait a bit before installing the latest and greatest because I have found it can take a while before packages are upgraded to be compatible (usually wxpython). I was able to install the individual packages under python 3.10. I know that the "next to latest and greatest" … Fine Tuning Google Gemma Model for Text Classification in Python Programming Computer Science by usmanmalik57 On February 21, 2024, Google released [Gemma](https://ai.google.dev/gemma), a family of state-of-the-art open-source large language models (LLMs). As per initial results, its 7b (seven billion parameter) version is known to perform better than Meta's [Llama 2](https://llama.meta.com/), the previous state-of-the-art open-source LLM. As always, my… ChatGPT ‘Lobotomized’? Performance Crash Sees Users Leaving in Droves Community Center by Johannes C. **ChatGPT has had lazy days before, but this week’s performance marks an unprecedented low. Here’s why many ChatGPT Pro users are canceling their subscriptions – and even more might follow.** ![lobotomized-chatgpt.jpg](https://static.daniweb.com/attachments/4/7421f2d25c68fdee20e906d1ae1bfec9.jpg) Yes, complaints about ChatGPT being lazy have … Choosing the Right Framework: Comparing Pros and Cons Programming by riyajohnson70 When it comes to selecting a framework for a development project, it's crucial to make an informed decision. With so many options available, it can be challenging to determine the best fit for the project's needs. Let's take a look at some of the pros and cons of popular frameworks to help us gain insights into the selection process. React is a …