11
submitted 5 months ago by kashara@lemmy.zip to c/worldnews@lemmy.ml

in regards to the cause of SMO

-4
submitted 6 months ago by kashara@lemmy.zip to c/cryptocurrency@lemmy.ml

How to swap a token for SOL or vise versa** from within** a Solana smart contract? That is, on-chain. How to interract with a router of either Raydium or SolDex? I haven't found any example of this.

[-] kashara@lemmy.zip 0 points 6 months ago
[-] kashara@lemmy.zip 2 points 6 months ago

Do people actually think like this?

Of course. Plenty of americans, including the government, do when it comes to protests in other countries that aren't allies with US

[-] kashara@lemmy.zip 1 points 6 months ago

Sounds good to me.

I knew it would

[-] kashara@lemmy.zip 10 points 7 months ago

Why not 11th Cold War?

[-] kashara@lemmy.zip 17 points 7 months ago* (last edited 7 months ago)

Now the government of Sunak's regime will have no free fish anymore.

16
submitted 7 months ago* (last edited 7 months ago) by kashara@lemmy.zip to c/programming@programming.dev

In Python one would write:

file_name = 'fdsafdsafds.wav'
audio, sample_rate = librosa.load(file_name, res_type='kaiser_fast') 
mfccs = librosa.feature.mfcc(y=audio, sr=sample_rate, n_mfcc=40)

Is there such a library or the one with this functionality in other, compiled languages? in C++, Go, Rust, .NET.... I haven't found any

[-] kashara@lemmy.zip 0 points 7 months ago

You know what’s funnier?

No.

4
submitted 7 months ago* (last edited 7 months ago) by kashara@lemmy.zip to c/browsers@lemmy.ml

I'm creating a TagGroup and trying to update it:

//background.js

chrome.tabs.group({ tabIds: tabIds}, function (groupId) {

  //1
  // chrome.tabGroups.update(groupId, { title: groupTitle });

  //2
  // chrome.tabs.update(groupId, { collapsed: true, title: groupTitle });

   //3
   chrome.tabGroups.update(groupId, { title: groupTitle, color: "blue", collapsed: true });

  //...

For some reason, none of these functions will set title of a TagGroup, nor collapse the tabs into one.

How to do it then?

3

I want to create a simple web service that'll manage WireGuard VPN servers of mine in defferent locations. It'll work like this: whenever I try to access a site in from certain, pre-defined list, a web service (a) or a local customly-modified VPN client (b) will switch me to a VPN server in a certain location. When I go back to other, normal website, it'll switch me back to the last VPN server.

How would I go about this? Will it be implemented on the side of the server (a) - web service? Or on the client one (b) -- by a custom VPN client which I'd have to modify to incorporate this functionality?

[-] kashara@lemmy.zip 1 points 8 months ago
4
submitted 8 months ago* (last edited 8 months ago) by kashara@lemmy.zip to c/osdev@programming.dev

Can eBPF be used to modify the list of WiFi networks visible to the user via NetworkManager? Hide some of them, add or modify info of the others....

Or even better, modify it on yet the lower level such that any application that polls the list via system API would receive a modified list.

The is about eBPF only

[-] kashara@lemmy.zip 1 points 8 months ago* (last edited 8 months ago)

As you wish. Go to Ukraine itself and observe "more of this" on daily basis -- executed by the other side.

17
submitted 8 months ago* (last edited 8 months ago) by kashara@lemmy.zip to c/news@lemmy.world

But this won't compare to Europe which trolls itself by buying russian gas and oil still, and burning more of coal than ever.

[-] kashara@lemmy.zip 1 points 8 months ago* (last edited 8 months ago)

Noooooooooo. I'm beginning you, remove this line. Pleeeeeeeaaaaasssse. Noooooooooo. Otherwise I'll die.

[-] kashara@lemmy.zip 1 points 8 months ago

Even the loss of Bahmut, which fell in March, has never been admitted by UA.

[-] kashara@lemmy.zip 2 points 8 months ago* (last edited 8 months ago)

So it's Politico came up with this fake news? Alright:

The fact is that if even European official admits it, then it must've been bad for UA for a good half a year if not a year already.

[-] kashara@lemmy.zip 1 points 8 months ago

It’s more of a stalemate,

if you listen to the European and US propaganda, then it is.

25
submitted 8 months ago by kashara@lemmy.zip to c/news@beehaw.org

What bad news? Why? Hasn't UA been winning all along, for 1.5 years?

29
submitted 8 months ago by kashara@lemmy.zip to c/world@lemmy.world
-18
submitted 8 months ago by kashara@lemmy.zip to c/globalnews@lemmy.zip
view more: next ›

kashara

joined 8 months ago