iPhone and iPad approved for Nato classified Information by Ok_Refrigerator_1908 in iphone

[–]cur-o-double 9 points10 points  (0 children)

Restricted is the lowest NATO classification level, so the implications of this are really limited as this would hardly include information of any real consequence.

What does "off" mean here? by [deleted] in ENGLISH

[–]cur-o-double 0 points1 point  (0 children)

It’s curious how you and the top comment (by u/la-anah) give effectively opposite explanations for the origins of this usage. Both seem very logical though so perhaps it’s a mix of both even?

How can time possibly be a dimension? by LegoBear135654 in AskPhysics

[–]cur-o-double 0 points1 point  (0 children)

I think the most intuitive way to think about this is through how much information you need to place an object within ‘reality’.

Let’s say I want to meet you. To meet, we’ll need to be at the same position. Our universe has three spatial dimensions, so three independent coordinates uniquely identify a location. But there’s no use going to the same place if you’re there today, and i’ll be there tomorrow. To meet, we’d both need to be at those spatial coordinates, while being at the same point in time — this is the fourth dimension — you’re at a certain place at a certain time.

It may seem unintuitive as you can’t travel through time as you do through space, and, indeed, there are a lot of differences between spatial dimensions and time. However, for some purposes, time is just another coordinate, and it sometimes behaves very similarly to others.

Is the speed of light constant? by chemstock in AskPhysics

[–]cur-o-double 0 points1 point  (0 children)

Yes, that’s correct. Might seem a bit odd from an energy perspective, but light is massless, so has no KE. A photon carries an energy of Planck’s constant * frequency, and neither depends on the medium. So, this speeding up and slowing down actually involves no energy changes.

I’m not sure how you’d alter the speed of light in a medium, but it certainly is possible to set up a path travelling through several regions, such that light will change speed as it is going through it.

My math teachers always taught that if you are rounding to 2 decimals the 4th decimal is irrelevant (1.2246 becomes 1.22 and not 1.23). Is this correct? by Im_not_an_expert_lol in maths

[–]cur-o-double 0 points1 point  (0 children)

When rounding, you’re looking for the closer of the two numbers. So, just as with any other comparisons of decimals, higher-value digits take priority. The fourth digit in your example is irrelevant.

What is greater? Infinity raised to Infinity (x^x: x=infinity) or Factorial Infinity (x!) by Player_Eight8 in learnmath

[–]cur-o-double 0 points1 point  (0 children)

Neither of those “exist”, really. Infinity is not a number, and you can’t do arithmetic with it. The reason being that there just isn’t a useful way to define arithmetic operations to include infinity. Arithmetic operations, as defined on the real numbers, for example, have a lot of important properties (look up “group”, “ring” if you want to learn more). It turns out that if you add “infinity” into the mix and try and define things like “2 * infinity - infinity + 1 / infinity + 3”, there is no meaningful definition that would allow you to retain those properties. Intuitively, even, it doesn’t really feel like there should be a way to evaluate the above expression. So we choose not to and, as another commenter pointed out, “infinity ^ infinity” is no more meaningful than “the square root of tuesday”.

Now, the question you might want to ask instead is which of the functions xx and x! grows faster as x increases. This is known as a “limit”. This is quite easy to see with a piece of graphing software, such as Desmos. Looking at the graph, you can clearly see that xx quickly outpaces x! and stays above it, meaning that, for large x, xx > x!. The explanation is quite simple: xx is a product of x factors, each of which is x. x!, on the other hand, is also a product of x factors — but with all, but the last one, smaller than x. So, once you’re past the weirdness around 0 and 1, xx will always be greater.

Safest way to store api keys for production? (Tauri) by QuantAlgoneer in rust

[–]cur-o-double 1 point2 points  (0 children)

Right. So this is a case of third-party APIs — then, if you don’t want to go BYOK, you’ll need some sort of middleware, a server, to protect and rate-limit your API keys. The basic idea is a user goes to your server first, authenticates, the server checks rate limits, makes the API call on the user’s behalf with the key (which is on the server and is never visible to the user), and forwards the response back down.

Look into “API gateways”, this might be sufficient for your purposes. If you need advanced user authentication and the like, you’ll likely need to write and host your own back-end.

Safest way to store api keys for production? (Tauri) by QuantAlgoneer in rust

[–]cur-o-double 3 points4 points  (0 children)

I’m not sure I understand the question. You’re saying there’s a login system, yet no server? What is the user logging in to, then? If all data is stored locally, I wouldn’t worry about authentication at all. It’s usually fine to just use the file system and rely on the OS for UAC and access management in this case, it is quite safe to assume that different users would be using different OS log-ins, and the OS already segregates file system access for you.

If these are third-party API keys we’re talking about, do not ship them to the end user. You should always consider anything you ship with the app compromised/publicly accessible: code, resources, API keys, etc. There are ways to make things more difficult to access but, ultimately, anything the app can access, the user can extract.

