Hi, I would like to assign different subnet to devices connecting to my switch/router Mikrotik (RouterOS v6.40). To avoid devices connected on subnet 1 to reach devices on subnet 2 and moreover to disable access to the WWW on one of those two subnet ![diagram](https://programming.dev/pictrs/image/a5fb7b60-ffd9-4d13-84d8-6c201edfa56c.png) Is it possible with `RouterOS` to set the DHCP server to lease two set of ip (subnet) base on a Whitelist, meaning if a device is on the white list it get subnet1 if not subnet2 ? Or do you have more practical solutions ? Thanks.

9
7

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 ](https://en.wikipedia.org/wiki/Free/libre_and_open-source_software) Network Simulator , this is easy to install ? > > Thanks.

11
1

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 ](https://en.wikipedia.org/wiki/Free/libre_and_open-source_software) Network Simulator , this is easy to install ? Thanks.

16
4
`background-attachment: fixed` still scroll :'( [ workaround ]
  • Corsair Corsair Now 100%

    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 ;)

    1
  • Hi everyone, I would like one of my `div` to have an [background-attachment: fixed](https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment#fixed) But the background still scroll 😤 This div is under `html body div div div div div` and it CSS properties are ```css #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

    10
    2
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMI
    Jump
    Where to start with Microcontroller and Python ?
  • Corsair Corsair Now 100%

    Thank you @TheOneCurly@lemm.ee & @fart_pickle@lemmy.world for those explanations ! So as I have my hand on a raspberry , I will give a shot with that first :)

    3
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMI
    microcontrollers Corsair Now 100%
    Where to start with Microcontroller and Python ?

    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 ](https://vscodium.com)\ > What is **MicroPython** Vs **CircuitPython** ? > > If you have any resources I'm all eras. > > Thanks.

    4
    3
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearMI
    Microcontrollers Corsair Now 100%
    Where to start with Microcontroller and Python ?

    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 ](https://vscodium.com)\ What is **MicroPython** Vs **CircuitPython** ? If you have any resources I'm all eras. Thanks.

    2
    1
    Quart Vs Flask
  • Corsair Corsair Now 100%

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

    2
  • 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 ? ![](https://programming.dev/pictrs/image/b50eb675-19c4-4a51-b751-32f91adddcdb.jpeg)

    14
    5

    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.

    12
    3
    Searching for a server rack / safe / vault...
  • Corsair Corsair Now 100%

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

    ... ~strong ...

    2
  • Hi, I'm looking for a ~strong cabinet with some shelves where I could install some IT equipment mostly Single-board computer, DIY [NAS](https://en.wikipedia.org/wiki/Network-attached_storage) 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.

    17
    5
    XMLHttpRequest (XHR) Vs Fetch API
  • Corsair Corsair Now 50%

    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)

    0
  • 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

    2
    2

    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 ::: spoiler cross-posted on https://lemmy.world/post/14707833 :::

    3
    5
    Virtual machine pass data between host and VM ?
  • Corsair Corsair Now 100%

    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 :)

    2
  • 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)

    16
    11

    Hi, Following my previous post [where quickly share code ?](https://programming.dev/post/11393888) 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.

    13
    3
    where quickly share code ?
  • Corsair Corsair Now 100%

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

    1
  • where quickly share code ?
  • Corsair Corsair Now 100%

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

    1
  • where quickly share code ?
  • Corsair Corsair Now 100%

    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

    1
  • 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.

    5
    13
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearWI
    Renew Microsoft 365 Licenses.. ( Without passing trough a "Partner" )

    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** ![](https://programming.dev/pictrs/image/a821549e-f424-45e8-be37-d6f27041e397.png) 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... ![](https://programming.dev/pictrs/image/8398cf63-af22-4fd9-9e61-52e9cad0b896.png) 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. :)

    1
    0
    Corsair Now
    15 9

    Corsair

    programming.dev