kashara

joined 8 months ago
[–] kashara -4 points 5 months ago

I have a right to do so

 

in regards to the cause of SMO

 

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 0 points 6 months ago
[–] kashara 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 1 points 6 months ago

Sounds good to me.

I knew it would

[–] kashara 10 points 7 months ago

Why not 11th Cold War?

[–] kashara 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 to c/[email protected]
 

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 0 points 7 months ago

You know what’s funnier?

No.

[–] kashara -2 points 8 months ago
 

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?

 

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?

4
submitted 8 months ago* (last edited 8 months ago) by kashara to c/[email protected]
 

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

14
submitted 8 months ago* (last edited 8 months ago) by kashara to c/[email protected]
 

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

 

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

view more: next ›