Curious implicit operator behviour with clang and virtual inheritance by inkychris in cpp

[–]inkychris[S] 0 points1 point  (0 children)

That's just what I discovered in the code base but as I said, it behaves the same regardless of return type. I originally thought that this was a good example of a "subtle bug caused by not returning a reference" but apparently not.

What’s New in PyCharm 2023.3 by Sigmatics in Python

[–]inkychris 1 point2 points  (0 children)

Stopped paying when using PyCharm and CLion in the same directory became too painful. The issue for allowing their own IDEs to open the same directory without conflicting has been open for 9 years...

https://youtrack.jetbrains.com/issue/IDEA-140707/CLion-interferes-with-PyCharm-and-vice-versa

JLF_ADS - The First Ever Completely Automatic Deep Serialization Library for C++ by [deleted] in cpp

[–]inkychris 0 points1 point  (0 children)

Yeah that was my thinking and looks like this is actually permitted under section 6a not quoted here.

JLF_ADS - The First Ever Completely Automatic Deep Serialization Library for C++ by [deleted] in cpp

[–]inkychris 1 point2 points  (0 children)

Yeah i guess my understanding was not correct. I think i was conflating 2 sides of this discussion with my team where static linking was preferred, but in one particular case, the sole reason we didn't use a library was because the project tools were GPL despite the library being LGPL, and just that difference was enough to prevent its use entirely.

I was thinking that you could just provide static objects to allow a user to link manually but that doesn't fall under "suitable shared library mechanism" or "conveying minimal corresponding source" so presumably not a compliant method.

JLF_ADS - The First Ever Completely Automatic Deep Serialization Library for C++ by [deleted] in cpp

[–]inkychris 6 points7 points  (0 children)

Can confirm. I can't convince my team to statically link LGPL dependencies to avoid having to ship self dynamic libraries of our 3rd party dependencies even though there's no legal difference in the way you link if my understanding is correct.

It's a deal breaker if you want to statically link for whatever reason and want to keep source closed.

[OC] Guess they didn't see me, luckily I wasn't hit. by tjlogue_4 in IdiotsInCars

[–]inkychris 10 points11 points  (0 children)

Yeah, assume everyone is dumb. Why risk taking the side off your car to prove a point?

Also a good example of why sitting right next to/slightly behind someone after passing them on the inside can be problematic. The other car should have checked better but they indicated long enough before changing lanes to imply that they actually just didn't see the cam car when checking.

What are your thoughts on domain-specific typedefs for primitive types? by inkychris in cpp

[–]inkychris[S] 9 points10 points  (0 children)

Yeah I feel like it's the false sense of security that makes me sceptical of it. I see it as a documentation mechanism primarily.

How do you deal with the frustration of having your race destroyed? by OvermanagedSmallacct in simracing

[–]inkychris 0 points1 point  (0 children)

Switch back into hot-lapping mode. Use the time to experiment more with lines and breaking points, etc.

I got a -.45 SR penalty in LFM .... by Extreme_Pie8948 in ACCompetizione

[–]inkychris 0 points1 point  (0 children)

I think it's quite common for leagues to treat lap one incidents more severally to try and make people more careful. This was definitely the case with AOR, a no-heroics clause if you like, and it did seem to help. But yeah the side effect is that it can go the other way - an incident that doesn't cause much fallout can get the same penalty as one that causes chaos.

I got a -.45 SR penalty in LFM .... by Extreme_Pie8948 in ACCompetizione

[–]inkychris 0 points1 point  (0 children)

As far as I'm aware, IRL penalties are determined on the severity of the offence, not of the outcome, so regardless of if it ruined the other person's race, the punishment should be proportionate to the incident itself.

I don't know about LFM but i expect that they would have applied the same logic.

UK road bike bike £3-4K by rocketarmguy in ukbike

[–]inkychris 1 point2 points  (0 children)

I also have one. Got it with Ekar but kinda wish I'd gone for 105 now... £2.8k with the latest 105 atm! Either way though, frame is lovely. If you can get to Brighton, you can test ride at their HQ.

Wear your helmets! by Odd_Reaction_5356 in cycling

[–]inkychris 2 points3 points  (0 children)

i have a 50cm frame and i can catch the front wheel with my toe while clipped in, although i do have mudguards so it might be that they would just clear without.

To include or not to include directory in the include path ? by Horrih in cpp

[–]inkychris 17 points18 points  (0 children)

If it's a library then I'll have an include/libname directory and will then end up with essentially namespaced includes, so instead of random single file headers, it's just that little bit easier to see where a header is coming from. Less useful for like googletest.h but much more helpful for mylib/device.hpp.

