There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Pronounshe/himDatetime FormatRFC 3339

This profile is from a federated server and may be incomplete. Browse more on the original instance.

davel ,
@davel@lemmy.ml avatar

Some people do get upset; some people don’t.

The easily upset don’t—or refuse to—understand that 1) some of us have brains that just don’t remember people’s names very well, and that 2) they should get over themselves.

davel ,
@davel@lemmy.ml avatar

How would the foreignness of the agents be relevant? And why ask that when I’m a thousand times more likely to be hunted down by domestic agents?

davel ,
@davel@lemmy.ml avatar

We get the strangest reports sometimes.

Reporter: [REDACTED]
Reason: Piracy

davel ,
@davel@lemmy.ml avatar

The ones that do, do; the ones that don’t, don’t.

davel ,
@davel@lemmy.ml avatar

@d3Xt3r, did you actually look at the options in this poll? Because some of them are as racist and as fascist as can be imagined.

davel ,
@davel@lemmy.ml avatar

Reporter: [REDACTED]
Reason: Election interference

davel ,
@davel@lemmy.ml avatar
davel ,
@davel@lemmy.ml avatar

China files more patents than the next nine countries combined: www.wipo.int/en/ipfactsandfigures/patents

https://lemmy.ml/pictrs/image/83ec576b-b536-40ac-b2f1-3dafd22b9894.png

China is first country to hold over 4 million domestic patents

The number of China’s domestic valid patents does not include those held in Hong Kong, Macao and Taiwan.

davel ,
@davel@lemmy.ml avatar

This comment is triggering and it should have a NSFW spoiler.

davel ,
@davel@lemmy.ml avatar

This sounds like recycled Cold War I hysteria. How much Democratic party Kool-Aid have you drunk?

First of all, where did Russia get so many US dollars from that they were able to outbid all of their US petit bourgeois and corporate competitors in buying the US Republican Party?

davel ,
@davel@lemmy.ml avatar

Right?

The 14th Dali “suck my tongueCIA asset Lama

davel ,
@davel@lemmy.ml avatar

This isn’t simply a matter of Biden pleasing his donors, nor is it really about Biden in particular. This is the liberal international order working as designed, namely that the US makes the rules and orders everyone else around. Israel is a settler-colonial project of the Western imperial core, and it has been the US’ unsinkable aircraft carrier in West Asia for generations. As Biden has said throughout his career, “were there not an Israel, the United States of America would have to invent an Israel to protect her interest in the region.” The Hague Invasion Act has been on the books for over 20 years, so this is nothing new and has always been bipartisan.

davel , (edited )
@davel@lemmy.ml avatar
davel ,
@davel@lemmy.ml avatar

Reporter: [REDACTED]
Reason: Spam/misinformation: Not an anti-AI licence.

This person may be confused, but still your tagline is a waste of mods’ time. And just speaking as a user I find it to be annoying visual pollution, especially since I think it’s ineffectual, unless your only goal is to “raise awareness.” Beyond that I think any effectiveness is about as plausible as that of sovereign citizenship.

davel ,
@davel@lemmy.ml avatar

You don’t understand: these comment footers are the only thing between us and Roko’s basilisk.

~ NOT FOR COMMERCIAL USE ~ PRIVATE MODE OF COMMUNICATION ~ NO STEP ON SNEK ~

davel ,
@davel@lemmy.ml avatar

Oh right… It’s a good thing I already knew how to drive stick before taking up motorcycling.

davel ,
@davel@lemmy.ml avatar

They also banned or nationalized many media outlets, censor media in general, and suspended eleven political parties during his term, which eventually became permanent bans.

Al Jazeera, Mar. 2022: Why did Ukraine suspend 11 ‘pro-Russia’ parties?

Europe is no bastion for frozen peaches, either. AP, Mar. 2024: EU bans 4 more Russian media outlets from broadcasting in the bloc, citing disinformation

davel ,
@davel@lemmy.ml avatar

In virtually every war in these Burgerlanders’ lifetimes, their country has been on the morally & militarily losing side. They desperately, desperately want a moral & military victory for once, even moreso now that Biden has proven to be Genocider in Chief.

Computer Scientists Invent an Efficient New Way to Count (www.quantamagazine.org)

Traditionally, algorithms for counting distinct items in a stream of data would store all the items. A new algorithm, called CVM, uses randomization to estimate the number of distinct items with minimal memory usage. The trick is to keep track of items by recording them and then randomly deleting some. The probability of an item...

davel ,
@davel@lemmy.ml avatar

Optimize Memory and Performance with the CVM Algorithm in JavaScript: A Comprehensive Guide for Text Analysis, Big Data, and More

Final CVM Algorithm Code in a JavaScript “oneliner”

You can use this JS function by providing any text string as input, and it will simulate the described algorithm, returning the final set of unique words. This is as condensed as it can get, but if you can condese it more , please do post and Ill update it! If you are interested in seeing how this ‘oneliner’ started, before it was condensed, I have included the long form version of this same code at the bottom of the article.


