Corsair

joined 8 months ago
[–] [email protected] 2 points 4 days ago

Thank you very much for your feedback @[email protected] & @[email protected]

 

Hi,

Often apps offer you a way to "share" some content. While doing so you have a native Android menu that propose you few compatible apps to "share" it.. great... But I don't want to share it I want to save it locally (on the device) Any ideas how to do just that ?

13
Quart Vs Flask (programming.dev)
 

Hi,

I've read quite few articles about Flask Vs quart.

But the one that I found do not go deep.. :/ (and are big adept of copy/past ...)

So, beside the extra features (ASGI, HTTP/2, WebSockets..)

I'm wondering if async/await in this context give a real boost of performance ?

When a client connect to a worker I don't think that while await, will allow another client to use the same work ? or am I wrong ?

Do you have any metric ? Or if you switched from Flask to Quart di you noticed a gain ? lost ?

Thanks.

[–] [email protected] 2 points 1 month ago (1 children)

Thanks @[email protected] unfortunatly ikea is quite the opposite of

... ~strong ...

 

Hi,

I'm looking for a ~strong cabinet with some shelves where I could install some IT equipment mostly Single-board computer, DIY NAS

So it doesn't need to be tall , so I guess that ~40cm height would be enough.

Additionally it would have the following:

  • air vents
  • all sides panel in resistant metal (steel) ? (so no glass/plexi panel)
  • holes to fix it to the ground or wall
  • a hole to pass an electrical cord.
  • a hole to pass an Ethernet wire.

I found only one reference (for now) that look a like what I'm searching https://www.hartmann-tresore.fr/gamme-serveur-protect.html But this website lack of prices and pictures :/ and anyway I don't need such a height.

Any idea where to look at ? or what that kind of item might be named ?

Thanks.

[–] [email protected] 0 points 4 months ago (1 children)

Thanks @[email protected] weird because I can use XHR as async.. see: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open open(method, url, async)

 

cross-posted from: https://programming.dev/post/13268260

Hi,

I discovered this webpage
https://developer.mozilla.org/en-US/docs/Glossary/XMLHttpRequest

Where it say

The Fetch API is the modern replacement for XMLHttpRequest.

Without further explain on why so...

Did you (yourself) migrated from XHR to The Fetch API ? and is it better ? or do you know any (not bias) article about it ?

What about performances etc..

Thanks

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

Hi,

I discovered this webpage
https://developer.mozilla.org/en-US/docs/Glossary/XMLHttpRequest

Where it say

The Fetch API is the modern replacement for XMLHttpRequest.

Without further explain on why so...

Did you (yourself) migrated from XHR to The Fetch API ? and is it better ? or do you know any (not bias) article about it ?

What about performances etc..

Thanks

cross-posted onhttps://lemmy.world/post/14707833

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

Thank you all for your input's !! 🤗

I've put the files on a USB flash drive formatted as a classic FAT. Then I mounted it in the VM (I confirm no need the VMware-tools for that :)

 

Hi,

I have a fresh debian VM under VMware W0rkstation.

I was wondering how can I pass data between the host (Windows :/ and the VM) with the VM being fully offline is it possible ?

Tested and not working:

  • host sharing a network drive (SMB) not possible as debian will require the install of cifs-utils
  • create a virtualized NTFS drive. not possible need ntfs-3g for debian

Any ideas ?

note: open-vm-tools is impossible either as I want to install it without being connected ton the www.[^1]

Thanks.

[^1]: World Wide Web (aka internet)

 

Hi,

Following my previous post where quickly share code ?

I'm looking for a pastebin / git / github self-hosted software written in 🐍 Python.

Here the features that I'm looking for (anyway like it's in Python I could create my self the missing one afterward :)

  • self-hosted, (but may have some instance public online)
  • compatible with git (and therefore history log )
  • syntax highlight for a various languages (especially 🐍 Python )
  • Can show the difference between versions (modified, added, removed ) with color and nice interface.
  • Fully LOSS (aka FOSS)

Thanks.

[–] [email protected] 1 points 5 months ago

Really cool ! (bookmarked*)
Just the essential !
to bad there isn't either a difference between versions or a history of the changes

[–] [email protected] 1 points 5 months ago

Thank you very much @[email protected] , any names for GitHub alternatives ?

[–] [email protected] 1 points 5 months ago (1 children)

Thanks @[email protected] ,

This is looking great, sadly Opengist on which Blocks is based. is written in Go :/ and I can't support that[^1]

[^1]: Belong to google & https://go.dev/PATENTS

 

Hi,

I'm looking something (a website ?) to quickly share code.

That have the following attribute

  • not especially need to register !
  • syntax highlight for a various languages (especially 🐍 Python )
  • users can upload modified version of the code
  • Can show the difference between versions (modified, added, removed ) with color and nice interface.
  • Something that respect as much the gnu philosophy (so nothing like Github etc..)

Thanks.