Program Definition and 1000 Threads
-
News An AI Program namesake of a PF Mentor
Attention @Evo: https://phys.org/news/2024-11-evo-ai-based-deciphering-genetic.html- jedishrfu
- Thread
- Ai Program
- Replies: 3
- Forum: General Discussion
-
Comp Sci Automatic Market Research Program
I was given an Excel that contains a list of products, my teacher would like us to scrap through the website hktvmall.com to find respective similar products and list out their prices and description. FYI:- Leo_Chau_430
- Thread
- Automatic Excel Program Research
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Python Why Use Python for Web Scraping Instead of Excel?
My code is as follow: import pandas as pd from bs4 import BeautifulSoup import requests import os url = 'https://www.goodschool.hk/ss' response = requests.get(url) html = response.content soup = BeautifulSoup(html, 'html.parser') school_items = soup.find_all('div', {'class'...- Leo_Chau_430
- Thread
- Excel Program Python Web
- Replies: 13
- Forum: Programming and Computer Science
-
Need a free backup program for Windows
I'm looking for a free (and simple to use!) program to do differential backups of my files on my Windows laptop. I don't want anything encrypted, just something that can compare files to the backup and add/subtract whatever's been changed. Years ago, I used "Karen's Replicator". Not sure if...- Doc Al
- Thread
- files Program Windows
- Replies: 4
- Forum: Computing and Technology
-
Should I skip labs/experiments for Mathematical Physics program?
I am attending University of Waterloo and my school will allow me to graduate as a Mathematical Physics major without taking any labs/experiment courses (in my school lab is not integrated to physics courses, they are separate courses with separate credits). This could be great because : -...- kafka64
- Thread
- Graduate school admissions Mathematical Mathematical physics Physics Program
- Replies: 6
- Forum: STEM Academic Advising
-
Is Kerbal Space Program Free on Epic Games Store Right Now?
Just FYI to anyone who is interested or has a friend or relative who might be interested, Kerbal Space Program is free on the Epic Games store right now through January 12th at 10AM (don't know the time zone). Kerbal Space Program is THE game if you are interested in rocketry, realistic space...- Drakkith
- Thread
- Kerbal Kerbal space program Program Space
- Replies: 1
- Forum: General Discussion
-
Other Do I need a physics degree to get into a physics graduate program?
I know this might be a stupid question, but I am serious. Some of my friends are in graduate programs not much related to their major (a number of my friends majored in math but are in computer science grad programs, and vice versa), so I am curious whether the same holds for physics. In my...- tetrahed
- Thread
- College Degree Graduate Graduate program Physics Physics degree Physics graduate Program
- Replies: 16
- Forum: STEM Academic Advising
-
JavaScript Why use spread operator in this react program? What does it do?
Code for this is here: https://codesandbox.io/s/floral-frog-7zfon3 I got the general idea of program flow in this case. First user clicks a button, then function gets called, that function in turn updates the state from initial [] state to [{id:1,value:0.12232}]. Now the array map accesses...- shivajikobardan
- Thread
- Operator Program
- Replies: 2
- Forum: Programming and Computer Science
-
JavaScript How does props program flow work in react js?
App.js: import React from 'react' import Helloworld from './components/HelloWorld'; import Users from "./components/Users"; const App = () => { return ( <div> <h1>List of Users</h1> <Users name="Zino Emi" job="Developer" /> <Users name="Lionel Messi" job="Web Developer"...- shivajikobardan
- Thread
- Flow Flow work Program Work
- Replies: 2
- Forum: Programming and Computer Science
-
Java How does this Promise program flow work in javascript?
Promises syntax that I learnt: let p = new Promise(function (resolve, reject) { let x = 20, y = 20; if (x == y) { resolve(); } else { reject(); } })p.then(function () { console.log("that's correct"); }) .catch(function () { console.log("that's not correct"); }) I...- shivajikobardan
- Thread
- Flow Flow work Javascript Program Work
- Replies: 1
- Forum: Programming and Computer Science
-
D
Did my Android program crash because it lacks a delay mechanism?
Hi everyone I modified some code that originally displayed a toast when the screen was pressed and held. The original code used onTouchListener with a relative layout, but I changed it to a button instead. I think I've copied it correctly, but my program crashes when the button is clicked. I...- Darkmisc
- Thread
- Android Crash Delay Mechanism Program
- Replies: 11
- Forum: Programming and Computer Science
-
R
I I made an N-body simulation program
My little project - 3body simulator started as a programming exercise, which I attempted to make a program that solves the famous 3-body gravity problem using numerical integration. Later I gained interest in the underlying physics and expanded the program to solve N-body problems involving...- Random Physics Fan
- Thread
- N-body simulation Program Simulation
- Replies: 2
- Forum: Classical Physics
-
M
Which factors of a PC determine the opening time of a program and a large file
Hello. Would you please explain the factors that determines the opening time of a program or a big file. For example if you have a large excel file, why would you have a difficulty to open it, if it is very large? If it is in your PC's main storage, that is either HDD or SDD, is it reading...- mech-eng
- Thread
- Factors File pc Program Time
- Replies: 38
- Forum: Computing and Technology
-
I Calculate Gaussian Curvature from 4D Metric Tensor
I've been trying to find a way to calculate Gaussian curvature from a 4D metric tensor. I found a program that does this in Mathematica using the Brioschi formula. However, this only seems to work for a 2D metric or formula (I would need to use something with more dimensions). I've found...- Sciencemaster
- Thread
- Curvature Curvature of spacetime Gaussian Mathematica Metric Metric tensor Program Python
- Replies: 14
- Forum: Special and General Relativity
-
C
Call program written in language B from program written in language A
Let's say I have an algorithm ## ALG_A ## written in language ##A##, and I wish to call algorithm ## ALG_B ## written in language ##B## through ## ALG_A ##. What are some ways of achieving this in implementation? For example, say I want to calculate stuff in C language and provide this...- CGandC
- Thread
- Language Program Programming
- Replies: 22
- Forum: Programming and Computer Science
-
Comp Sci Scratch codes -- Find the value of a at the end of the program
Hi, i am really new to scratch programming so I am having difficulties in interpreting how does this code work ? I understand the first block set a = 5. But i don't know what is that " Repeat 10 " block. What does it do? So really stuck at that "repeat 10" so haven't gone further.- Tesla In Person
- Thread
- Program scratch Value
- Replies: 8
- Forum: Engineering and Comp Sci Homework Help
-
C program could not be compiled and executed at Windows command prompt
/* Write a c program to convert given number of days to a measure of time * given in years, weeks and days. For example 375 days is equal to 1 year * 1 week and 3 days (ignore leap year) */ #include stdio.h #define DAYSINWEEK 7 void main() { int ndays, year, week, days...- WMDhamnekar
- Thread
- Gcc Program Windows
- Replies: 14
- Forum: Programming and Computer Science
-
M
Python Python: Semidefinite program with CVXPy 'Error parsing inputs'
Hi, Question: Why is the error 'Error parsing inputs' in CVXPy occurring? Context: I am trying to solve a semidefinite program in CVXPy (using Google Colab). I went to the documentation (HERE) and I copied the example code into a cell. It doesn't work for some reason and I don't understand...- Master1022
- Thread
- Program Python
- Replies: 2
- Forum: Programming and Computer Science
-
M
How to program a buzzer to a PIC18F452 with PROTEUS and MPLAB IDE?
crystal frequency is 4MHz The code i have tried is: #include <p18cxxx.h> #include <xc.h> void main(void) { TRISC = 0; // making TRISC pins output ADCON1 = 0x07; // making them digital pins while(1) { RC0 = 1; __delay_ms(5000); RC0 = 0...- Maniac_XOX
- Thread
- Electronics Electronics engineering Engineering Mechatronics Microcontroller Program
- Replies: 3
- Forum: Electrical Engineering
-
A
Is there a program that can run depletion calculations in reverse?
I was having a conversation with a coworker and this question came up: is there a program like ORIGEN (or maybe even ORIGEN) to run decay calculations in reverse? It's a relatively easy process to start with a given quantity of an isotope (e.g. U236), run it through a program such as ORIGEN...- atomicpedals
- Thread
- Calculations depletion Program Reverse
- Replies: 3
- Forum: Nuclear Engineering
-
So You Wanna Program a Quantum Computah Just Twist
https://spectrum.ieee.org/quantum-programming-language-twist?share_id=6917385- jedishrfu
- Thread
- Program Quantum
- Replies: 9
- Forum: Programming and Computer Science
-
Program Ubuntu to ignore mouse clicks that are very close in time
At the very beginning, I accept that I have a faulty mouse. I bought it last year, and it's been only one year (almost), and the left button is malfunctioning. Single clicks are often becoming double clicks, which is causing a host of problems — closing two tabs one after the other in browsers...- Wrichik Basu
- Thread
- Program Time Ubuntu
- Replies: 21
- Forum: Computing and Technology
-
How to understand this "decompiled" program?
I am sinking deeply into the cryptocurrencies world. There is a website that shows a "smart contract", a piece of code that is supposed to provide rewards for "staking" a particular token, where the rewards is two different tokens (I am not even sure in which proportion). Usually people who...- fluidistic
- Thread
- Code Program
- Replies: 9
- Forum: Programming and Computer Science
-
Storing program source as relations in a database instead of text file
Almost all (compiled or interpreted) programming langues store the program source in the form of a series of bytes (using an encoding like ASCII or UTF-8) into a text file, enforcing the grammer of the programming language using a parser (as part of the compilation process or interpretation of...- elcaro
- Thread
- Database File Program Relations Source Text
- Replies: 65
- Forum: Programming and Computer Science
-
M
MHB Program to calculate the sum of polynomials
Hey! 😊 A polynomial can be represented by a dictionary by setting the powers as keys and the coefficients as values. For example $x^12+4x^5-7x^2-1$ can be represented by the dictionary as $\{0 : -1, 2 : -7, 5 : 4, 12 : 1\}$. Write a function in Python that has as arguments two polynomials in...- mathmari
- Thread
- Polynomials Program Sum
- Replies: 4
- Forum: Programming and Computer Science
-
Always launch a program with additional parameters Ubuntu 20.04
Hi, Due to a proxy issue I have to launch chromium with this additional requirement to set the right proxy chromium-browser --proxy-server=http://proxy.myproxy:XXXX To get things more easy I defined an alias alias chrome='chromium-browser --proxy-server=http://proxy.myproxy:XXXX' so now I...- dRic2
- Thread
- Launch Parameters Program Ubuntu
- Replies: 13
- Forum: Programming and Computer Science
-
T
MCNP: Critical Mass of UO2 (10% Enrichment)
I wrote a program to determine the critical mass of uranium oxide with an enrichment of 10%. I got a keff approximately equal to 1 with the selected volume and density (attached a file). Is it possible to somehow run the program without writing the initial density and volume into the conditions...- Tema3212
- Thread
- Assistance Critical mass Mass Mcnp Program
- Replies: 2
- Forum: Nuclear Engineering
-
F
Saving the state of a program versus running the program
Hello Forum, I am not completely clear on the idea of saving the state of a Python program. We can write a .py program which has instructions, formulas, variables, user inputs, and uses data from an external file, etc., and run such file. However, running the program is different from saving...- fog37
- Thread
- Program Running State
- Replies: 22
- Forum: Programming and Computer Science
-
R
Programs How to pursue a physics grad program with a math degree?
Hello, I hold a BS in mathematics and want to pursue a career in physics. Is there any way where I can directly join a physics grad program from my current background? What are the options available? And would it be better to pursue an MS in applied math and then switch to physics? Would a good...- ricky33
- Thread
- Degree Grad Grad school Grad school application Gre physics Physics Program
- Replies: 3
- Forum: STEM Academic Advising
-
C
B Measuring change in g with height (TV program many years ago)
Bit of a long shot but can anyone remember a TV program where the presenter measured the weight of something at ground level and compared it to the weight at the top of a tall building, possibly the Empire State building? Sorry I can't recall more details. Think it was at least 10 years ago...- CWatters
- Thread
- Change Height Measuring Program Years
- Replies: 21
- Forum: Classical Physics
-
S
How should a program make a function out of a symbolic expression?
Suppose a program computes or reads-in a symbolic mathematical expression like ##2x^2 - xy + y##. What's an effective way to cause the program to implement the expression as a function (e.g. implement ## f(x,y) = 2x^2 - xy + y##) when the programmer doesn't know in advance what the expression...- Stephen Tashi
- Thread
- Expression Function Program
- Replies: 17
- Forum: Computing and Technology
-
K
Enrolling in a Graduate Physics Program with an Architecture Degree
Hello, Is it possible to enroll in a graduate program in physics if I have an an undergraduate degree in architecture? Or is an undergraduate degree in physics- or in a related field- required to qualify? (Assuming that I have studied extensively physics (alone) while obtaining my degree in...- Kat3011
- Thread
- Architecture Degree Graduate Physics Program
- Replies: 3
- Forum: STEM Academic Advising
-
Online ME or AE Program for Active Duty Military Service Members
Hello everyone, I have a friend who serves in the military, he enlisted right out of high school (about 3 years ago) and he is looking to start a program to earn his bachelors degree. Due to his current role in the military, he needs to take courses online in order to fulfill his duties. He...- AJSayad
- Thread
- Bachelors Members Military Online degree Program
- Replies: 2
- Forum: STEM Academic Advising
-
Y
Need program to convert MPG to MP4
Hi I have a MPG file that I cannot watch on my computer. My computer will play MP4, I know there are online program to convert MPG to MP4, I want to get a safe link from you experts before I dare to do that. This is what I found, but I want to get your feedback before I do anything...- yungman
- Thread
- Convert Program
- Replies: 24
- Forum: Computing and Technology
-
M
Comp Sci How Does a Boolean Variable Impact Program Functionality in C++?
#include <iostream> #include <string> #include<iomanip> //prototypes double gettingInfo(double&, double&, double&, bool&, char&); double errorChecking(double&); double calculatingPrice(double&, double&, double&, bool&); double printingReciept(double&, double&, double&,double&); using namespace...- Mustard
- Thread
- Program Variable
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
E
Why is this matrix not working in my program?
https://projecteuler.net/problem=101import numpy as np for j in range (1,11): M = np.empty([j, j]) for x in range(1,j+1): for y in range(1,j+1): M[y,x] = y**(j-x) Minv = np.linalg.inv(M)The ##j^{\mathrm{th}}## estimate ##\mathrm{OP}(j,n)## which fits ##j## data...- etotheipi
- Thread
- Matrix Program
- Replies: 9
- Forum: Programming and Computer Science
-
F
Programs Condensed Matter PhD Program Choice - Advice Needed
Hi, I don't want to be too specific here, but specific enough for relevant advice. I'm finishing a Masters in Physics and am lucky to have been made offers by 2 excellent institutes: a Max Planck Graduate Centre (MP), and at Oxford UK. Both are in experimental condensed matter; Weyl...- Feyel
- Thread
- Choice condensed Condensed matter Experimental physics Matter Phd Phd advice Phd program Program
- Replies: 4
- Forum: STEM Academic Advising
-
Y
MNCP5 error: Program Exception - stack overflow
- ytaiwo85
- Thread
- Error Program
- Replies: 1
- Forum: Nuclear Engineering
-
Python What's wrong with this Python program on Euler's forward algorithm?
Here is the function that I have written: import numpy as np def ode_euler_forward(odefun, y_initial, x_range, num_steps): """ Solves a system of non-stiff ODEs using Euler's forward algorithm. Parameters ---------- odefun : callable(x, y1, y2, ...) The function...- Wrichik Basu
- Thread
- Algorithm Program Python
- Replies: 2
- Forum: Programming and Computer Science
-
J
Why is my program crashing when using multiple classes and pointers?
Following my book, we are making a program with two classes: Message and Folder. The idea is that messages will be stored in a folder. The same message can be saved in multiple folders. In order to accomplish this, Message has a set of pointers to Folder that point to each of the folders that...- JonnyG
- Thread
- Program
- Replies: 5
- Forum: Programming and Computer Science
-
J
My destructor is causing my program to crash
Below is my code. The include directives and the using std::* declarations have been removed for brevity: class HasPtr { friend void swap(HasPtr&, HasPtr&); public: HasPtr(const std::string &s = string()): ps(new string(s)), i(0) {} HasPtr(const string &s, const int &j) : ps(new...- JonnyG
- Thread
- Crash Program
- Replies: 3
- Forum: Programming and Computer Science
-
Y
C/C++ Question on this program with exception C++
I am stepping through the program and I actually wrote down the steps in comment each step the debugger step through. I have a few question I still don't understand. Here is the program: //Matching catch handler with exception #include<iostream> #include<string> #include<string_view>...- yungman
- Thread
- C++ Program
- Replies: 19
- Forum: Programming and Computer Science
-
D
A The Langlands program and its connection to physics
On wikipedia, it says that the Langlands program is a kind of "grand unified theory of mathematics." Does this program have any known connections to physics and in particular, quantum gravity?- dx
- Thread
- Connection Physics Program
- Replies: 8
- Forum: Beyond the Standard Models
-
Comp Sci Writing a Little Man Computer program to compare 2 integers
I've attempted and I can retrieve a 0 when the first input is greater than the second using BRP. I can't seem to get the output of 1 if the first input is equal to the second input. I also don't get a 2 output with the first input being less than the second. I also have no idea how to loop a...- DanjoJojo
- Thread
- Compare Computer Computer science Integers Program Writing
- Replies: 18
- Forum: Engineering and Comp Sci Homework Help
-
J
Please critique my program design
I am writing a simple program for my wife and would like some critique on some general design decisions I've made. The program will be able to store a recipe she enters (in a .txt file), retrieve a recipe that she had entered in the past, and allow the input and retrieval of ingredient densities...- JonnyG
- Thread
- Design Program
- Replies: 41
- Forum: Programming and Computer Science
-
Strategy for scheduling with preference constraints
A computer program that was supposed to handle this was bought and tried, and it made a mess of it, so the idea is that perhaps it would be easier to give a strategy to someone (computer savvy, but an amateur, not a professional ) to program (not requiring too much power of the computer on which...- nomadreid
- Thread
- Constraints Program Scheduling Strategy
- Replies: 11
- Forum: Programming and Computer Science
-
K
Which Program for Drawing Statics & Dynamics Mechanicals and Setting Dimensions?
Wich The Program (Software) Using To Draw Statics And Dynamics Mechanichal Same This 100% When Create This below Which Program Using ? And set Dimensions Thanks For All- kakarotto
- Thread
- Dimensions Drawing Dynamics Dynamics kinematics Program Software Statics
- Replies: 8
- Forum: General Engineering
-
Do you consider writing this program a bit of a challenge?
Do you consider writing a program that takes 3 integer inputs and orders them in ascending order (accounting for same numbers) difficult? You can only use if statements (if, else if, else). I know there is some thing called "sort" that does the tedious work for you but do you find this simple...- Hacker Jack
- Thread
- Bit Challenge Program Writing
- Replies: 49
- Forum: Programming and Computer Science
-
Y
Question on this overload program
Hi I modified the program originally from Jtbell. I don't want to hijack his thread, so I ask my questions in this thread. I change names, mainly I assign names instead of a, b, c. I have question on one part of the program: #include <iostream> #include "OverLoad.h" #include <cstring> using...- yungman
- Thread
- Program
- Replies: 89
- Forum: Programming and Computer Science
-
DOE ARPA-E, ULTIMATE—Ultrahigh Temperature Materials Program
WASHINGTON, D.C. – The U.S. Department of Energy today announced $16 million in funding for 17 projects as part of Phase 1 of the Advanced Research Projects Agency-Energy’s (ARPA-E) Ultrahigh Temperature Impervious Materials Advancing Turbine Efficiency (ULTIMATE) program. ULTIMATE teams will...- Astronuc
- Thread
- Doe Materials Program Temperature
- Replies: 2
- Forum: Materials and Chemical Engineering