[-] [email protected] 1 points 4 days ago* (last edited 4 days ago)

I think I found the cause.

one of the parent div have is properties perspective and it seem to be the problem... (Firefox 115*)

So I created an dirty workaround ;)

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

Hi everyone,

I would like one of my div to have an background-attachment: fixed

But the background still scroll ๐Ÿ˜ค

This div is under html body div div div div div

and it CSS properties are

#TheDiv {
    min-height: 100vh;
    min-width: 100vw;
    background-image: url('/anImage.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    left: 0;
    padding: 40px;
    box-sizing: border-box }

Any Ideas, what could cause the background to scroll anyway ?

Thanks

[-] [email protected] 1 points 5 days ago

Thank you @[email protected] & @[email protected] & @[email protected]

for those explanations ! So, as I have my hand on a raspberry , I will give a shot with that first :)

[-] [email protected] 1 points 5 days ago

Thank you @[email protected] & @[email protected] for those explanations ! So as I have my hand on a raspberry , I will give a shot with that first :)

1
submitted 1 week ago by [email protected] to c/[email protected]

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

Hi everyone,

I would like to learn to program and built project using MicroControllers

I'm a Python dev. Therefore I would like to use it to program those.

But I've no idea where to start..

  • For the hardware:
    • What will be the best Raspberry Pi or Arduino ?
      I know they are not the same thing but could tell me in which situation you use more one than the other ? Or do you use something else ?
  • Software
    • I've already my IDE VisualCodium
      What is MicroPython Vs CircuitPython ?

If you have any resources I'm all eras.

Thanks.

1
submitted 1 week ago by [email protected] to c/[email protected]

Hi everyone,

I would like to learn to program and built project using MicroControllers

I'm a Python dev. Therefore I would like to use it to program those.

But I've no idea where to start..

  • For the hardware:
    • What will be the best Raspberry Pi or Arduino ?
      I know they are not the same thing but could tell me in which situation you use more one than the other ? Or do you use something else ?
  • Software
    • I've already my IDE VisualCodium
      What is MicroPython Vs CircuitPython ?

If you have any resources I'm all eras.

Thanks.

2
submitted 1 month ago by [email protected] to c/[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)
submitted 1 month ago by [email protected] to c/[email protected]

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

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

... ~strong ...

1
submitted 4 months ago by [email protected] to c/[email protected]

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

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)

1
submitted 4 months ago by [email protected] to c/[email protected]

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 5 months ago* (last edited 5 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 :)

15
submitted 5 months ago by [email protected] to c/[email protected]

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)

13
submitted 5 months ago by [email protected] to c/[email protected]

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

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

5
submitted 5 months ago by [email protected] to c/[email protected]

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.

2
submitted 9 months ago by [email protected] to c/[email protected]

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

Hi,

I'm helping an NGO that need to renew their Microsoft 365 License...

So we can see the active one under (in admin.microsoft.com )

home\Your product - Product

But no option here to renew, only to contact a previous "Partner" (this option is a no go)

in home\Purchase services\Product details it seem we can buy new licenses...

But their no indication if those licenses will start after the previous one !? If the users assigned to the previous license will receive the new one automatically etc..

Of course I went to the help section, but either it's a FAQ (where my question is not listed... of course...) or it's a link to the partner.. but not directly to Microsoft...

If you have any clue, I'm all ears. :)

view more: next โ€บ

Corsair

joined 9 months ago