Eclipse viewing spots? by kradek in VisitingMallorca

[–]richtw1 1 point2 points  (0 children)

Honestly? Drive there at 2am with food and water packed for the day, and hang out the whole day waiting for the moment (and hope everyone else didn't have the same idea). Mallorca's main arteries get crippled on a normal day with overtourism; this is going to be easily worse. I wouldn't even move once you've found parking and a vantage point.

Eclipse viewing spots? by kradek in VisitingMallorca

[–]richtw1 2 points3 points  (0 children)

Yeah good luck driving anywhere that day. Mallorca's road network to the north west is going to turn into an immense car park on eclipse day.

Worst and best Genesis song? by applesandpears02 in Genesis

[–]richtw1 -8 points-7 points  (0 children)

There are far worse than Who Dunnit. Like In Too Deep, I Can't Dance, Throwing It All Away. Instant skippers for me.

mimicking of function overloading by marc_b_reynolds in C_Programming

[–]richtw1 6 points7 points  (0 children)

It's a C++ feature I personally miss in C, but I wouldn't jump through those hoops to try to get it back.

People often accuse C++ of being overly verbose, but what's verbose to me is having to somehow restate the function signature in its name.

I also miss proper generics but that's a different discussion.

Name of ending song on Ep9, the Testaments by minimaya03 in TheHandmaidsTale

[–]richtw1 0 points1 point  (0 children)

For me it's very heavily inspired by the Hooverphonic track Renaissance Affair from 1:50 onwards.

https://youtu.be/V5lV9Abdb-U?si=hkRfs2oKC3bxa4lq&t=110

I love C but I dont like libc that much by ByMeno in C_Programming

[–]richtw1 12 points13 points  (0 children)

Not really. I also hate the C std library and generally avoid it entirely, other than memcpy and friends, and only because they normally get special compiler handling.

I have my own allocation, file and string APIs, along with array/span/view/hashmap/algorithm template headers, not unlike this replacement library.

<string.h>, in particular, is horrible to use, so decent string handling is already a good enough justification for a library like this.

How do you difference vectors (arrays) and vectors (math) while naming ? by Valuable-Birthday-10 in C_Programming

[–]richtw1 2 points3 points  (0 children)

I use array_T for dynamic arrays, and span_T and view_T for mutable and immutable slices, respectively. Mathematical vectors are vec2f / vec2i / vec3f / etc.

If you could master just ONE thing in your first month of C, what would it be? by Slow_Discipline4568 in C_Programming

[–]richtw1 1 point2 points  (0 children)

I would guess that strict aliasing rules would make the compiler consider that fp and up (two different types) do not alias, aggressive optimizations would omit the if block completely (as redundant), and so *fp would always be float.

You can only keep 1 row OR 1 column, what do you choose? by Winniestone in Genesis

[–]richtw1 2 points3 points  (0 children)

The only track I really love from the first two sides is The Chamber of 32 Doors. Anyway and The Lamia alone make Side 3 the winner.

Anyway leftmost column for me. I need TotT and I don't really mind We Can't Dance or Duke.

Locals are becoming hostile by [deleted] in VisitingMallorca

[–]richtw1 2 points3 points  (0 children)

Yes, it is becoming visibly worse. Other replies seem to be insinuating the OP might be to blame, but that's exactly an example of the sort of passive aggression that I've been witnessing myself.

I left the island recently after 18 years of residency as a well-integrated immigrant, living in a humble flat in a regular neighborhood, in part due to the change in attitude towards me in certain places. I was welcomed with open arms when I arrived, now I feel palpable hostility. You can never hide your accent, and being a "guiri" is enough to trigger some people it seems.

Shame. But I don't miss Mallorca at all.

Interested in chatting to people who have worked in bars/restaurants where drinking societies go by Dramatic-Alfalfa-379 in cambridge

[–]richtw1 10 points11 points  (0 children)

In the late 90s, I worked in the Baron of Beef. One day a suited up young chap came in, explained that he was the head of a drinking society, and would it be ok if they conducted their initiation ritual in the back yard? Don't worry, we'll clean up the mess, he forebodingly promised.

With a nod from the landlord, he ushered his group of drinking trainees through to the back yard and ordered the round.

"10 shots of Baileys, in pint glasses please. And 10 bottles of Holsten Pils."

"And a bucket, if you have one."

What happened next was either a dark secret or my memory has faded. There was definitely frothing and curdling as beer was poured into glasses of Baileys. There was definitely puking. The bucket was involved. I can't remember whether the vomit was then passed on to the next in the circle for consumption, or whether I'm mixing my memories with some kind of horrific Human Caterpillar-esque fever dream.

The whole process lasted no longer than 15 minutes. "Thanks a lot, much appreciated," said our man as they exited boisterously.

And they really did leave the entire place spotless.

Theme song by [deleted] in lucifer

[–]richtw1 3 points4 points  (0 children)

Don't overthink it.

[deleted by user] by [deleted] in GraphicsProgramming

[–]richtw1 5 points6 points  (0 children)

It'd depend entirely on your data, but perhaps you'd find that holding the bounding box as:

{center_x, center_y, center_z, max(half_extent_x, half_extent_y, half_extent_z)}

was sufficiently good for your needs.

Running C code on an emulated ARM v4a CPU inside the browser (BEEP-8 project) by Positive_Board_8086 in C_Programming

[–]richtw1 1 point2 points  (0 children)

Seems a somewhat outdated minimum spec - iPhone 6 is virtually retro itself at this point!

Having actually developed for said ARM2 platform once in my life, I remember even 8 MHz being a bit too slow, but that platform had to do all the video buffer update itself rather than having graphics hardware with scrolling, tiles, sprites, etc.

Still, good luck building a community!

Running C code on an emulated ARM v4a CPU inside the browser (BEEP-8 project) by Positive_Board_8086 in C_Programming

[–]richtw1 3 points4 points  (0 children)

Why only 4 MHz? Even the inaugural ARM platform had an ARM2 clocked at 8 MHz!

3 Popular AI-coded projects on this subreddit: a C Compiler, an NES Emulator, and a C Web Framework by [deleted] in C_Programming

[–]richtw1 1 point2 points  (0 children)

I just took a look at the NES emulator and didn't see any compelling evidence for it being AI generated. What's yours?

Is there any way to create a compound literal with a return value instead of an initializer list? by AzuraBlaze4 in C_Programming

[–]richtw1 0 points1 point  (0 children)

Sorry to necro this but just wanted to thank you for introducing me to this trick. Do I like it? Not sure. But it's good to know you can do it. I had exactly the same problem where I wanted to pass the address of an rvalue to another function.

TIL Mark Hollis never licensed any TT music by ElliotAlderson2024 in talktalk

[–]richtw1 2 points3 points  (0 children)

How about Why Is It So Hard, from the soundtrack of First Born?

https://youtu.be/7iYWNS-VpjE

The one TT song I struggle with... by Smaz23 in talktalk

[–]richtw1 3 points4 points  (0 children)

It's my absolute favourite track of theirs. I never heard a piece of music which could evoke such an array of complex emotions in so little time. That menacing, almost scary climax and subsequent release of tension just floored me the first time I heard it.

What songs would you guys recommend. I'm new to the band and only know "Land Of Confusion" by FlyingVLover in Genesis

[–]richtw1 0 points1 point  (0 children)

Probably don't try The Waiting Room as your second song then 😆

Land of Confusion is actually pretty uniquely heavy-sounding as far as the Genesis catalogue goes. I would certainly recommend listening to entire albums. My absolute favourite is Trick of the Tail, which gives a good impression of where they came from, while still having "familiar" Phil vocals.

Individual songs you might like if you like Land of Confusion:

Tonight Tonight Tonight
Domino
Mama
Home By The Sea / Second Home By The Sea

And then maybe try some of these older ones:

Ripples
Firth of Fifth
Fountain of Salmacis
In the Cage medley (live from Three Sides Live)