r/programminghelp • u/Terrible_Exchange333 • 3d ago
Other Help us with our research pleasee!!
We need respondents for our research!!
r/programminghelp • u/Terrible_Exchange333 • 3d ago
We need respondents for our research!!
r/programminghelp • u/Terrible_Exchange333 • 3d ago
We need respondents for our research pleaseeee!!!
r/programminghelp • u/ZellewTheGreat • 7d ago
I've been in game development for the past 6 years. I like it for creative freedom and a few other aspects.
I chose programming as my career path and planning to pursue a degree in computer science and engineering.
But i never made any applications or games outside of simple game engines.
So where should i start developing my programming skills and creating more complex projects?
Edit: Thank you all for great ideas, i appreciate it. Gonna dive into this and maybe post my results soon.
r/programminghelp • u/ElephantWarm6967 • 8d ago
(i’m new to most of this, so advice would be helpful!)
r/programminghelp • u/Capable_Square7319 • 8d ago
Hi,
I'm working on an adonisjs project and I'm having issues with migrations. I don't think I'm using the wrong command. I'm doing:
node ace make:migration (migration name here)
Then:
node ace migration:run
My project is on github. Apologies the migrations folder is a little cluttered. The ones with issues are the "item" and "item_comments" ones:
https://github.com/Ajaz754/adonisjs-project-22-.git
The error is:
C:\Windows\System32\adonis22>node ace migration:run
❯ error database/migrations/1794008714673_alter_item_comments_table
[ error ] INSERT INTO "_knex_temp_alter555" SELECT * FROM "item_comments"; - no such table: main.item
Please correct me if I'm wrong but I thinks its saying my "item" table doesnt exist which doesnt make sense since its clearly my 'schema.ts'. It said the same error before for the "user" table aswell.
Any help would be much appreciated
TIA
r/programminghelp • u/Flame77ofc • 10d ago
If I execute the same code no matter how many times, it always will show me a different execution time. Why:?
r/programminghelp • u/Quick-Option4655 • 13d ago
essentially, im tryna publish a public css website on a HEAVILY restricted school network
I'm developing a website which is essentially a student focused grade calculator that I've built using Python, Gradio, HTML, CSS, and JavaScript. ik there are other grade calcs out there, but this one is more specific to my district and solves the need of people constantly asking me to calculate their grades manually. The application itself is practically built, but I'm having a really difficult time figuring out how to actually publish it so other students can use it.
My requirements and limitations:
Students need to access it through one normal URL in their browser
No downloads, installations, or student accounts
AI website generators or a template builders are blocked
Student grade data needs to stay entirely in their browsers and not be sent to a server
It needs to be accessible on school computers, which have a VERYYYYY restrictive network filter
No paid hosting, adult involvement, administrator permissions, or requests to school IT
Ideally, I'd like a professional-looking URL that doesn't advertise that the site was made through an educational coding platform (ex. i know code .org is available and practically my only option but the name itself ruins the credibility. im ok with using if i HAVE to but i would rlly prefer not to)
I've already looked into A LOTTT of other options, including Google Sites, Google Apps Script, Firebase, Blogger, GitHub, and several other hosting platforms. either ALLLLL are blocked on school computers, or they don't actually support what I need. Google Colab works for development but im unable to publish past that
Does anyone have ideas for unconventional hosting or publishing methods that I might be overloking?
r/programminghelp • u/Capable_Square7319 • 21d ago
Hi,
I'm working on an adonisjs project. l've ran into an error
My project is on github:
https://github.com/Ajaz754/adonisjs-project-22-.git
The error is in file 'database/seeders/ product_seeder.ts' Line 10
The error is:
Object literal may only specify known properties, and 'userld' does not exist in type
'OneOrMany<Partial<ModelAttributes<Product>>>.
Any help would be much appreciated
TIA
r/programminghelp • u/Best_Cut4655 • Oct 12 '26
r/programminghelp • u/Dense_Quarter_5374 • Oct 12 '26
r/programminghelp • u/Cube_jack • Oct 12 '26
I am making an attendance dashboard and i there are already APIs made for different purpose
one is the punch in data API where we have to give the
from- to date
and the area_code so with respect to that it will fetch the
emp_id, emp name, punch_in/punch_out location, date-in/out location, time-in/out location, hours and minutes between pucnhesnow with respect to all the detail i am calculating the total punches, single punch, avg hours and etc
but it will work perfectly for 10 areas but i want to make it for 112 areas and for this it will take a lot of time to load
and then again there is a roaster API which will tell how many members will be present per area and that will also be fetched and calculated
now if all this data is loaded on the client side it will take a lot of time
what is the optimal way to do this
i have already searched for one option where i will
preload the data and calculation and sync that same data in the database and whenever we fetch the data the result with the particular date range will be feteched
But i want to know any more optimal way to do that
CAN ANYONE SUGGEST!!
r/programminghelp • u/KeyBack192 • Oct 10 '26
r/programminghelp • u/ServiceImportant4987 • Oct 09 '26
i was tired from working and i still go to my class and i just zoned out and didn't know what topic my professor was teaching, it would be so nice if it help identify what topic from this for me to catch up
1st cycle x = 0, n = 5, temp = ?
2nd cycle x = 1, n = 5, temp = 7
3rd cycle x = 2, n = 5, temp = 5
all i know is there is also a 4th cycle :D
r/programminghelp • u/kaatarina_zed_talon • Oct 08 '26
r/programminghelp • u/AlexanderKai9 • Oct 07 '26
I made a raycasting engine in python, and am using an HTML canvas as my method of display (passing the pixel colors through jinja in a <script> tag). It takes upwards of 10-15 seconds to render one angle of a scene with three spheres at a resolution of 800x400. Is the browser likely the bottleneck, or is this a sign of some other inefficiencies?
r/programminghelp • u/Professional-Owl5028 • Oct 07 '26
r/programminghelp • u/Roronoa-Ryuma-Zoro • Oct 06 '26
r/programminghelp • u/Capable-Island-4564 • Oct 05 '26
Hi everyone,
I’ve been building a Java 21 code-analysis engine and would love some feedback on the dependency resolution.
It uses JavaParser and resolves imports, same-package classes, inheritance, method calls, etc. I’m mainly trying to avoid false dependency edges in complex Java codebases.
GitHub: https://github.com/abhishek94443/CodeContext-Java
Would appreciate any feedback on edge cases or things I may be missing.
r/programminghelp • u/Working-Hour9627 • Oct 04 '26
Can i download Codeblocks on Macbook neo?
r/programminghelp • u/Inside_Meringue2367 • Oct 04 '26
I don't know where I should ask this, it's related to physical and coding, so I am posting here. I am struggling with this particular problem for a month and still couldn't get to a satisfactory results.
So, I was working on a physics problem, many of you might be familiar or maybe not. I have to find a valid region within a 7-dim parameter space. I have some matrices in hand (Neutrino mass matrices) and 7 free parameters that goes into it i.e. g1,g2,g3,M1,M2, imaginary tau, real tau. I need to build a code that scans the space and finds the values of these free parameters which being inserted into the matrices and upon diagonalization spits out 3 eigenvalues and 3 eigenvalues vectors. From those we then calculate 6 neutrino observables that should be within acceptable range known as Global NuFIT. Any values that comes within the range gets sorted out.
I tried to build the code in python but it seems impossible to search for the whole parameter space! I tried gemini and chat gpt, even they are struggling to satisfy the tight NuFIT bounds. If anyone knows any efficient and fast way for parameter scanning that would atleast give 200 valid points (for scatter plots), please help me.
r/programminghelp • u/Competitive_Brick574 • Oct 03 '26
r/programminghelp • u/LJ_the_Saint • Oct 03 '26
I'm learning C and playing around trying to rely on the bare minimum down to system calls to learn the most I can. Had to read a file line by line in the process, so i dived into stdio's code to try to understand how fgets do it nice and quick.
if I got it right a chunck of file is loaded into a buffer delimited by _IO_buf_base and _IO_buf_end if it isn't yet loaded or the precedent buffer ended without finishing the line, fgets starts copying the line in the buffer we gave it until he finds a new line.
did I got it right ? I couldn't find a plain explanation of how stdio file management works, I had to search my way into source code...
I thought I was done but I noticed _IO_buf_base and _IO_buf_end were 4096 bytes apart when I loaded a 22 bytes long file.
is there any reason for this ? wouldn't having a pointer for the beginning of the buffer and a pointer for the end allow us to allocate precisely the size of the file using fstat ? why do we use 2 pointers and not a pointer and the size of the buffer ? (I got a theory for this one but I'm not sure, is it for easier looping in the array by incrementing a pointer instead of using an incremented index who would make us calculate pointer + i every time we need to get a character ?)
thank you for reading this far and have a nice day !
r/programminghelp • u/Idkwhat1569 • Sep 30 '26