Yeah I always get that bun! If you go often, I strongly recommend the app. It remembers previous orders and what sort of toppings you like on your burger. It takes around 10 minutes to prepare it, so if you order before you head out, it will usually be ready by the time you get there. Also, you can get Scene points towards your next movie.
I worry about what this legislation could mean for medium-sized cities like where I live that are only now starting to put in bike infrastructure. It is underutilized at this point, but that’s because it is still incomplete.
You have, for example, a wonderful off-road trail that is 90% complete connecting the suburbs to downtown, but there is one section where you have to cross a bridge with no bike lanes or anything. Until that part gets done, few people will use the rest of it. But if they decide to take a lane away from cars on the bridge, the province could argue that no one uses the trail in the first place and shoot it down. Uuugh!
I was recently in Montreal and omg it’s cycling heaven! Bikes outnumber cars in many places and vehicle congestion seems less in spite of this. Also, drivers seem more cautious in general in the downtown core, even on roads where there are no cycle tracks. It’s a bit like the college campus effect I guess? When you have a high density of non-automotive road usage, the cars tend to slow down and be more patient. They’re moving slower but there is still a steady flow of traffic. Not a lot of gridlock.
Yeah, I think the current situation is they have to burn a certain amount of fuel to refine the bitumen, and then of course the oil itself is eventually burned by the end user. So it’s a carbon emissions double whammy. Not a good look. But if nuclear steps in to handle the refining part, they may be able to sell more oil by trading on a “clean” image? Or something. I have trouble getting into that mind set.
it may look to replace the role of fossil fuels in its electricity grid with another controversial energy source — nuclear
I wouldn’t be so sure about the “replace” part. Refining oil sands is an energy-intensive process. Couldn’t the nuclear power wind up going to that? I thought they were even advocating for this.
I posted this because it gave me a hint as to why conservative propaganda has shifted in recent years. It’s mostly personal attacks on the man at the top now. “F#ck Trudeau” and all that.
While this might make some sense in the US where the presidency is an institution unto itself, it makes a lot less sense in Canada where we have a parliamentary system in which running the country is a group effort by the dominant political party.
And Trudeau is not even a power-trippy type of leader. He’s always been more of a delegator. So while I believe there is plenty of reason to be critical of the current federal government, pinning it all on the prime minister just seems weird and off. Like something a foreign influence campaign would be trying to do, in other words.
There were breaking changes between C and C++ (and some divergent evolution since the initial split) as well as breaking changes between different releases of C++ itself. I am not saying these never happened, but the powers that be controlling the standard have worked hard to minimize these for better or worse.
If I took one of my earliest ANSI C programs from the 80s and ran it through a C++23 compiler, I would probably need to remove a bunch of register
statements and maybe check if an assumption of 16-bit int
is going to land me in some trouble, but otherwise, I think it would build as long as it’s not linking in any 3rd party libraries.
I think the thing with C++ is they have tried to maintain backward compatibility from Day 1. You can take a C++ program from the 80s (or heck, even a straight up C program), and there’s a good chance it will compile as-is, which is rather astonishing considering modern C++ feels like a different language.
But I think this is what leads to a lot of the complexity as it stands? By contrast, I started Python in the Python 2 era, and when they switched to 3, I was like “Wow, did they just break hello world?” It’s a different philosophy and has its trade-offs. By reinventing itself, it can get rid of the legacy cruft that never worked well or required hacky workarounds, but old code will not simply run under the new interpreter. You have to hope your migration tools are up to the task.
I started in C and switch to C++. It’s easy to think that the latter sort of picked up where the former left off, and that since the advent of C++11, it’s unfathomably further ahead. But C continues to develop and occasionally gets some new feature of its own. One example I can think of is the restrict
key word that allows for certain optimizations. Afaik it’s not included in the C++ standard to date, though most compilers support it some non-standard way because of its usefulness. (With Rust, the language design itself obviates the need for such a key word, which is pretty cool.)
Another feature added to C was the ability to initialize a struct
with something like FooBar fb = {.foo=1, .bar=2};
. I’ve seen modern C code that gives you something close to key word args like in Python using structs. As of C++20, they sort of added this but with the restriction that the named fields have to come in the same order as they were originally defined in the struct, which is a bit annoying.
Over all though, C++ is way ahead of C in almost every respect.
If you want to see something really trippy, though, have a look at all the crazy stuff that’s happened to FORTRAN. Yes, it’s still around and had a major revision in 2018.
There is also the ounce of prevention is worth a pound of cure aspect to all this. The anti-carbon tax camp loves to blame rising costs on essentials like groceries on the tax (conveniently forgetting to mention that aside from it being a minor contributor, the rebates are specifically put in to address this).
But you know what else will raise the price of food? Climate change. I think it’s fair to say that it has already contributed to shortages of certain items and you can bet it’s only going to get worse to the point that we will be looking back on the prices today nostalgically before long.
Well that’s not really what I’m referring to. I’m talking about EUI-64, which was supposed to make life easier by giving everyone an IP addressed based on their MAC address. You wouldn’t need to worry about address collisions with such an address, as it would be globally unique.
But following up on it a little just now, it seems the idea is falling out of favour precisely due to the privacy issues I was fretting about. I assume that means DHCP or some similar scheme will come to dominate just as with IPv4? I’m not an IT guy so I don’t know what the current thinking is on this.
I’m glad the decision swung in favour of Charter protection. I worry about the implications in terms of IPv6. Typically, addresses in that case are built out of the MAC address of the device. That means you can nail down not just the person but the exact device they were using. Since IPv6 is big in the cellular world, that means your phone.
It was more than just tab conversion. For example, it decided on its own that:
if(...) {
...
}
else {
...
}
would look better like:
if(...) {
...
} else {
...
}
I mean I guess I could live with that, but really? I imagine there’s some config where you can disable all this, but it just doesn’t seem worth some giant git commit every time I touch a file with the editor.
I tried it briefly. It certainly is a lot snappier than Atom ever was, I’ll give it that. Seemed to be pretty good with Python, but when I opened some C++ source, it went around reformatting my indentation and replaces tabs with spaces. I will have to see if there is a way to disable all that, as I found it obnoxious.
Yeah how’s that going? (I don’t live in Alberta.)
It seems to me this idea of opting out of federal programmes might score some quick political points if you’re a have-province, in that it could be argued you’re sinking more into them than you’re getting out. But Alberta has historically had a boom-and-bust economy, and as such, cutting those federal lifelines seems unwise. But what do I know?
In an email to Global News on Sunday, Alberta’s health minister said that if the federal government pursues a national pharmacare program, Alberta intends to opt out, and instead intends to obtain a full per capita share of the funding.
So they can just pocket the money like that with no strings attached? wth
Good Lord, we’ve had the MMR vaccine since what, the 60s? What’s wrong with people?
I guess the problem is there aren’t so many people today who still remember a pre-vaccine world. I asked my dad about it. He got the mumps when he was a kid. Missed a year of school and had to retake the 3rd grade. He also sustained permanent hearing damage.
Ok, so in most languages, you have some way to define a data structure. It could be anything. Maybe it stores the X and Y coordinates of a Cartesian vector. And now you want to do stuff with your vectors, so you write a bunch of functions you can call like get_vector_length(myvect)
or add_vectors(vect1, vect2)
.
In OOP, you add that kind of functionality into the data structure itself. So now you can just write myvect.length()
or vect1 + vect2
(by implementing the +
operator for your data structure). At this point, the data structure is typically called a “class” and the functions you build into the class are “methods”.
As you dig deeper into it, you learn about inheritance. When you have 2 related classes that share a lot of functionality, you can use inheritance to save a lot of duplication in your code.
In statically-typed languages, it can also come in useful to have a base class you can pack into a container, since most containers can only accept a single data type. If you had some graphics classes like Rectangle
and Circle
that all inherit from Shape
, you could make a collection of Shape
that’s a mix of those. (In dynamically-typed languages, this tends to be less of an issue since you can put objects of any data type straight into the list. This might be why OOP isn’t approached as soon in tutorials for such languages, since it’s not as mission-critical? But it’s still a good idea to have some sort of class hierarchy where it makes sense.)
The idea is that an insurance company deals exclusively with one or several pharmacies in exchange for lower costs. Steve Morgan, a professor at the University of British Columbia in Vancouver and an expert on pharmacare systems, said that “we don’t know exactly how much of the savings that are generated get passed on to the consumer at the end of the day.”
Oh I have a pretty good idea about that…
You could try base64 maybe? The above would be: Z3nFNDK4ut8Em7nYkkpXhd2IckM= (28 chrs)
base64 uses A-Z, a-z, 0-9, and the + and / characters to encode 6 bits per character. That means you can encode every 3 bytes (or 6 hex) in 4 characters (since 3 * 8 bits = 4 * 6 bits). If the data are not a perfect multiple of 3 bytes, the last group of 4 characters gets padded out with = signs.
Bear in mind that there is going to be nimby opposition to pretty much any new power project. I’ve seen it where I live with wind farms, for example, and it unfortunately does work, leading to delays, downscaling, and outright cancellation. I guess the thing is that with nuclear or hydro, you tend to run into a few colossal battles to get the things built, whereas with wind, you’re looking at hundreds of smaller clashes. Solar seems a little less contentious, but it’s also the least reliable energy source, meaning you will have to look at large-scale energy storage projects which, again, will attract a nimby element.
Yeah, I was never a fan of the Whopper for that reason, but the IW is pretty good!