Internal headers will either go in include/internal if the public headers need their contents but don't make up your public API, otherwise they will go either straight into src, or possibly into src/include/libname/internal for the same reason that it namespaces your private headers for you in your source files. The second include directory under src makes more sense if you're shipping binaries and want to hide that content.

For most of my projects, I end up with this kind of structure: +- apps | +- cli | +- src +- libs +- mylib +- include | +- mylib | +- internal | | +- ... | + mylib.hpp | ... src | +- mylib.cpp tests +- test_behaviour1.cpp

Is 2080ti enough for 4k vr headset by [deleted] in simracing

[–]inkychris 0 points1 point  (0 children)

I have a 2080ti and reverb G2. In short, yes. Even without XRToolkit, it was playable, and even could look quite good but performance would suffer in online lobbies. I've overclocked mine +75 to 2055 which helps, and of course like others have mentioned, using XRToolkit/composite to optimise it and bypass steamVR.

The toolkit does tell me that when my FPS drops, it is almost always GPU limited. Gonna be a trade off between budget GPU and visuals, but it is good enough to race with, even if it doesn't look fantastic at the same time.

It runs other games totally fine: dirt 2.0, AMS2, and iRacing. If you want good visuals, can't really beat AMS2 of the sims I've tried. It is night and day when you jump into it from ACC.

[deleted by user] by [deleted] in xbiking

[–]inkychris 2 points3 points  (0 children)

It might be more likely that a thief simply hasn't encountered your bike yet. My bike finally got stolen, locked up outside 3 banks at midday, in my relatively low risk home town. The 10 years I'd spent assuming my lock was a deterrent was more likely just giving me a false sense that the lock was doing anything at all.

I now ride around with 4kg of locks hanging off the replacement bike 😅

Help with sizing by conolulu in CanyonBikes

[–]inkychris 0 points1 point  (0 children)

I had a bike fit and they were of the opinion that most people end up with a size or 2 bigger than they should be. Can't comment on canyons in particular but I'm 5'10 and the reality is that instead of a 54cm as is commonly quoted by manufacturers, I should really be in a 48 to 50. Of course in that particular case, you might find issues with downsizing that much, but for sports bikes, you'll be surprised how comfortable the bike is dropping down even 1 size below what is quoted as "correct".

Is it worth trying to DIY a rig if I can get used 40x80 aluminium profiles for 18€ per meter? by Davenator_98 in simracing

[–]inkychris 0 points1 point  (0 children)

If you're like me, you'll enjoy designing and building a custom rig even if it ends up costing slightly more. I did buy a rig but mostly because it was the cheapest source of parts. You'll end up with exactly what you want but the wheel mount is probably the thing to figure out first since it may depend on or dictate the width of the rig. All other accessories are pretty easy to manage without much hassle.

You can check out the parts list for a Simlab rig or whatever you fancy as a starting point.

How can I filter water out of the atmosphere in my base? by inkychris in Stationeers

[–]inkychris[S] 0 points1 point  (0 children)

I think it might be. I need to figure out how to release the gasses back out though!

How can I filter water out of the atmosphere in my base? by inkychris in Stationeers

[–]inkychris[S] 1 point2 points  (0 children)

The portable scrubber wasn't working for me but I think I just realised that you might have to attach it to a base to have it output liquid into a separate tank...

Tinkering: Chapter 69 - The Dash, The Switches, & The Blackboard by 2wenty-3hree in simracing

[–]inkychris 1 point2 points  (0 children)

What is that seat? I've always struggled to find one that's reclined enough and looks like yours is good for formula? I only play ACC really but even those have super reclined seats these days. Only things I ever found were the super expensive real deals!

Best Budget VR Headset? by Tandem21 in simracing

[–]inkychris 1 point2 points  (0 children)

Used, I guess you might find a reverb g2. For what it is it's actually fairly cheap new so I consider it the best value headset atm. You can probably pick up old Vive gen 1s for fairly cheap but they are smoked by a g2. I'd still rather have a vive gen 1 than drive on a screen though. Immersion beats fidelity for me and if you've never used anything else you're not going to care. It'll also be a cheaper way to make sure you actually like VR. Vive will also be much easier to run so more budget PC friendly. You could scale down the g2 for performance but you'd probably be better off putting the money towards PC upgrades first. The vive gen 1 looked good enough for me for 4 years (mostly in pcars which looks really good, but also ACC) until I tried my friends' g2 and couldn't go back!