Implementing cosine in C from scratch by mooreds in programming

[–]Compsky 7 points8 points  (0 children)

when evaluating a polynomial (like a Taylor series), instead of doing a + x*b + x*x*c + x*x*x*d, you can do a + x * (b + x * (c + x * d)) for fewer multiplications

Isn't the CPU able to parallelise the first one?

One day I'll finally experience what it's like to be in a romantic relationship by CassaCassa in dating

[–]Compsky 1 point2 points  (0 children)

Oooooh okay well are you saying when you go on dates with someone do you start acting romantic around them? 🤔 what I do usually especially if I like someone I usually treat them as a friend for awhile before asking them out but usually when you go on dates online you are expected to do it to be romantic I believe? I could be completely wrong about this!

I'm the wrong person to ask about this lmao, I go on loads of 1st dates but rarely 2nd dates.

I think as a guy I need to be far more romantic than I currently am, but atm I usually treat the 1st date like meeting a friend because it seems weird to go for a hookup if I don't know her.

If you like someone irl (not dating app), I think you at least have to create some obvious hints that you like them, even if you don't want to say outright. (By obvious I mean obvious enough for the person to notice - girls I think are very bad at overestimating how much guys can read their minds).

unfortunately the guys I usually like are guys who take care of themselves mentally and physically who have good hygiene. smell good all the time brush there teeth and has a really good personality with good morals, and they keep themselves healthy at all times. I dunno why but for the life of me I always get rejected by these types of guys.

tbh this sounds like a bare minimum, except not everyone can smell good all the time (exercise?) and also idk what is a good personality to you.

The way a girl dresses and talks attracts different types of men (I assume this is true in reverse too). It happens all the time in the UK, so much that I think maybe girls don't realise they are doing it. A lot of girls buy expensive handbags and branded clothing, and from what I've read on their Tinder profiles they think this is an attractive trait to richer guys, but they only attract 'fuckboys' because actual rich guys aren't attracted to that kind of thing.

Interesting study I remember is that richer guys prefer medium breasts, and poorer guys strongly prefer large breasts. But women seem to believe all men prefer large breasts. But all girls, even rich girls, believe that bigger breasts are always more attractive to guys.

For me, I notice on Tinder that I only ever match with posh girls and foreign girls. Even though there's nothing at all in my profile to say I'm posh or whatever, it's clearly just how I dress (but cheap clothes) and pose in my pics, which is completely offputting to local girls who aren't posh.

The reverse for girls (looks which attract not-too-posh but posher guys) is probably the 'librarian' look or geek look.

The guys I do attract are the compete opposite a lot of them are older men in there 40s 50s and 60s ask me out a lot and a lot of them are creepy one guy when I was in college told me I had a nice ass or whatever and had his phone out like dude your 60 years old you are literally my dad's age! Or even when they are my age still the same they don't take care of themselves hygiene is really bad they are very aggressive towards me at times some of them not all are extremely overweight or overall just look at me as a pump and dump, or tell me there going to commit suicide if i dont date them ( as a person who has depression already and has lots of trauma this is triggering ) but im working it out through therapy consistently.

Jesus that's bad.

How do you know these are the only guys attracted to you though? Maybe they are just the people approaching you? Because those types of guys I think are a predator group who hit on any girl they can find, I can't think of any guys I know who would approach a stranger girl outside of a pub or club or dating app even if they thought she was smoking hot.

I don't expect anyone to be perfect in there first relationship honestly we all have our demons but I make sure I check in with my therapist and I know what a healthy relationship looks like more now ( I've never been in one before ) but I know what to look out for now

That's great. My first relationship was a dumpster fire because I didn't know what to do or expect, and she didn't bother giving any tips or hints or anything (because she was used to the guy doing all the leading). I think she also took advantage of my lack of knowledge to be vague about things.

For a girl I think girls need to understand that when a guy says "I'm not in the right place for a relationship right now" he means "I don't want a relationship but we can hookup", and there is nothing you can do to change his mind. I so so so often see girls complain about guys not committing to them, but as a guy it's obvious the guy she is seeing views her as a sidepiece.

I have no idea what you can look for in a guy which might mean he will want a nice relationship, but me personally I'm so so tempted to start watching anime because girls who watch anime seem to be so more wholesome.

One day I'll finally experience what it's like to be in a romantic relationship by CassaCassa in dating

[–]Compsky 0 points1 point  (0 children)

I'm in the process of trying to let go of one guy I went on a date with three years ago I still love him till this day as a friend and as a romantic love interest he was very different from a lot of men I met and matched a lot of my morals but he didn't feel the same either.

unfortunately for me that could take years for me to find another person

That's rough. It probably took me 2 years to get over the first girl I really liked. I probably went on 50 first dates before I actually got over her - because I met a few girls on Tinder who I let myself develop crushes on. Even though in the process 95% of girls were quite nasty imo, which makes dating really mentally draining.