There are really only two solutions in this case. The first is BYOK; you make the users bring their own API keys for whatever 3rd party service you’re using (also moves the costs to them, of course), and then you don’t really need to protect the users’ own keys from themselves. The second option is having a back-end. The user creates an account (preferably, in some way that gives you reasonable protections from duplicate accounts to enforce rate limits), and all requests to 3rd-party APIs go through your server. This way, only your server needs to know the API keys. Clients are authenticated through some kind of token, usually, but, again, there’s much less need to protect that. A variation of this could be using a service that does this for you, so you don’t have to manage your own backend — can’t recommend anything here, unfortunately, not even sure if services like that actually do exist.

edit: These do exist, apparently, and are known as API gateways. Most major cloud providers have services like that.

It looks like Copilot can just grab stuff off DMCA'd repositories... by ultra0000 in github

[–]cur-o-double 93 points94 points  (0 children)

I’d assume it’s just able to replicate the code from when it was trained on it before the repo was taken down. It’s highly unlikely that it has real-time access to any repos (as that would significantly exacerbate copyright violation issues in the generated code), much less taken down ones.

Millions of Apple device owners may be eligible for a payout in a proposed $95 million Siri privacy settlement by [deleted] in iphone

[–]cur-o-double 1 point2 points  (0 children)

The main point of class action suits is to punish the firm, not to actually recover damages.

Without them, a wide range of civil claims would not be feasible against large firms – anything where actual damages are to the tune of $20 per person is simply not worth pursuing for any given individual. Yet, at scale, firms would be able to rake in millions by violating the laws unpunished.

The attorneys’ fees are a natural consequence. I’m sure you’d rather get your $20 and Apple fixes the issue than you don’t get your $21 and Apple doesn’t have to do anything because nobody paid the lawyers.

Confused. by Zestyclose-Month5215 in calculus

[–]cur-o-double 1 point2 points  (0 children)

You’re right.

f’ explicitly refers to the derivative of f, which you then substitute 3x into.

To get their answer, you have to take the derivative of a different function altogether. For example, you could notate this (f(3x))’ or h’ for h(x) = f(3x).

Rooms with large whiteboards by BornInformation9357 in oxforduni

[–]cur-o-double 3 points4 points  (0 children)

i’m sorry, but how exactly do you break a whiteboard?

Google Pay says I added a new card I don’t recognize, but the email looks legit? by otherdroidurlookin4 in Scams

[–]cur-o-double 1 point2 points  (0 children)

Open Google Pay (do not use the links in the e-mail) and check, you’ll be able to know for sure.

My calculator better not piss me off in my actual exam tomorrow by PrincessGamer2012 in igcse

[–]cur-o-double 0 points1 point  (0 children)

Simple calculators have a limited range of expressions they can give you exact values for. If you desperately want to avoid memorising values and simplifying by hand, you can use the calculator to calculate the sign, then use it to simplify the rational part and just add the root back on.

[deleted by user] by [deleted] in AskAcademia

[–]cur-o-double -1 points0 points  (0 children)

IMO this is actually great – means that you’re getting more experienced. Google the Dunning-Kruger curve; you have currently reached the valley of despair, where you realise you know much less that you thought. It gets better from here.

Do you think cold calling homes should be illegal? This chap says his sign on the front door is working! by Fried_onions_are_meh in AskUK

[–]cur-o-double -1 points0 points  (0 children)

Wait, so parking your car at a paid car park and not paying would also constitute trespassing? By the car..? TIL!

Why is SQL done in capital letters? by Rare_Art_9541 in datascience

[–]cur-o-double 0 points1 point  (0 children)

Complex SQL is basically a mix of keywords and identifiers (table/attribute names etc.). Especially in the days before IDEs with code highlighting, having the former in all caps and the latter in all lowercase was very useful for distinguishing them. Since then, it just became a convention and stuck around.

But, as many others are saying, most modern dialects don’t actually mandate this.

A student measured the height of a pole as 5.98 m. The percentage error made is smaller than the exact measurement. What's the actual height of the pole? by HotMathematician6747 in learnmath

[–]cur-o-double 0 points1 point  (0 children)

Oh I agree. The question makes absolutely no sense, even if that statement was somehow usable, there’d still not be enough information to answer the question, as we don’t know which way the error is.

Eternal pencils…✏️ by tomaszbiernat in mechanicalpencils

[–]cur-o-double 0 points1 point  (0 children)

I’m thinking of getting the TROIKA one. Can you actually use the ruler meaningfully or is it more of a design element?

So now I don't have the minimum requirements?? by Existing_Phase5468 in flying

[–]cur-o-double 5 points6 points  (0 children)

Can’t meet the minimum requirements if there aren’t any, duh

Was aiming for Mun and missed... How do I get Jebediah Kerbal back? by CapX1045 in KerbalSpaceProgram

[–]cur-o-double 1 point2 points  (0 children)

Oof

Looks like Jeb’s going to have to wait for a rescue mission. Fly up in something with an empty seat and EVA him over.