"NP-hard, tedious, or just unsolved — what problems need a brute-force / OS-style tool built for them?

While learning C++ / OS / Computer Architecture, I keep looking for real unsolved(ish) problems to anchor the theory in — rather than just doing textbook exercises. Curious what "sounds impossible but is actually solvable with enough engineering" problems you've run into in industry. What's on your list, and did you end up building tooling for it?

reddit.com
▲ 1 r/CSCA

"NP-hard, tedious, or just unsolved — what problems need a brute-force / OS-style tool built for them?

While learning C++ / OS / Computer Architecture, I keep looking for real unsolved(ish) problems to anchor the theory in — rather than just doing textbook exercises. Curious what "sounds impossible but is actually solvable with enough engineering" problems you've run into in industry. What's on your list, and did you end up building tooling for it?

reddit.com

"NP-hard, tedious, or just unsolved — what problems need a brute-force / OS-style tool built for them?

While learning C++ / OS / Computer Architecture, I keep looking for real unsolved(ish) problems to anchor the theory in — rather than just doing textbook exercises. Curious what "sounds impossible but is actually solvable with enough engineering" problems you've run into in industry. What's on your list, and did you end up building tooling for it?

reddit.com
▲ 5 r/computersciencehub+1 crossposts

tasks that seem difficult to do with a computer but is possible if we give it the effort

 what are the things we find difficult to do with technology even though we could do it but it takes time and effort to do it ?
reddit.com
u/Maleficent-Kiwi-3684 — 2 days ago

mimicing linux shell expansions and environments

class Environ   :
    MY_Cont_Dict={}
    "these are the shell variables"
    def __init__(self,path,User,Logname,Lang):
        self.MY_Cont_Dict
        self.MY_Cont_Dict['PATH']=path 
        self.MY_Cont_Dict['USER']=User
        self.MY_Cont_Dict['LOGNAME']=Logname
        self.MY_Cont_Dict['LANG']=Lang




    def __str__(self):
        
        input_1=input()
        if input_1 == 'print_environ'   :
                return (str(self.MY_Cont_Dict))
        
        elif  'print_environ' in input_1 :
                
                input_1=input_1.upper()
                my_cont=input_1.split()


                for each in self.MY_Cont_Dict :
                    if each in my_cont  :
                        print((self.MY_Cont_Dict[each])) 
                return " "
        
        #NOTE THAT FOR __STR___ PYTHON ALWAYS EXPECTS IT TO RETURN A STRING


        else    :
            return f"command not recognised"
        
        #ADDING ENVIRONMENTAL VARIABLES


    def add_variables(self)     :
         input_1=input('new variables:  ')
         input_1=input_1.split('=')
         self.MY_Cont_Dict[input_1[0]]=input_1[1]


        
        
    
   
Terminal_1=Environ('/home/Albert','Albert','Kali','UTF-8')


Terminal_1.add_variables()   


print(Terminal_1)




        
reddit.com
u/Maleficent-Kiwi-3684 — 2 months ago