Programming Definition and 1000 Threads
-
F
The nosy guy
I am a retired engineer that still is interested in physics, mechanics, programming, designing, experimenting, prefering the cases where these disciplines are closely related. I worked my whole life at the same institute in the Netherlands, but over time in different functions. I started with...- Fred_Schimmel
- Thread
- Applied mechanics Electronics Engineer Physics Programming
- Replies: 2
- Forum: New Member Introductions
-
COBOL and MUSKateers
Calling all COBOL geeks........ I have never used COBOL. I wonder about the latest claims of waste fraud and abuse made by Trump/Musk about 150 yr old recipients of government largesse. Talking heads claim that, in fact, COBOL actually defaults birthdates to 1875 as an error code . I would...- hutchphd
- Thread
- Computer Programming
- Replies: 17
- Forum: Programming and Computer Science
-
S
Unsolvable python code bug? (finding the difference between two input strings)
All day I have been trying to find a method of finding the difference between two input (body of text), and get the difference but in order. I have tried breaking down the text into separate lines, then try to find the difference between both lines, but somehow this doesn't solve the problem and...- Sucvicbil
- Thread
- Programming Python Text
- Replies: 2
- Forum: Programming and Computer Science
-
Courses Course selection & study guidance for my Masters program
I will be beginning my Masters degree in Astrophysics in the coming months. My thread deals with 2 aspects: 1. I have a mandatory CS course & want to request suggestions/recommendations on reference materials, textbooks, tutorials etc. on how to tackle it. For context, my programming skills &...- warhammer
- Thread
- Astrophysics Master's degree Programming
- Replies: 5
- Forum: STEM Academic Advising
-
Python Question about learning programming
Hello, I am currently learning Python as a basis for further studies in programming. The course that I took at college was quite basic, teaching us the basic concepts required for programming, and some web oriented concepts like data scraping, APIs, automated tasks using bots. As I delved...- TGV320
- Thread
- Algorithms learning Programming
- Replies: 43
- Forum: Programming and Computer Science
-
L
A Wild Liru has Appeared!
Hello there! My name is Liru. I'm a 17 year old furry Uni student that is going into Computer Science. Currently trying to get a head start by learning as much as I can about Computer Science fields and programming. Any help is greatly appreciated!- Liru_159
- Thread
- Computer science Programming Student
- Replies: 3
- Forum: New Member Introductions
-
Big Breakthroughs in Computer Science in 2023
- jedishrfu
- Thread
- Computer science Programming
- Replies: 1
- Forum: Programming and Computer Science
-
Intro Physics Learn Python: Top Book Recommendations for Beginners
I'm looking at a book called python crash course for beginners (eric mathes), does anyone have experience of using this book or any other book that you would recommend for learning python if not that, is there a specific course you'd suggest that isn't in book form? I'm completely new to...- robotkid786
- Thread
- Beginner Programming Python
- Replies: 9
- Forum: Science and Math Textbooks
-
P
Fortran Errors in Fortran code for solving Laplace's equation in 3D
hey everyone. I wrote a code in Fortran to calculate potential values or solve the Laplace equation inside a cube according to the boundary conditions mentioned in the code. this is my code: program laplace_cubic implicit none REAL*8 :: LX, LY, LZ, DELTA, MAX_ERR, ERR INTEGER :: NX, NY...- physicsuser2023
- Thread
- Computational physics Fortran Fortran95 Physics Programming
- Replies: 4
- Forum: Programming and Computer Science
-
Y
What is the best way to learn logic of computer language?
Hi I want to give an introduction of programming to my grand daughter who's going to college next year. She never learn any language. I want to play with Audino Kit with her. It's mostly C++. But it's too difficult for her to learn as first language and she doesn't have time as she's still very...- yungman
- Thread
- Computer science Logic Programming
- Replies: 15
- Forum: Programming and Computer Science
-
D
Looking for trigonometric ray tracing software for optics
Is there an existing ray trace program that can trace planar light rays through this monocentric, model lens? Parameter values are given above. Input ray angles are all zero. Does some program give the output ray angle values at the second surface? How about for any arbitrary ray incoming to... -
Automate clicks and typing on Windows apps without source code?
I want to create a program that can type and click for me on any Windows app without access to the source code. This would save a lot of time doing boring and repetitive tasks. Is this possible?- kolleamm
- Thread
- Automation Programming Windows
- Replies: 6
- Forum: Computing and Technology
-
LaTeX Discover Typst: The Modern and User-Friendly Alternative to Latex"
In case you're living in a cave or under a rock, I just wanted to mention there's a modern alternative to Latex, which is apparently easier to learn and use. See https://github.com/typst/typst. Thoughts on it?- fluidistic
- Thread
- Programming
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Y
Which MPU is the most popular and will be around for long time?
Hi Just want to know which of the MPU I should learn that will be around and popular for a long time. I bought the Elegoo with ATmega328P. Before I invest time learning how to program it, I want to make sure I choose the right one. Thanks- yungman
- Thread
- Microcontroller Programming
- Replies: 24
- Forum: Computing and Technology
-
P
Do you want to build a website?
I wrote this in response to a recent thread start here which is now deleted, but this is close enough to a common question that I don't think has been answered (recently) here, so here goes... A variety of services exist to create websites such as Wordpress.com, Squarespace and Shopify where...- pbuk
- Thread
- Computer science Programming
- Replies: 15
- Forum: Programming and Computer Science
-
Studying Programming is coming to me but I forget how I solved the problem...
I'm surprised that automatically programming is coming to me. It blows my mind. I could not think of any logic in the past months and now I am able to solve puzzles in programming. But the toughest part is I forget how I solved the problem too quickly. For example, the blackjack program. I...- shivajikobardan
- Thread
- Logic Problem solving Programming
- Replies: 2
- Forum: STEM Academic Advising
-
B
What programming languages does Bartb7 specialize in?
There's stuff on here relevant to my day-to-day, which means I may also be able to contribute. I'm primarily focused on programming in C, C++, Python and Perl. Nothing now, just introducing myself - hello all!- bartb7
- Thread
- C++ Programming Python
- Replies: 2
- Forum: New Member Introductions
-
Comp Sci Converting decimal to Roman Literal using programming?
var dict = { 1: "I", 5: "V", 10: "X", 50: "L", 100: "C", 500: "D", 1000: "M", }; ordinary_literal = Number(prompt("Enter the value of year in foramt 2010")); //2010 as input let roman_value = ""; let minDifference = Infinity; while (ordinary_literal > 0) { for (var key in dict)...- shivajikobardan
- Thread
- Programming
- Replies: 8
- Forum: Engineering and Comp Sci Homework Help
-
C
C/C++ Trying to access constructor variables in class functions
There's a lot here and i can cut it down if need, but im wondering how one access's vectors vec_y and vec_x (which initialize in the constructor) in the rkf function? See, ultimately id like to have the class perform the rkf function which modifies vec_x and vec_y (according the RungeKutta ode...- cppIStough
- Thread
- Programming
- Replies: 36
- Forum: Programming and Computer Science
-
Character pattern program -- Print large words using "X" characters
I want to make a program that takes strings as input. eg: physicsforums. And writes that using x'es. example c of physicsforums should look like this. I've written the program for this. #include <iostream> using namespace std; int main() { int size; cout << "Enter the size of the...- shivajikobardan
- Thread
- Computer science Programming
- Replies: 12
- Forum: Programming and Computer Science
-
Fizz Buzz implemented in Erlang
Fizz Buzz has been discussed in many online blogs are articles, in a multitude of programming languages. It has been widely used as a screening device for those aspiring to obtain developer positions. The job candidate is asked to write some code to print the numbers 1 through 100, with "Fizz"...- Mark44
- Thread
- Programming
- Replies: 16
- Forum: Programming and Computer Science
-
D
Why doesn't my collision detection between two Area2D objects in Godot 4 work?
Hi everyone I'd like to detect collisions between a circle and a floor. I have set them up as follows: The script runs fine (it's just a circle falling towards the floor), but nothing happens when the two objects collide. Does anyone know what I've done wrong?Thanks- Darkmisc
- Thread
- Collision Detection Programming Work
- Replies: 1
- Forum: Programming and Computer Science
-
C/C++ Perform RK4 between 2 Clusters in Magnetic Field
I have a simulated data of charged particles in a magnetic field. I have selected clusters, each cluster contains a set of points(x,z) and I want to perform RK4 between the first and second clusters and fill the positions in a histogram. I have selected the clusters with the initial...- harryharns
- Thread
- Charged Charged particles Clusters Field Magnetic Magnetic field Particles Programming Rk4
- Replies: 12
- Forum: Programming and Computer Science
-
How do I learn programming, particularly bash shell scripting and SQL?
For eg: Currently I am trying to learn bash shell scripting, text processing using bash etc. But the problem is I don't think I can learn it. Why? Because I don't know programming. In particular, problem solving. I don't know problem solving at all. I try my best but I fail. In the past, I tried...- shivajikobardan
- Thread
- Programming
- Replies: 33
- Forum: Programming and Computer Science
-
J
What programming languages/pathways should I focus on?
I am a Senior in High School looking to go to college for Computer Science. Since Freshmen year I have been learning Front End Development (HTML, CSS, and Javascript), albeit somewhat slowly and staggered due to school getting in the way and whatnot. In the past year, I have learned some more...- JackF
- Thread
- Career advice Computer engineering Computer programming Computer science Focus Programming
- Replies: 11
- Forum: Programming and Computer Science
-
Physics based programming problem sets
Was wondering if anyone knew of any good resources with programming challenges akin to the website "Project Euler" (about page found here). To be more specific, I'm looking for something consisting of problems centred around physics topics that would require some level of problem solving and...- hudsonj
- Thread
- Computer programming Physics Programming Sets
- Replies: 4
- Forum: Programming and Computer Science
-
C/C++ Trouble programming Arm Cortex M0 (stuck in the reset_handler)
Hello, i am programming pga970evm module and the core is of arm cortex m0. the program what i have is building succesfully , but while debugging it is stuck or halting in reset (reset_handler) and not comming out of it (startup code). i will provide screen shot of debug page. another thing is...- core7916
- Thread
- Arm Programming
- Replies: 11
- Forum: Programming and Computer Science
-
BASIC programming package -- free downloads for Windows 11?
I used to enjoy writing little programs in BASIC when it was included in Windows. I guess it hasn't been included for a long long time. Is there a BASIC package available for download that would run on my Windows 11 PC?- gmax137
- Thread
- Programming Windows
- Replies: 32
- Forum: Computing and Technology
-
Why is my FPGA not working correctly when programmed with a POF file?
Hello, i am programming my fpga with certain logic. With the sof file the logic is working fine and correct. but when i am programming pof file i am getting error. (programming is successful, but doesn't work as per the logic).- core7916
- Thread
- Fpga Max Programming
- Replies: 3
- Forum: Programming and Computer Science
-
What are some pieces of advice for a struggling programming learner?
TL;DR Summary: advices for struggling programming learner I had access to world's best resources to learn books, tutorials, blogs, youtube, udemy etc. I had access to forums like this to get help and support but still this was tough for me.People say do projects to learn but I really don't...- shivajikobardan
- Thread
- learner Programming
- Replies: 40
- Forum: STEM Academic Advising
-
Towards a new theory of information kinematics
The physical world is highly parallel; many things are happening side by side simultaneously. This is true not only at the macroscopic scales that we can see but as far as we know down to the subatomic scales. This is referred to as the principle of locality [1], which states that an object is...- John Bernier
- Thread
- Category theory Computer science Information Kinematics Mathematics Programming Theory
- Replies: 7
- Forum: Programming and Computer Science
-
U
Comp Sci X86 NASM reading from the terminal and writing back to the terminal
cpu 8086 segment code ..start mov ax,data mov ds,ax mov ax,stack mov ss,ax mov sp,dno mov es, ax start_2 mov ah, 0x0a mov dx, buffer int 21h cmp al, 0 je print_lines inc word [count] mov si, buffer mov di, line mov cx, 100...- user8989898
- Thread
- Assembly cpu Programming Reading Writing x86
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
G
Java Why Is My Java Program Not Working?
Please help me to find what my mistakes are in the following java program.- grzz
- Thread
- Beginner Java Programming
- Replies: 2
- Forum: Programming and Computer Science
-
Comp Sci How do I think about recursion in programming?
I got the idea for problems like factorials or finding sum from 1 to n, where there's a pattern visible. Like this: Source:https://99x.io/blog/recursion-is-not-hard-here-is-the-right-way-to-think I got it for things like addition, subtraction, division, multiplication of two numbers as well...- shivajikobardan
- Thread
- Programming Recursion
- Replies: 11
- Forum: Engineering and Comp Sci Homework Help
-
Can you share exercises/assignments of programming?
I've finished self-learning till arrays. Learning about strings today. My level isn't that high yet that I will be able to solve DSA problems in leetcode and codewars imo. So, I want some exercises. If some of you have access to university's assignments and are eligible to share it, please share...- shivajikobardan
- Thread
- Programming
- Replies: 4
- Forum: Programming and Computer Science
-
S
Physics Most Common Programming Language in Physics Career
HELLO ALL, First off, my apologies if this topic is redundant, but I was wondering which programming language is widely applicable to a physics career. What positions in a Physics related career use what specific languages? What is one's best option if one is pursuing a research position versus...- Sheikhzaadi
- Thread
- Career Language Physics Physics career Programming
- Replies: 23
- Forum: STEM Career Guidance
-
T
I Getting eigenvalues of an arbitrary matrix with programming
I have learnt about the power iteration for any matrix say A. How it works is that we start with a random compatible vector v0. We define vn+1 as vn+1=( Avn)/|max(Avn)| After an arbitrary large number of iterations vn will slowly converge to the eigenvector associated with the dominant...- Trollfaz
- Thread
- Eigenvalues Matrix Programming
- Replies: 1
- Forum: Linear and Abstract Algebra
-
Programming Jokes: Lame, Science & Math Jokes!
We have threads on lame jokes and science jokes. But then, we also have a thread on bad math jokes. So, why not create one specifically for programming jokes? Let me start:- Wrichik Basu
- Thread
- Jokes Programming
- Replies: 461
- Forum: General Discussion
-
Python Solving Linear Programming problems in python PulP
Okay so far I have come up with the following: The objective function is: 30LADA + 40LAHO + 50SADA + 40SAHO + 110DANY + 125DACH + 105HONY + 115HOCH (to read this please see the table above as I have just used the first two letters of each except NY which I have represented by NY). In these I...- alpha
- Thread
- Linear Linear programming Programming Python
- Replies: 1
- Forum: Programming and Computer Science
-
Optimizing Constraints for Linear Programming Problem
So far I have figured out the following: maximize 0.02x1 + 0.01x2 +0.06x3 + 0.07x4 subject to: xi <= 200,000 xi >= 24,000 x3 <= x2 +x4 x1 >= x3 But when I try to solve this in solver, I get an error which means my contraints must be wrong. Any suggestions on what constaints to put?- alpha
- Thread
- Linear Linear programming Programming
- Replies: 13
- Forum: Calculus and Beyond Homework Help
-
F
I Modulo and Modulus in math and computer programming
Hello, I an clear on how the modulo operator ##%##, also called the remainder operator, is used in programming. It gives the remainder of the integer division. For example, ##5 % 2 = 1## because the divisor 2 fits 2 wholly times into the dividend 5 leaving behind a reminder of 1. ## 6% 3 =0##...- fog37
- Thread
- Computer Computer programming Modulus Programming
- Replies: 5
- Forum: General Math
-
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
-
Insights Programming an ATmega8A using Arduino
Continue reading...- Wrichik Basu
- Thread
- Arduino Programming
- Replies: 1
- Forum: Programming and Computer Science
-
Studying Book recommendations to start learning programming for project Euler
I do not know much about programming. I have used Mathematica, and some Python in the past for very specific problems. Any book recommendations for one wanting to learn programming in order to solve problems from Project Euler. I am familiar with number theory, but not with programming.- MidgetDwarf
- Thread
- Book Book recommendations Euler Programming Project
- Replies: 10
- Forum: STEM Academic Advising
-
S
Programs I want to enroll in a beginning programming course
Long ago I studied one and only one beginning programming course. The only requirement or prerequisite was a couple of remedial Mathematics courses (Algebra 1 and Algebra 2, and maybe Trigonometry). No other computer courses needed as prerequisites. With much struggling, I earned a C. The...- symbolipoint
- Thread
- Beginning Course Programming
- Replies: 12
- Forum: STEM Academic Advising
-
Job Skills How do I get motivated to practice programming?
I am asking this question because I am trying to learn skills that will make me more appealing in the job market. Ideally, the promise of stable work and what-not should be enough. But I find it difficult to maintain interest in learning how to code. I do not know if it is the scarcity of...- Eclair_de_XII
- Thread
- Programming
- Replies: 30
- Forum: STEM Career Guidance
-
M
Python Programming a recursive expected value card game
Hi PF! Take a deck of cards. 26 are red and 26 are black. You draw cards randomly without replacement: if the card is red you gain a dollar, if black you lose a dollar. What's the expected value? My thought process was to look at simple cases and build to a 52 card deck. We know if ##r=0##...- member 428835
- Thread
- Expected value Game Programming Value
- Replies: 22
- Forum: Programming and Computer Science
-
Insights Parallel Programming on a CPU with AVX-512
Continue reading...- Mark44
- Thread
- cpu Parallel Programming
- Replies: 2
- Forum: Programming and Computer Science
-
Insights Parallel Programming on an NVIDIA GPU
Continue reading...- Mark44
- Thread
- Gpu Nvidia Parallel Programming
- Replies: 2
- Forum: Programming and Computer Science
-
Math Non programming jobs for math majors
Whenever I ask what are the potential jobs for math majors, it's related to data science or software engineering where being proficient in programming is required. I notice that it's generally okay for programmers to be bad at math, but math majors are usually expected to be good at...- Wanderer_
- Thread
- Jobs Programming
- Replies: 30
- Forum: STEM Career Guidance