4

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

Hi,

I would like to create a LAN where each node need to authenticate before gaining access to the LAN.

and secondly be able to monitor the data consumption of each node and even limit the speed for a node when exceeded.

I'm looking for something FLOSS. For example a single-board computer with a gnu/Linux etc...

Maybe some distribution or solution already exist for this ?

Thanks.

5

Hi,

I would like to create a LAN where each node need to authenticate before gaining access to the LAN.

and secondly be able to monitor the data consumption of each node and even limit the speed for a node when exceeded.

I'm looking for something FLOSS. For example a single-board computer with a gnu/Linux etc...

Maybe some distribution or solution already exist for this ?

Thanks.

13

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

Hi,

I would like to make some simple network simulations

I've tried to make run few (under Linux or Windows)

  • Kathara
  • GNS3
  • EVE-NG (3.1 GB ! to download )
  • omnetpp
  • ns-3
  • Cisco Packet Tracer (Not FLOSS, if I'm not mistaken )

The only one that I managed to install, run and use (set some nodes) was sadly the Cisco Packet Tracer ...

They other have their install process way to much complex or with such layer of dependency or more simply they way the works is too complex (running side VM for each nodes etc..) make it challenging to installing.

Do youn know a FLOSS Network Simulator , this is easy to install ?

Thanks.

19

Hi,

I would like to make some simple network simulations

I've tried to make run few (under Linux or Windows)

  • Kathara
  • GNS3
  • EVE-NG (3.1 GB ! to download )
  • omnetpp
  • ns-3
  • Cisco Packet Tracer (Not FLOSS, if I'm not mistaken )

The only one that I managed to install, run and use (set some nodes) was sadly the Cisco Packet Tracer ...

They other have their install process way to much complex or with such layer of dependency or more simply they way the works is too complex (running side VM for each nodes etc..) make it challenging to installing.

Do youn know a FLOSS Network Simulator , this is easy to install ?

Thanks.

[-] Corsair@programming.dev 1 points 2 months ago* (last edited 2 months 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 2 months ago* (last edited 2 months ago) by Corsair@programming.dev to c/css@programming.dev

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

[-] Corsair@programming.dev 1 points 2 months ago

Thank you @nnullzz@lemmy.world & @bjorney@lemmy.ca & @fubarx@lemmy.ml

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

3

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.

[-] Corsair@programming.dev 2 points 2 months ago

Thank you very much for your feedback @anzo@programming.dev & @rimu@piefed.social

13

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 ?

14
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.

[-] Corsair@programming.dev 2 points 3 months ago

Thanks @pietervdvn@lemmy.ml unfortunatly ikea is quite the opposite of

... ~strong ...

17
submitted 6 months ago by Corsair@programming.dev to c/hardware@lemmy.ml

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.

[-] Corsair@programming.dev 0 points 6 months ago

Thanks @Max_P@lemmy.max-p.me weird because I can use XHR as async.. see: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/open open(method, url, async)

5
submitted 6 months ago* (last edited 6 months ago) by Corsair@programming.dev to c/webdev@programming.dev

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

[-] Corsair@programming.dev 2 points 7 months ago* (last edited 7 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 :)

16
submitted 7 months ago by Corsair@programming.dev to c/linux@lemmy.ml

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

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.

[-] Corsair@programming.dev 1 points 7 months ago

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

[-] Corsair@programming.dev 1 points 7 months ago

Thank you very much @Windex007@lemmy.world , any names for GitHub alternatives ?

[-] Corsair@programming.dev 1 points 7 months ago

Thanks @Lodra@programming.dev ,

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

view more: next โ€บ

Corsair

joined 11 months ago