Re: Coin Flip (Python Newbie) Programming Software Development by Dani > Presumably bumping every "coinflip" post to spam their URL Nothing wrong with that!! I'll take a trillion helpful posts if all someone wants in exchange is a free signature link back to their website (that only shows up for logged in members, so no SEO incentive). Integrating OpenAI Web Search API in LangGraph Programming Computer Science by usmanmalik57 Large language models are trained on a fixed corpus, and their knowledge is often limited by the documents they are trained on. Techniques like retrieval augmented generation, continuous pre-training, and fine-tuning enhance an LLM's default knowledge. However, these techniques can still not enable an LLM to answer queries that require web … Hi everyone, I'm stevejonas Community Center Say Hello! by stevejonas I am Steve Jonas, a technical blogger at EmizenTech, a reputed software development company that deals in Magento 2 solutions, Salesforce, and Python development. Re: Fujitsu Windows Server 2019 Servers Rebooting at 11pm every day Hardware and Software Microsoft Windows by Reverend Jim Certainly the technology and tools have changed but principles of design and good programming styles have not. Python has, for the most part, replaced (effectively) dead languages like COBOL, and now-niche languages like FORTRAN, but structured programming and modular design are still essential techniques. I have seen too much code written by self-… Re: Hi everyone, I'm stevejonas Community Center Say Hello! by Dani Hi Steve. Welcome to DaniWeb. What brings you here? Re: How Does Flutter Handle State Management Internally? Programming Software Development by asadalig Flutter manages state using a widget tree and immutable widgets. When an app’s state needs to be updated, Flutter takes care of rebuilding only the UI components that require change when setState() is called on stateful widgets. This allows the framework to re-render the important widgets and not all the widgets on the screen. For more … Re: Coin Flip (Python Newbie) Programming Software Development by jassonadder Hey! Great job getting started with Python—your logic is almost there, just a couple of small fixes needed. The main issue is that you're using the variable timesflipped in your while loop, but it was never initialized. Because of that, the loop never runs properly, and your counters don't change. Here's a corrected version of your code:… Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks Programming Computer Science by usmanmalik57 On April 14, 2025, OpenAI released [GPT-4.1](https://openai.com/index/gpt-4-1/) — a model touted as the new state-of-the-art, outperforming GPT-4o on all major benchmarks. As always, I like to evaluate new LLMs on simple tasks like text classification and summarization to see how they compare with current leading models. In this article, I will… Hi everyone, I'm Hichem_MG Community Center Say Hello! by Hichem_MG Hi everyone, I'm Hichem. A web developer, Python enthusiast and problem solver. I'm happy to be a member of the DaniWeb community. Re: Hi everyone, I'm Hichem_MG Community Center Say Hello! by Reverend Jim Welcome to Daniweb. What type of Python projects have you done? Re: Cannot run exe from asp.net Programming Web Development by lennyli > Why your approach isn’t working > What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: > > Running a .exe on the server > You can technically make the server launch an .exe file like Notepad, but: > > It will run in the background on the server, not visibly on… Re: Cannot run exe from asp.net Programming Web Development by lennyli > > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. > > So did it even give you `print("Waiting for a connection...")` ? > > Consider making your server main like this. > > if __name__ == "__main__": >… Re: which language do i start leaning in 2025 Programming Software Development by retseaz77 Great question! In 2025, some of the most practical and trending languages to learn include: Spanish – widely spoken and super useful for travel and business Mandarin Chinese – huge global economy advantage French – still very relevant in international diplomacy and culture Python (if you meant programming) – still one of the top … Re: Cannot run exe from asp.net Programming Web Development by lennyli > Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Sure, I understand, but for my above new … Re: Cannot run exe from asp.net Programming Web Development by Salem > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. So did it even give you `print("Waiting for a connection...")` ? Consider making your server main like this. if __name__ == "__main__": print('Server Begin') … Re: Cannot run exe from asp.net Programming Web Development by lennyli I fixed the problem by ensuring the path is including python. Also on the server I must run pip install Thank you all All working now Re: Java Coin Flip Program Programming Software Development by jassonadder Hey! You're on the right track with your idea—it’s a great beginner project to practice loops, input, and class methods in Python. Here’s a sample program that does exactly what you're asking. It defines a class with a flipCoin() method, reads in how many times the user wants to flip a coin, prints each result, and then shows the totals at the … Re: Which Python project should I use? Programming Software Development by Reverend Jim Using wxPython for your GUI elements will make it more portable to other platforms. wxPython also renders the elements in the target platform's native style. Usimg wxGlade (also free) to design the layout will make things much easier than doing it all by hand. DeepSeek R1 vs Llama 3.1-405b for Text Classification and Summarization Programming Computer Science by usmanmalik57 In a [previous article](https://www.daniweb.com/programming/computer-science/tutorials/543028/text-classification-and-summarization-with-deepseek-r1-distill-llama-70b), I presented a comparison of [DeepSeek-R1-Distill-Llama-70b](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B) with the [DeepSeek-R1-Distill-Qwen-32B](https://… Re: Question/Answering over SQL Data Using LangGraph Framework Programming Computer Science by Pelorus_1 Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever. Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by policenbicleara Llama-70B struggles with sentiment analysis (69% accuracy) vs. Qwen-32B (87%). Summarization performance is weaker, with lower ROUGE scores. Qwen-32B is the better choice—smaller, faster, and more accurate. Re: Text Classification and Summarization with DeepSeek R1 Distill Llama 70B Programming Computer Science by Pelorus_1 Great breakdown of DeepSeek R1 Distill LLaMA 70B! The explanation of text classification and summarization is clear and insightful. Appreciate the practical examples—makes implementation much easier. Thanks for sharing! Re: Key Tools and Tips for Efficient Web Development Programming Web Development by simplixi The world of web development is vast, but with these tools and tips, you'll have a solid foundation to build on. Keep exploring and practicing, and you’ll get the hang of it in a very short time. **Front-End Development** * **React:** Think of it as a tool that helps you build the parts of a website users see and interact with. It’s like LEGO … Why Hire Developers in USA for Crypto Exchange Development? Programming Software Development by YashSmith Please suggest me ! How Does Flutter Handle State Management Internally? Programming Software Development by James_228 Hey Flutter devs I’ve been learning Flutter app development for cross-platform app development and I’m starting to get into more advanced stuff — but one thing that still feels a bit unclear is state management. I know there are several options like: setState() Provider Riverpod Bloc GetX, MobX, etc. But I’m curious: How … Re: python Programming Software Development by tomleo Python is really easy, I would defiantly start learning it. For web development I would suggest looking into the [URL="http://www.djangoproject.com/"]Django[/URL] framework. It shouldn't be to hard to transition from C++ to Python, I didn't think it was. Java is also great for the desktop and web but has a slightly higher learning … Python webpage -please help Programming Software Development by robinclarke95 Python webpage -please help Hi I am very new in python programming.I am trying make a basic webpage where I ask user to input url like "http://www.google.ca" and a description of the url like"search engine". Using python script I will add that url and description in dbm database and print that url as a link in the browser.I am… Python for Pentesters! Programming Software Development by tony75 Python for Pentesters! I study computer forensics and IT security in university. I would like to know how to use python for penetration testing. Is there any courses or site to teach you how to create own tools for penetration testing? We study more Perl for IT forensics but I love python. securitytube.net have one course and Im already member … Python's Debugger Programming Software Development by bumsfeld Python is relatively new to me. I have mostly programmed in C and C++. I read that Python has a good build-in debugger, but I can not understand the information in the reference manual. Can anybody please give an actual commented example how this works. python-binary trees Programming Software Development by beela16 Python & binary tree help PLEASE?!?????????please please please help me in anyway :'(? Write a Python program that : a: Takes in as input a list of numbers (Note that you have to type in these numbers using the keyboard) using: def insert(tree, key): if len(tree) == 0: return [key, [], []] else: if key < tree[0]: return [tree[0…