<span style="font-weight:bold;color:#a71d5d;">const </span><span style="font-weight:bold;color:#795da3;">cvmAlgorithm </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#323232;">t </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#323232;">{ </span><span style="font-weight:bold;color:#a71d5d;">const </span><span style="font-weight:bold;color:#795da3;">f </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#323232;">n </span><span style="font-weight:bold;color:#a71d5d;">=> !</span><span style="color:#323232;">(</span><span style="color:#0086b3;">Math</span><span style="color:#323232;">.random() </span><span style="font-weight:bold;color:#a71d5d;">* </span><span style="color:#323232;">(</span><span style="color:#0086b3;">1 </span><span style="font-weight:bold;color:#a71d5d;"><< </span><span style="color:#323232;">n) </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#0086b3;">0</span><span style="color:#323232;">); </span><span style="font-weight:bold;color:#a71d5d;">const </span><span style="color:#323232;">w </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#323232;">t.match(</span><span style="color:#183691;">/</span><span style="font-weight:bold;color:#a71d5d;">b</span><span style="color:#0086b3;">w</span><span style="font-weight:bold;color:#a71d5d;">+b</span><span style="color:#183691;">/</span><span style="font-weight:bold;color:#a71d5d;">g</span><span style="color:#323232;">) </span><span style="font-weight:bold;color:#a71d5d;">|| </span><span style="color:#323232;">[]; </span><span style="font-weight:bold;color:#a71d5d;">let </span><span style="color:#323232;">r </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#0086b3;">1</span><span style="color:#323232;">, u </span><span style="font-weight:bold;color:#a71d5d;">= new </span><span style="color:#0086b3;">Set</span><span style="color:#323232;">(); </span><span style="font-weight:bold;color:#a71d5d;">for </span><span style="color:#323232;">(</span><span style="font-weight:bold;color:#a71d5d;">let </span><span style="color:#323232;">i </span><span style="font-weight:bold;color:#a71d5d;">of </span><span style="color:#323232;">w.map(x </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#323232;">x.toLowerCase())) u.size </span><span style="font-weight:bold;color:#a71d5d;">< </span><span style="color:#0086b3;">100 </span><span style="font-weight:bold;color:#a71d5d;">? </span><span style="color:#323232;">u.</span><span style="color:#0086b3;">add</span><span style="color:#323232;">(i) </span><span style="font-weight:bold;color:#a71d5d;">: </span><span style="color:#323232;">f(r) </span><span style="font-weight:bold;color:#a71d5d;">&& </span><span style="color:#323232;">u.delete(i), u.size </span><span style="font-weight:bold;color:#a71d5d;">>= </span><span style="color:#0086b3;">100 </span><span style="font-weight:bold;color:#a71d5d;">&& </span><span style="color:#323232;">r</span><span style="font-weight:bold;color:#a71d5d;">++</span><span style="color:#323232;">, u.size </span><span style="font-weight:bold;color:#a71d5d;">> </span><span style="color:#0086b3;">50 </span><span style="font-weight:bold;color:#a71d5d;">&& </span><span style="color:#323232;">(u </span><span style="font-weight:bold;color:#a71d5d;">= new </span><span style="color:#0086b3;">Set</span><span style="color:#323232;">([</span><span style="font-weight:bold;color:#a71d5d;">...</span><span style="color:#323232;">u].filter(() </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#323232;">f(r)))); </span><span style="font-weight:bold;color:#a71d5d;">return </span><span style="color:#323232;">[</span><span style="font-weight:bold;color:#a71d5d;">...</span><span style="color:#323232;">u]; };
</span><span style="color:#323232;">
</span><span style="font-style:italic;color:#969896;">// Example usage:
</span><span style="font-weight:bold;color:#a71d5d;">const </span><span style="color:#323232;">text </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#183691;">"To be, or not to be, that is the question..."</span><span style="color:#323232;">; 
</span><span style="font-weight:bold;color:#a71d5d;">const </span><span style="color:#323232;">finalWords </span><span style="font-weight:bold;color:#a71d5d;">= </span><span style="color:#323232;">cvmAlgorithm(text);
</span><span style="color:#795da3;">console</span><span style="color:#323232;">.</span><span style="color:#0086b3;">log</span><span style="color:#323232;">(finalWords);  </span><span style="font-style:italic;color:#969896;">// [ 'to', 'be', 'or', 'not', 'that', 'is', 'the', 'question' ]
</span>
davel , (edited )
@davel@lemmy.ml avatar

High praise indeed! waow-based Variyam co-develops innovative new data analysis algorithm

The authors presented their new algorithm at the 2022 European Symposium on Algorithms, a premier international conference on algorithm design. Since then, their discovery has been gaining recognition and praise from computer scientists across the field, including world-renowned computer scientist Donald Knuth, author of “The Art of Computer Programming,” who is often referred to as "the father of the analysis of algorithms.”

In May 2023, Knuth published his own paper on the algorithm, “The CVM Algorithm for Estimating Distinct Elements in Streams [PDF],” offering extensive praise and even naming it the CVM algorithm in honor of its inventors. Knuth said in addition to “explaining the ideas to just about everybody [he] meets,” he expects the algorithm to become a foundational aspect of computer science in the near future.

