Hacker Newsnew | past | comments | ask | show | jobs | submit | onionisafruit's commentslogin

> Even after moving to Azure, they're struggling …

More like _because_ they moved to Azure. Azure has been nothing but crapulent. GitHub needed more capacity, but they chose the wrong place to add that capacity.


They weren't given a choice, as I understand it.

Maybe nobody under whatever MS VP is in charge of GitHub, but somebody at some level had a choice, and they chose poorly.

At this scale, not using the likely at-cost infrastructure of their parent company would surely have caused revenue problems, no?

> I had 6 apps nobody but me could use

That’s how I feel. I’ll give this a try.


lol the admin life. let me know how it goes

I don’t know when various parts of Amazon learned about it, but I don’t think this post means they knew about it on Oct 17. I think they looked at past logs from their honeypots and found a probe for php2shell happened on Oct 17.


For those of us uninformed, what’s the difference between O and o?


Knuth originally defining them https://dl.acm.org/doi/10.1145/1008328.1008329


That sounds like Knuth came up with them, but the notation is much older than 1976


I learned them as Landau notation which would put its invention around the turn of the twentieth century.


yeah you're right. I wrote that poorly and seems I can't edit it now.. In the link I shared, he does propose the similar theta and omega notations and provides the existing definition for big O.


Best explanation of big-O I've read, in a single opening sentence, no less!


That doesn't define little-o at all?

In fact, he refers to Landau for the definition of little-o.


f(n) = O(g(n)) means as n increases, f(n)/g(n) must not grow beyond a constant

f(n) = o(g(n)) means as n increases, f(n)/g(n) must shrink


Nitpick:

s/must shrink/must eventually shrink, after finitely many n/

Equivalently, must go to zero in the limit.


depends on what you think shrink means. If you mean decreasing, that's false even eventually.


Hmm you're right it's no more rigorous what I said. (For each positive number the expression must eventually, after finitely many terms, always be smaller than that number thereafter)

But you're not right in that the upper bound of that expression eventually stops decreasing, in fact for simple f and g as long as f is positive and eventually bounded by g the expression will decrease infinitely often if my intuition is correct


Those are complexity classes. It makes more sense to use '∈' instead of abused '='.


To complement on other comments that have already provided definitions.

The big O notation is very often used to denote exact complexity of an algorithm even if the notation is technically an upper bound.

The little o notation is usually used to denote a small asymptotic improvement over some known complexity.

For example if some sublinear algorithm would have n^(7/8) complexity - would be probably advertised as big O of that. But n^(1-eps) is shared as o(n) with exact constant provided as a detail.


Pedantic correction: big O is more like <=, little o like strict <. Big theta, Θ, is like =. There's also omegas, big and small, for >= and >.


I don’t think this is pedantic in this case! It’s the relevant precision necessary to understand the way in which the title is notated.


Both are upper bounds. But small o is strictly smaller than upper bound. Big O is not greater than upper bound.

https://stackoverflow.com/questions/1364444/difference-betwe...


If f is O(g) and o(h) then

  Lim f/g -> C a constant
And

  Lim f/h -> 0


> Lim f/g -> C a constant.

This isn't quite correct. O(g) doesn't require the limit to exist.


Ah, true, I was being sloppy. Thanks


Lmao! If someone is asking the difference between big and little o notation this is absolutely not the right way to clarify it.

If you were joking then maybe you got me


I do hope you can find and reattach your ass; that does sound painful.


Big O basically drops constants

O(2n+1) = O(2n) = O(n)

o(2n+1) > o(2n) > o(n)

Both define upper boundary, but big O can read like "the function is generally proportional to ___" and little o can read like "the function is never more than _____"


that's not the convention I know... (from CLRS algorithms book).

Big O is sort of like <=. little o is sort of like <.

https://dl.acm.org/doi/10.1145/1008328.1008329


yes, GP is slightly off, but the idea of <= and < is accurate.

O(n) is: "there exists a K such that, for sufficiently large n, K*n is always larger".

o(n) is: "for every K, for sufficiently large n, K*n is always larger". (So o(2n+1) and o(2n) and o(n) are the same thing.)


> "there exists a K such that, for sufficiently large n, K*n is always larger".

For what it's worth you can leave out the 'sufficiently large n' part, assuming we're talking about positive integers (or continuous functions on the nonnegative reals). I like to leave it in though because it makes the jump to defining both o, O and Theta in terms of lim sup f/g a little easier.


> o(2n+1) > o(2n) > o(n)

