Hello everyone, Today I'm proposing an exercise on the theme of AI, but in a language that's not really used for it: Rust . I've coded a stupid bot that tries to solve all kinds of labyrinths (...
https://www.reddit.com/r/code/comments/1cdzubl/maze_solving_turning_this_dumb_bot_into_a_decent/
submitted by /u/Swoyer12
https://www.reddit.com/r/code/comments/1cdtube/hello_world_through_history/
Basically, since the coordinates of the yellow ball are randomized everytime i move the pink ball, sometimes the yellow ball is deleted and a new one appears randomly. I want to make the pink bal...
https://www.reddit.com/r/code/comments/1ccgodx/everytime_i_move_the_colored_pink_ball_sometimes/
I have an EV certificate from Sectigo to code sign, which is a hardware/USB token. I need to code sign the app in the NUPKG file format, but the key is required through NuGet and the token I ha...
https://www.reddit.com/r/code/comments/1ccb60o/code_sign_nupkg_file_with_a_ubshardware_token/
Hi! I'm having a bit of trouble with a Mac command in the terminal for some .srt files. I'm using this command, which works perfectly: CD ~/DESKTOP/FOLDER && GREP -RL " - " .SRT | WHILE REA...
https://www.reddit.com/r/code/comments/1cbs1ic/mac_command_srt_files/
My problem with the C# code: If I write “nein” to the question "Möchtest du noch etwas machen? (ja/nein)" the program continues normally and does not end. What do I have to change in the c...
https://www.reddit.com/r/code/comments/1cbcfku/can_someone_help_me_with_my_c_code/
Hello, I have been trying to get a complete overview of my Dropbox, Folders and File names. With some help, I was able to figure out a code. I am just getting started on coding. However, I ke...
https://www.reddit.com/r/code/comments/1cb6o9i/problem_with_code/
So, I am working on a project where the requirement is to create a gRPC service and install it as a Windows service. Up till now, things are fine. Due to time constraints, we cannot make changes ...
https://www.reddit.com/r/code/comments/1ca4fhj/need_help_in_running_grpc_as_windows_service_with/
https://preview.redd.it/c3pu3jvvhyvc1.png?width=472&format=png&auto=webp&s=27d1d17ed0dc4ab9a2eadfe744ea12db0cb21d44 submitted by /u/nepali_eren
https://www.reddit.com/r/code/comments/1ca1jrd/why_cant_i_print_hello_in_visual_studio/
I have here 5 code examples to learn about callback functions in JS, and each has a question. Any help with them will be very appreciated: //Example #0 //Simplest standard function functio...
https://www.reddit.com/r/code/comments/1ca1bmz/callback_function_questions/
Hello everyone! A little background. I recently came across a funny math meme that shows the funny equality of two sequences, s1 = (1 + 2 + .. + n)2 and s2 = 13 + 23+ ... + n3. In order to ver...
https://www.reddit.com/r/code/comments/1c9mkcn/exceeding_the_size_of_a_type_in_order_to_perform/
// ==UserScript== // @name ItsNotForYouJen // @version 1 // @grant none // @match https://twitter.com/ // @match https://twitter.com/home // ==/UserScript== 'use strict'; fun...
https://www.reddit.com/r/code/comments/1c8zo1d/i_dont_like_getting_rage_baited_in_the_for_you/
const calcTip = function (bill) { return bill >= 50 && bill <= 300 ? bill * 0.15 : bill * 0.2; } const bills = ; const tips = ), calcTip(bills), calcTip(bills)]; const totals = + tips, bills ...
https://www.reddit.com/r/code/comments/1c7s36d/learning_javascript_and_dont_understand_how_this/
Hello there, SOLVED: Issue was with the event.state. I used the keyboard lib and ditched the event.state entirely: if keyboard.is_pressed('ctrl'): if date_str not in selected_dates: ...
https://www.reddit.com/r/code/comments/1c5ggq1/python_select_multiple_dates_on_calendar_by/
submitted by /u/AwayNeck6235
https://www.reddit.com/r/code/comments/1c58z1a/is_this_simple_enough_fix_the_error_and_tell_in/
. ] submitted by /u/OneArea2890
https://www.reddit.com/r/code/comments/1c4xqt4/train_an_ai_for_free_like_now/
look at BankTest third test for a full flow.. otherwise look at each invidiual test file to see how it works. there are some things i would like to change: 1. the fact you have to manually att...
https://www.reddit.com/r/code/comments/1c4xaoi/learning_oop_creating_a_basic_bank_review_and/
So, I am working on a website using VSCode and it consists of a home page and multiple sub pages. The home page is acting the way it is supposed to but the sub page is not. Images are just refusi...
https://www.reddit.com/r/code/comments/1c4tsbg/i_need_some_assistance_once_again/
hey, I'm working on making a controller board for a CNC machine. It consists of an Arduino shield with 2 buttons - and + for each axis. but my code doesn't work, could someone help me? this is ...
https://www.reddit.com/r/code/comments/1c4sgfs/controller_board_for_a_cnc_machine/
Greetings, Have been trying to upload and run this code https://github.com/jgromes/ArduPod/blob/master/arduino/AP_Utils/AP_Utils.cpp but every time this message with the red color appears ht...
https://www.reddit.com/r/code/comments/1c4maxs/an_arduino_code/
x = input("x=") y = input("y=") if input ("sum /start/?") =="start" : print (x+y) if input ("multiply? /start/?") =="start" : print ("sorry 🤷") submitted by /u/Theredditor4658
https://www.reddit.com/r/code/comments/1c42mz5/free_scientific_calculator_almost_fully/
submitted by /u/Drilllol
https://www.reddit.com/r/code/comments/1c3wc6r/why_does_vs_code_randomly_not_recognize_my_code/
I made this based on a theme I loved in Atom. https://marketplace.visualstudio.com/items?itemName=veyorokon.Bliss Bliss UI I'd love any feedback / thoughts submitted by /u/Revolutio...
https://www.reddit.com/r/code/comments/1c3lz8t/bliss_ui_vs_code_theme/
This is my first time dealing with code, and I am trying to get a number to equal to another number in spreadsheets. So far I have 100~199=0.25 200~299=0.50 S53=base number(set as 150 for now) =i...
I am new to coding and im trying to learn , I know it looks like its written by a newbie. Also, don’t worry about the martyr thing, in Iraq if you have a parent who died at war or against “Ex...
So 99% of the posts on this subreddit are people asking where to start their new programming hobby and/or career. So I've decided to mark down a few sources for people to check out. However, ther...
https://www.reddit.com/r/code/comments/9nfrkt/for_people_who_are_just_starting_to_code/