"Their algorithm is not only interesting; it is extremely simple,” Knuth said in the paper. “It’s wonderfully suited to teaching students who are learning the basics of computer science. I’m pretty sure that something like this will eventually become a standard textbook topic.”

As Knuth predicted and Variyam hoped, the algorithm has already found a place in computer science courses.

From Knuth’s paper:

Algorithm D (Distinct element estimation). Given an arbitrary data stream A = (a1, a2, . . . , am) and a buffer size s ≥ 1 as described above, this algorithm returns an unbiased estimate of |A| = |{a1, a2, . . . , am}|. It uses a buffer B that’s capable of holding up to s ordered pairs (a, u), where a is an element of the stream and u is a real number, 0 ≤ u < 1.

D1. [Initialize.] Set t ← 0, p ← 1, and B ← ∅.
D2. [Done?] Terminate if t = m, returning the estimate |B|/p.
D3. [Input a.] Set tt + 1 and aat, the next element of the stream.
D4. [Remove a from B.] If B contains the pair (a, u), for any u, delete it.
D5. [Maybe put a in B.] Let u be a uniform deviate, independent of all others (namely a random real number in the range 0 ≤ u < 1). If up, go back to step D2. Otherwise, if |B| < s, insert (a, u) into B and go back to step D2.
D6. [Maybe swap a into B.] (At this point u < p and |B| = s.) Let (a’, u’) be the element of B for which u’ is maximum. If u > u’, set pu. Otherwise replace (a’, u’) in B by (a, u) and set pu’. Then go back to step D2.

davel OP ,
@davel@lemmy.ml avatar

People who actually paid attention have known; people who read The Atlantic not so much.

davel OP ,
@davel@lemmy.ml avatar
davel OP , (edited )
@davel@lemmy.ml avatar

I don’t understand how sarcasm applies. Not only was he a Saudi of enormous wealth and close ties to the royal family, he was a CIA asset for years.

6 December 1993: Anti-Soviet warrior puts his army on the road to peace

https://lemmy.ml/pictrs/image/1413da3b-fe4f-4e39-b19f-ccea504ca8dc.jpeg

davel ,
@davel@lemmy.ml avatar
davel ,
@davel@lemmy.ml avatar

I just tried it, and yes, “Web” was buried in the “More” drop-down 🤡

Apparently udm=14 is what sends you to the web filter. Here’s How to Declutter Your Google Search Results (And Make It Your Default)

It’s critical you include the &udm=14 part at the end. That’s not junk code, it’s what tells Google to send you straight to the web view.

davel ,
@davel@lemmy.ml avatar

their killing of innocent people

The US & Israel are literally committing genocide while you’re parroting US Cold War III talking points.

davel ,
@davel@lemmy.ml avatar

I accidentally a did that I oughtn’ta done.

davel ,
@davel@lemmy.ml avatar

Yes, I accidentally the whole do not.

davel OP ,
@davel@lemmy.ml avatar

It’s not worth my time & effort to look into these particular investors’ true motivations, but as a rule they’re no more or less to be trusted than the C-suite itself. In almost all cases this is just a game to these people for topping off their Scrooge McDuck swimming pools.

davel ,
@davel@lemmy.ml avatar

This question can probably be interpreted a dozen different ways, so you’ll likely get answers to questions you hadn’t intended meow-popcorn

davel ,
@davel@lemmy.ml avatar

The crew, made up of 20 Indians and a Sri Lankan national, has been unable to disembark because of visa restrictions, a lack of required shore passes and parallel ongoing investigations by the National Transportation Safety Board (NTSB) and FBI.

Red tape and racism. I suspect that if they were say Dutch, accommodations would be made somehow.

davel , (edited )
@davel@lemmy.ml avatar

Those who do not move, do not notice their chains. — Rosa Luxemburg

There’s the ongoing nationwide persecution of college students protesting genocide, for one.

How US gov’t prosecution of Uhuru activists threatens a ‘First Amendment exception’

Then there’s Julian Assange, who the US has been persecuting from afar for the last 13 years despite 1) breaking no US laws, 2) not being a US resident or citizen and 3) not having been on US soil. It does this to threaten journalists not just at home but everywhere.

davel , (edited )
@davel@lemmy.ml avatar

How is that relevant? Political dissidents like Omali Yeshitela and journalists like Assange have also been persecuted before, but why point it out?

Honestly it sounds like you may be trying to make excuses for these attacks on student protestors by claiming that they’re an inevitable force of nature. That it’s always been this way and always will be. Nothing to see here, move along. Hopefully that’s not what you’re trying to do.

And no, the state is not persecuting students for thinking, it’s persecuting them for the same reason it’s persecuting Yeshitela and Assange: for expressing things it would rather not have expressed.

davel ,
@davel@lemmy.ml avatar

Same. If It’s to exist at all, it should be opt-in and explicit about what it’s doing.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • lifeLocal
  • random
  • goranko
  • All magazines