I don't think any of those are right. The latter two are trivially equivalent, the former also is since it differs by a factor of at most 3 for all n >= 1.

I still think the simplest definition for o(f) is 'g in o(g) iff O(g) is a proper subset of O(f)'. Or you can just say g is dominated by f in the sense that lim sup g/f = 0.

I'm fairly sure those two are equivalent, but it's a good little exercise.


Before reading this I never considered Snowden could have been a motivator for Let’s Encrypt.


Same. Fact checking on Wikipedia seems to indicate that the letsencrypt initiative predates Snowden revelations.


I did the same. I found the same about it predating Snowden, but I also found this quote from J Alex Halderman in a remembrance of Peter Eckersley.

> That summer, Edward Snowden came forward with chilling revelations about NSA mass surveillance, and the need for ubiquitous encryption became clearer than ever.

It’s not a claim that it was the instigator, but it seems like it was heavily on their minds.


> internet traffic, especially egress traffic, still is absurdly expensive

Are they paying for significant egress? I would assume they primarily serve static files that can be on a cdn


> I would assume they primarily serve static files that can be on a cdn

And someone gotta pay that CDN bill too.

On top of that come all the requests from CI pipelines that don't have a repository proxy at all or have it misconfigured, the AI scrapers and other bots, or DDoS skiddies wanting to take responsibility for taking down a major hoster.


I don't know what Cloudflare's economics are like, but R2 egress is free. You pay for storage and $0.36/million for cache misses, which should be a fairly small percentage.

If I had to build a public artifact repository today, that's what I would use. Apparently Maven Central is built on S3 and Fastly. We don't know the terms, but I'm guessing that is more expensive.


> I don't know what Cloudflare's economics are like, but R2 egress is free.

Cloudflare is not profitable [1], and has collected about 2 billion $ of external funding [2] in 16 years that eventually wants to be paid back.

I would not trust any business on the assumption Cloudflare keeps their stuff available for free. The enshittification and squeeze part is inevitable.

[1] https://www.wsj.com/market-data/quotes/NET/financials/annual...

[2] https://tracxn.com/d/companies/cloudflare/__IL42hIOXmhTb0V8O...


Hey, what if we had a Maven tax if our repo was in Java, and an NPM tax for repos in NPM, for a centrally-managed repo with vulnerability checks?


Unless you truly self-host, get your own ASN and do your own peering, you most likely pay egress. But that's not to say this is the only way to operate, if you manage your own ASN and peering, you stop paying per TB transferred and start paying for available bandwidth instead.

Given the technical chops, it wouldn't be impossible to actually run a FOSS non-profit for hosting FOSS packages and libraries.


I have another tab open where I am about to buy a home assistant green and start a journey of probably-pointless automations. This is giving me pause. Not about sending hashes to haveibeenpwned, but about the response this got on github.


Read the NixOS drama for another datapoint.


It would be marvelous to see GNU/Linux certified as a UNIX specifically with rms’s preferred GNU/Linux as the name.


They could even just call it GNU is now UNIX.

It was Stallman who came up with the name POSIX by the way.


Totally off topic, but I'm replying to an old comment from 3 months ago about me getting a ticket to KGATLW due to a gmail name typo. ("Are you in the weights?")

Yes I went!

The other me had bought new tickets already by the time I tracked him down, and he said "Just keep them!" I took the Amtrak down from Oregon to the Bay Area, and my daughter and I met up with the other me for drinks before the concert at the Frost Amphitheater. GREAT time, tons of fun. Wouldn't have been on my list per se but as an impulsive fun thing to do it was fantastic!


Thanks for the reply. I remember the original message. I’m glad to see you went and had a good time even if the music wasn’t entirely your cup of tea.

Frost Amphitheater was right before the 24 election, then they had another SF show the day after the election. It was such a vibe shift. Frost was good times kraut rock. The next show was pure electronic anger. I’m not usually into their electronic music but I was that night.


As described in the thread, EulerOS and Inspur K/UX were both certified in the past.

They were CentOS Linux derivatives.


IIRC there were some UNIX Linux distributions in the past but the certification wasn’t renewed


This is a neat idea, but I wouldn’t say you aren’t relying on someone else's hosted service. Cloudflare isn’t a public utility quite yet.


They said sex is encoded in it, so it’s probably a sex digit.

edit: I was wrong. Wikipedia says, “The first digit of the sequence number encodes the century of birth (so that centenarians are distinguished from infants)”.

It also says “the last digit of the sequence number is odd for males and even for females”. What a strange system. Essentially the last three digits are two different sequences made to look like one.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: