If you’re using systemd they just recently introduced run0 which works very similarly to what’s talked about here
If you’re using systemd they just recently introduced run0 which works very similarly to what’s talked about here
Should probably fix that given we’ve been out of IPv4 for over a decade now and v6 is only becoming more widely deployed
This sums up how I feel nicely. No issues with parens…but whitespace…fuck that shit
Always has? It’s supported java and I think python for forever
Tom Scott actually has a video about this which also talks about why you can’t end sentences with contractions. https://youtu.be/CkZyZFa5qO0
🤔 that’s a fair point…
It’s actually not. Objective-C is a superset of C. C++ is not. It’s MOSTLY compatible…but it’s not a superset. See the restrict keyword, or the need for casting to and from void*, or the inability to name variables new or delete, or class, or this. I can’t count how many C projects I have which use this as a variable name that WILL NOT compile as C++…or the need for extern C to call C ABI code…in no way is it a superset
EDIT: lol, you can downvote me if you want but I think you need to lookup what a superset is
There was actually a really interesting idea I heard to have no time zones. And I actually think it could be a good idea. It’ll never happen because people would need to re-learn time but if it was always the same time everywhere it would make scheduling and business so much easier. No one would need to convert between different zones or be late because of an incorrect conversion. The downside is that times which are conventionally morning or evening etc, would no longer would be so people would have to get used to time just being a construct for scheduling and not a representation of the natural day/night cycle…but it actually doesn’t sound like a half bad idea.
From a development perspective it certainly sounds easier to have one global timezone with DST than a bunch of smaller ones without it. Would that make sense in reality? Probably not but I definitely think timezones take more work to compensate for properly.
Where’s the .EnableUltraUltraWideSupport(). Gotta have my 48:9 aspect ratio
Where’s the .EnableUltraUltraWideSupport(). Gotta have my 48:9 aspect ratio
🤔… I’ve never liked i and don’t use it…not sure why. I keep thinking I should start but alas I just don’t.
Yeah, I was ignoring apple platforms because Objective-C doesn’t even have its own header extension as an option. Also not all C headers do extern stuff…and it doesn’t fix 100% of compatibility problems when you do that anyway. Also I’m not really talking about it from a compiler perspective, I’m talking about it from an organization and human perspective. I know compilers generally don’t care…which is exactly how we ended up in this predicament.
Yeah. My original comment should have been “I wish people would use a C++ specific extension for headers.” I just picked hpp because cpp seems to be the most widely used C++ extension.
In amd64/x86 kernel space you can dereference null as well. My hobby kernel keeps critical kernel structures there XD.
const volatile is used a lot when doing HW programming. Const will prevent your code from editing it and volatile prevents the compiler from making assumptions. For example reading from a read only MMIO region. Hardware might change the value hence volatile but you can’t because it’s read only so marking it as const allows the compiler to catch it instead of allowing you to try and fail.
Yep which IMO is ugly but I’d way prefer that over everyone using .h
Yeah that’s completely fair and makes sense to me. I just know I’ve come across stuff where people are talking about it like they’re the same language. This seems to be especially prevalent in windows development where the C support is pretty poor in comparison and tends to kinda be lumped into into C++.
Ah…well fair enough. I personally prefer plain C but I know nothing about the pine time or what languages are available and even then Hypr and Hyprland are C++ so you are trapped there…sway ftw lol. Also my pedantic side dictates I must say this even though it’s irrelevant…but technically Hyprland is a Wayland compositor and while they do manage windows a window manager is an X term…
A lot of companies run Debian and Debian based distros, Google on their servers for a start