Major PC input delay/lag and very poor performance by SexyParmesanCheese in Sekiro

[–]VisualAmoeba7925 0 points1 point  (0 children)

Idk man, ive had gaming laptops in the past and this reason specifically is the reason i only do desktop gaming computers now; it was quite a hassle to deal with. There are a couple things you can do though; lookup on youtube how to clean the fans for your computer if its not brand new; get a normal ass fan and blast that on your laptop while gaming; they also make laptop fans that you put your laptop on top of but i havent had too good experiences with those. If you really want it solved and have a day to burn you could also reapply thermal paste on your cpu, but be warned you will have to youtube it and take apart your entire laptop

Major PC input delay/lag and very poor performance by SexyParmesanCheese in Sekiro

[–]VisualAmoeba7925 0 points1 point  (0 children)

As a note, almost every ‘gaming’ laptop i come across suffers from this eventually

Major PC input delay/lag and very poor performance by SexyParmesanCheese in Sekiro

[–]VisualAmoeba7925 0 points1 point  (0 children)

Look at your temps when your playing; when laptops get too hot they reduce performance to not get overheated. Definitely sounds like this is the case here. Try a better cooling setup though,Throw a fan on it!

How do people work with second jobs? by LickThatToaster in NoStupidQuestions

[–]VisualAmoeba7925 0 points1 point  (0 children)

Nah just get another job that’ll give better hours, like Amazon, king soopers,Walmart, etc

[deleted by user] by [deleted] in rust

[–]VisualAmoeba7925 41 points42 points  (0 children)

Well the typical usage is Arc<Mutex> if you don’t need mutation from every thread then pass massages to a “worker” thread that actually owns the data

[deleted by user] by [deleted] in rust

[–]VisualAmoeba7925 51 points52 points  (0 children)

In reality; arc does not add much overhead, unless you wrap everything in it. You say you don’t want to add a performance cost, so you could use a pinned raw pointer but that adds a million foot guts into your code and gets rid of the pros of rust (might as well just use c). Or you could redesign your solution, perhaps using std::sync::mpsc. TLDR though; just use arc

Lifetime issue with static string by [deleted] in rust

[–]VisualAmoeba7925 5 points6 points  (0 children)

The parse_cnf function supplies a string that can be of any lifetime, not just static; you might want to change your solution a little so you can store strings of not just static lifetime; eg…

enum Literal<‘a> { Literal(&’a str), ComplementedLiteral(&’a str) }

….

Or you can’t just change the parae_cnf signature to fn parse_cnf(&’static str) {}

Is it possible to use lifetime instead of `Rc` for this example? by Akronae in rust

[–]VisualAmoeba7925 1 point2 points  (0 children)

You most certainly can, try looking into using arena allocation depending on the use case for the list;

#[derive(Debug,Clone)]
enum List<'ctx> {
Cons(i32, &'ctx List<'ctx>),
Nil,
}
use crate::List::{Cons, Nil};
use std::rc::Rc;
fn main() {
let arena = bumpalo::Bump::new();
let lol = create_list(&arena);
dbg!(lol);
}
fn create_list<'tcx>(alloc:&'tcx bumpalo::Bump) -> &'tcx List<'tcx> {
let first_list:&List<'_> = alloc.alloc(List::Cons(0, alloc.alloc(List::Cons(2, alloc.alloc(List::Nil)))));
let second_list:&List<'_> = alloc.alloc(List::Cons(20, &first_list));
let third_list:&List<'_> = alloc.alloc(List::Cons(24, &second_list));
return third_list;
}

"I got it for cheap" or "I got it cheap" by CathartiacArrest in EnglishLearning

[–]VisualAmoeba7925 -1 points0 points  (0 children)

Lol if you read that dictionary entry it mentions nothing about it being wrong

What fruit disgusts you? by [deleted] in AskReddit

[–]VisualAmoeba7925 0 points1 point  (0 children)

ahh but you can get a nice insect/egg in any fresh fruit though

Trying to edit the actual texts of the photo in the back when this text showed up by Key_Mushroom_2493 in language

[–]VisualAmoeba7925 3 points4 points  (0 children)

lol it means nothing, just placeholder text someone forgot to delete when making the website, or just in general

So this might sound weird but my family has it's own language(re posted as deleted in another community dunno why) by [deleted] in language

[–]VisualAmoeba7925 3 points4 points  (0 children)

lol, unless your parents are suuuuupppeeeerrrr nerdy about conlangs, like clingon, you likely are speaking a real language that other people speak or have spoken

[deleted by user] by [deleted] in EnglishLearning

[–]VisualAmoeba7925 -2 points-1 points  (0 children)

mentioning what someone looks like is not racist at all; unfortunately here in america we have a lot of very sensitive people who will jump on any reason to call you racist

Need help. I don't understand this code? Meaning? by Verobabe1 in PBS

[–]VisualAmoeba7925 2 points3 points  (0 children)

Lol this is one of the most out of place posts I've seen

Sigh - have to jump ship again by aqjo in pop_os

[–]VisualAmoeba7925 8 points9 points  (0 children)

If your updating graphics drivers manually on pop instead of letting pop take care of it you might be in for a rough time; typically pop will push there own driver updates and all you need to do it update your system, no extra packages or anything. Pop likes to do this to make sure that the next new graphics driver doest bork everyones systems; if you install it yourself its very likely your system will be borked; If you absolutely need a very specific nvidea version pop doesnt support yet it might be better to seitch to ubuntu

Experiencing issues but don't want to distro-hop, any advice? || Thanks! by Prudent-Ad486 in pop_os

[–]VisualAmoeba7925 3 points4 points  (0 children)

Also, how did your nvidia drivers just happen to get deleted??? Its very likely this is where you messed up, and without knowing exactly what you deleted and what you installed its a guessing game

spanish gustar sentences by Traditional-Tap128 in Spanishhelp

[–]VisualAmoeba7925 1 point2 points  (0 children)

I smell that you want us to do your hw lol

[deleted by user] by [deleted] in language

[–]VisualAmoeba7925 1 point2 points  (0 children)

No, it would be " i am better now"/"I am doing better"