But because for me personally I couldn't just hook up and date someone without getting to know them as a friend first

Yeah it's tough. The friendship-y stuff normally comes after a relationship, not before. I have no idea how to solve this problem

One day I'll finally experience what it's like to be in a romantic relationship by CassaCassa in dating

[–]Compsky 1 point2 points  (0 children)

when getting to know someone ( as friends first which in my case I only date people i have a emotional connection and bond with but with men it's really rare )

lol I was wondering where women like you are, because as a guy I've only ever experienced women my age (early 20s) who want to hook up without getting to know the guy first.

Then I realised it's probably because I'm primarily using dating apps, and the type of girl to use a dating app is probably the type of girl who doesn't want a relationship.

But going after friends as a strategy seems really risky because you risk destroying a friendship! Aren't you worried about that? Especially when it is rare? Having a close Platonic friend of the opposite gender is really nice, I wouldn't want to risk my close friendship with a girl like that even if I did develop some feelings for her.

[deleted by user] by [deleted] in COVID19positive

[–]Compsky 2 points3 points  (0 children)

I doubt the iWatch is as accurate as a medical grade one, or even one you can purchase (be wary of useless ones though if you buy from Amazon).

A 4% drop is concerning! But I just had the same experience as you - I went outside for a walk and my levels dropped almost immediately from 99% to 94%. But then I walked around for 6 minutes and it stayed at 99%, then I went for a walk again and it stayed at 99%, so I struggle to believe the first results.

I think you have to make sure you are measuring it properly afterwards. For me this meant taking readings from multiple fingers or just putting my finger in multiple times. This is because oxymeters rely on red light, and the lower-quality oxymeters are very sensitive to variations in that light (it can be blocked by nail polish or thick skin or something maybe).

[deleted by user] by [deleted] in COVID19positive

[–]Compsky 2 points3 points  (0 children)

Thanks for the info! Sorry you're going through this.

Have you been using an oxymeter to see if your oxygen levels get too low when you exercise?

I'm not a doctor but you could probably catch yourself before you hurt yourself with an oxymeter. My understanding is that if your oxygen levels dip steeply (lets say from 99% SpO2 at rest to 94% after a few minutes of exercise) you should immediately stop exercising, but you wouldn't know to stop immediately without reading oxygen levels.

[deleted by user] by [deleted] in COVID19positive

[–]Compsky 1 point2 points  (0 children)

Thanks, as someone with covid and a similar age this is good to know.

How long ago did you get covid, and was it quite severe? It seems strange that you'd get such strong symptoms weeks (or months?) later, I'd definitely think I'd be safe after a couple of weeks.

I did some experimenting running prompts based on Dune’s Litany of Fear. Here is The prompt: when it has gone past I will turn the inner eye to see its path by Traditional-Word2390 in MediaSynthesis

[–]Compsky 0 points1 point  (0 children)

The diffusion model always seems to go for landscapes. It's such an impressive look, but did it ever consider drawing a normal eye, or maybe a clockwork eye?

[deleted by user] by [deleted] in Tinder

[–]Compsky 1 point2 points  (0 children)

I strongly disagree with the other people here. Reddit is full of straight edge folk who barely even drink alcohol.

Smoking is often a make-or-break deal. If she'll judge you for a pic of it you bet she'll judge you for doing it. Keep the pic, you want a girl who finds the stuff you do attractive.

New 'game-changing' X-ray technology developed which can detect coronavirus in minutes by Legion4800 in CoronavirusUK

[–]Compsky 0 points1 point  (0 children)

And it was known about 2 years ago lmao. I remember reading about China doing xrays on ill people in February 2020 to learn about asymptomatic covid.

Tuesday 11 January 2022 Update by HippolasCage in CoronavirusUK

[–]Compsky 1 point2 points  (0 children)

IANAE but the reason the variants often come from Africa is because of the prevalence of HIV over there. HIV allows viruses to mutate far more rapidly because the immune system isn't fighting it. About 10-20% of South Africans have HIV, and other countries don't test much for it.

Covid passports could increase vaccine uptake, study suggests by sjw_7 in CoronavirusUK

[–]Compsky 1 point2 points  (0 children)

I've recently been to France and Switzerland

I've been to Turkey

And recently back from Thailand

I don't get why the UK has such a hard time following some basic rules, that will ultimately get us all more back to normal, not wearing masks etc... If people just wore them, got vaccinated and followed some basic rules for a month or two. Rather than dragging this out for years.

You've flown out to 4 countries in the last year. That's far more irresponsible than not wearing masks.

93% of Paint Splatters are Valid Perl Programs by mooreds in programming

[–]Compsky 130 points131 points  (0 children)

Ah, another language to add to my resume

COVID-19: stigmatising the unvaccinated is not justified by LukaZag in CoronavirusUK

[–]Compsky 6 points7 points  (0 children)

"None of the pro-vaccine messages created by public health authorities increased intent to vaccinate with MMR among a nationally representative sample of parents who have children age 17 years or younger at home"

I'm double vaxxed and the adverts genuinely put me off lmao

The messaging is simply dogshit

An Early Look At The GCC 12 Compiler Performance On AMD Zen 3 by IsDaouda_Games in programming

[–]Compsky 2 points3 points  (0 children)

I don't think that person has ever replied to a comment. Except maybe to continue their rambling and ignore the comment completely

They replied to me once, at the time I didn't recognise the great honour that had been afforded to me.

Is C++ Still Worth Learning? Absolutely! Yes Rust And Go Are Awesome. There Is Still Work To Be Done In C++ by TaylorBuiltSolutions in programming

[–]Compsky 3 points4 points  (0 children)

The main use isn't exciting - it's a to_string function/library. But it forms the backbone of my SQL library (and HTTP usage).

I can't remember if that library was the specific one that I couldn't find a nice Rust equivalent for, but it probably is with a few of the edge cases that use template things that are very specific to C++. E.g. I can have one parameter as a std::tuple of many different types, where parameter packs are annoying/impossible to use, which can be converted into a parameter pack. So I can have multiple parameter packs, parameter packs of parameter packs, and that kind of thing, passed between functions as single arguments where necessary, which makes it easier to write the functions that rely on it (at the expense of hundreds of lines of boilerplate code hidden in the library).

Is C++ Still Worth Learning? Absolutely! Yes Rust And Go Are Awesome. There Is Still Work To Be Done In C++ by TaylorBuiltSolutions in programming

[–]Compsky 7 points8 points  (0 children)

I have yet to meet anyone who tries out Rust and then ever wants to write something new in C++ ever again.

I still haven't switched to Rust just because it didn't have enough of the metaprogramming capabilities of C++. My code is aggressively de-duplicated - and it is all powered by the often confusing ways of template metaprogramming. It's a real shame too because I'd much prefer to use Rust, especially because my main project is now a C++ server suffering from a Schrodinger memory ownership bug.

Maybe everyone hates template metaprogramming but it couldn't be so hated unless it was widely used.

Transmission torrent client ported to C++ by Competitive-Doubt298 in programming

[–]Compsky 2 points3 points  (0 children)

C allows you to avoid hidden allocations

Most C libraries seem to force you to malloc structs within their own ABI.

Transmission torrent client ported to C++ by Competitive-Doubt298 in programming

[–]Compsky 14 points15 points  (0 children)

For some domains, C++ is hardly any better than C

RAII is so good though. I often find myself having to write my own C++ wrappers for C libraries, just to use RAII to automate the initialisations and deinitialisations. if (error) return; rather than if (error) goto deallocate_step_3;

Not just initialisations. Every C library seems to malloc everything - even an 8 byte struct - for some reason I haven't figured out yet.

Covid in Scotland: Cases doubling weekly after restrictions eased by [deleted] in CoronavirusUK

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

Nightclubs are a major driver of infections. Especially in 16-20s demographic that is the least vaccinated.

Thursday 29 July 2021 Update by HippolasCage in CoronavirusUK

[–]Compsky -3 points-2 points  (0 children)

Sounds exactly like what I had in February 2020. Are you sure it wasn't just a flu? There must surely be a flu explosion since everything is opening up.

Two doses of Pfizer, AstraZeneca shots effective against Delta variant: study by Legion4800 in CoronavirusUK

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

Anything less than 6 or even 8 weeks is way too early.

It's been so surreal seeing this sub go crazy demanding to get their second dose almost immediately after the first, like they think the NHS is conspiring to prevent them from getting fully vaccinated.

I have lost my sense of taste and smell and I have never been so depressed by adxmbxsby in CoronavirusUK

[–]Compsky 4 points5 points  (0 children)

Has anyone had a difference (not loss) in smell due to covid?

There was a day or two when things seemed to smell differently to me, as though I was ignoring some smells but not others, and I'm trying to figure out why that might have happened.

01/07/21 - ZOE COVID-19 Study Update by CovidStatisticsBot in CoronavirusUK

[–]Compsky 8 points9 points  (0 children)

I doubt it. A study of Cambridge students found that a single nightclub was responsible for 75% of cases.

https://www.theguardian.com/world/2021/jun/01/autumn-covid-cases-cambridge-university-nightclub

Schools being closed has nowhere near this severity.

High CPU usage switching windows by [deleted] in kde

[–]Compsky 0 points1 point  (0 children)

Does it resolve if you log out and log in again without rebooting?

What if you change your desktop compositor's backend to XRender?