home.social

#overloading — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #overloading, aggregated by home.social.

  1. Polymorphismus klingt irgendwie erstmal nach einem Wort aus dem Biologieunterricht oder nach einem mathematischen Konstrukt. In Java steckt dahinter aber etwas sehr Praktisches: Du schreibst Code, der mit verschiedenen konkreten Klassen arbeiten kann, ohne dass du überall Sonderfälle einbaust. Das

    magicmarcy.de/overriding-vs-ov

    #Overriding #Overloading #Polymorphismus #Java #Programming #Instanz #Typ #Bindung #Kopplung #instanceof

  2. Polymorphismus klingt irgendwie erstmal nach einem Wort aus dem Biologieunterricht oder nach einem mathematischen Konstrukt. In Java steckt dahinter aber etwas sehr Praktisches: Du schreibst Code, der mit verschiedenen konkreten Klassen arbeiten kann, ohne dass du überall Sonderfälle einbaust. Das

    magicmarcy.de/overriding-vs-ov

    #Overriding #Overloading #Polymorphismus #Java #Programming #Instanz #Typ #Bindung #Kopplung #instanceof

  3. Polymorphismus klingt irgendwie erstmal nach einem Wort aus dem Biologieunterricht oder nach einem mathematischen Konstrukt. In Java steckt dahinter aber etwas sehr Praktisches: Du schreibst Code, der mit verschiedenen konkreten Klassen arbeiten kann, ohne dass du überall Sonderfälle einbaust. Das

    magicmarcy.de/overriding-vs-ov

    #Overriding #Overloading #Polymorphismus #Java #Programming #Instanz #Typ #Bindung #Kopplung #instanceof

  4. Polymorphismus klingt irgendwie erstmal nach einem Wort aus dem Biologieunterricht oder nach einem mathematischen Konstrukt. In Java steckt dahinter aber etwas sehr Praktisches: Du schreibst Code, der mit verschiedenen konkreten Klassen arbeiten kann, ohne dass du überall Sonderfälle einbaust. Das

    magicmarcy.de/overriding-vs-ov

    #Overriding #Overloading #Polymorphismus #Java #Programming #Instanz #Typ #Bindung #Kopplung #instanceof

  5. Roads cutting through mountain ranges and waterfalls
    Do they cause landslides and reactivate old ones?

    Temporary fix for Waterfall Way at Gordonville slip site
    "Waterfall Way has reopened between Bellingen and Dorrigo after temporary repairs to the Gordonville slip site. The temporary fix consists of a gravel filled shipping container wall, two containers high and eight containers long, attached to the rockface using nine high-strength steel anchors drilled deep into the rockface." >>
    insidelocalgovernment.com.au/t

    Video of landslide: Waterfall Way, Gordonville Crossing Landslip >>
    youtube.com/watch?v=ZGymAVc1u8g

    Do roads mean landslides are more likely? >>
    blogs.egu.eu/geolog/2015/01/16

    Could road constructions be more hazardous than an earthquake in terms of mass movement?

    "In this study, we report a distinct correlation of mass movements and major road constructions that explicitly shows human impact on mountainous environments which are under anthropogenic disturbance recently. Our results further suggest that slope instabilities increased drastically after major service road constructions for hydroelectric power plants and as well as other road extension works."

    "We also stress that the impact of road construction can disturb the natural slope equilibrium to an extent comparable with moderate (larger than 6 Mw) earthquakes."

    "Such an observation implies that human activities can have a large, if not even dominant, impact on landscape evolution and the natural regime of surface processes. This is part of the definition of “Anthropocene,” an age where our society shapes nature for our purposes, frequently at the risk of damaging ourselves."
    link.springer.com/article/10.1

    Image: Sisyphus, Franz von Stuck, 1920

    #roads #WaterFallWay #mountains #ecosystem #denudation #overloading #waterfalls #Bellingenshire #Dorrigo #landslides #landslips #infrastructure #cars #engineering #Sisyphus #mindsets #Anthropocene

  6. Roads cutting through mountain ranges and waterfalls
    Do they cause landslides and reactivate old ones?

    Temporary fix for Waterfall Way at Gordonville slip site
    "Waterfall Way has reopened between Bellingen and Dorrigo after temporary repairs to the Gordonville slip site. The temporary fix consists of a gravel filled shipping container wall, two containers high and eight containers long, attached to the rockface using nine high-strength steel anchors drilled deep into the rockface." >>
    insidelocalgovernment.com.au/t

    Video of landslide: Waterfall Way, Gordonville Crossing Landslip >>
    youtube.com/watch?v=ZGymAVc1u8g

    Do roads mean landslides are more likely? >>
    blogs.egu.eu/geolog/2015/01/16

    Could road constructions be more hazardous than an earthquake in terms of mass movement?

    "In this study, we report a distinct correlation of mass movements and major road constructions that explicitly shows human impact on mountainous environments which are under anthropogenic disturbance recently. Our results further suggest that slope instabilities increased drastically after major service road constructions for hydroelectric power plants and as well as other road extension works."

    "We also stress that the impact of road construction can disturb the natural slope equilibrium to an extent comparable with moderate (larger than 6 Mw) earthquakes."

    "Such an observation implies that human activities can have a large, if not even dominant, impact on landscape evolution and the natural regime of surface processes. This is part of the definition of “Anthropocene,” an age where our society shapes nature for our purposes, frequently at the risk of damaging ourselves."
    link.springer.com/article/10.1

    Image: Sisyphus, Franz von Stuck, 1920

    #roads #WaterFallWay #mountains #ecosystem #denudation #overloading #waterfalls #Bellingenshire #Dorrigo #landslides #landslips #infrastructure #cars #engineering #Sisyphus #mindsets #Anthropocene

  7. Roads cutting through mountain ranges and waterfalls
    Do they cause landslides and reactivate old ones?

    Temporary fix for Waterfall Way at Gordonville slip site
    "Waterfall Way has reopened between Bellingen and Dorrigo after temporary repairs to the Gordonville slip site. The temporary fix consists of a gravel filled shipping container wall, two containers high and eight containers long, attached to the rockface using nine high-strength steel anchors drilled deep into the rockface." >>
    insidelocalgovernment.com.au/t

    Video of landslide: Waterfall Way, Gordonville Crossing Landslip >>
    youtube.com/watch?v=ZGymAVc1u8g

    Do roads mean landslides are more likely? >>
    blogs.egu.eu/geolog/2015/01/16

    Could road constructions be more hazardous than an earthquake in terms of mass movement?

    "In this study, we report a distinct correlation of mass movements and major road constructions that explicitly shows human impact on mountainous environments which are under anthropogenic disturbance recently. Our results further suggest that slope instabilities increased drastically after major service road constructions for hydroelectric power plants and as well as other road extension works."

    "We also stress that the impact of road construction can disturb the natural slope equilibrium to an extent comparable with moderate (larger than 6 Mw) earthquakes."

    "Such an observation implies that human activities can have a large, if not even dominant, impact on landscape evolution and the natural regime of surface processes. This is part of the definition of “Anthropocene,” an age where our society shapes nature for our purposes, frequently at the risk of damaging ourselves."
    link.springer.com/article/10.1

    Image: Sisyphus, Franz von Stuck, 1920

    #roads #WaterFallWay #mountains #ecosystem #denudation #overloading #waterfalls #Bellingenshire #Dorrigo #landslides #landslips #infrastructure #cars #engineering #Sisyphus #mindsets #Anthropocene

  8. Roads cutting through mountain ranges and waterfalls
    Do they cause landslides and reactivate old ones?

    Temporary fix for Waterfall Way at Gordonville slip site
    "Waterfall Way has reopened between Bellingen and Dorrigo after temporary repairs to the Gordonville slip site. The temporary fix consists of a gravel filled shipping container wall, two containers high and eight containers long, attached to the rockface using nine high-strength steel anchors drilled deep into the rockface." >>
    insidelocalgovernment.com.au/t

    Video of landslide: Waterfall Way, Gordonville Crossing Landslip >>
    youtube.com/watch?v=ZGymAVc1u8g

    Do roads mean landslides are more likely? >>
    blogs.egu.eu/geolog/2015/01/16

    Could road constructions be more hazardous than an earthquake in terms of mass movement?

    "In this study, we report a distinct correlation of mass movements and major road constructions that explicitly shows human impact on mountainous environments which are under anthropogenic disturbance recently. Our results further suggest that slope instabilities increased drastically after major service road constructions for hydroelectric power plants and as well as other road extension works."

    "We also stress that the impact of road construction can disturb the natural slope equilibrium to an extent comparable with moderate (larger than 6 Mw) earthquakes."

    "Such an observation implies that human activities can have a large, if not even dominant, impact on landscape evolution and the natural regime of surface processes. This is part of the definition of “Anthropocene,” an age where our society shapes nature for our purposes, frequently at the risk of damaging ourselves."
    link.springer.com/article/10.1

    Image: Sisyphus, Franz von Stuck, 1920

    #roads #WaterFallWay #mountains #ecosystem #denudation #overloading #waterfalls #Bellingenshire #Dorrigo #landslides #landslips #infrastructure #cars #engineering #Sisyphus #mindsets #Anthropocene

  9. Roads cutting through mountain ranges and waterfalls
    Do they cause landslides and reactivate old ones?

    Temporary fix for Waterfall Way at Gordonville slip site
    "Waterfall Way has reopened between Bellingen and Dorrigo after temporary repairs to the Gordonville slip site. The temporary fix consists of a gravel filled shipping container wall, two containers high and eight containers long, attached to the rockface using nine high-strength steel anchors drilled deep into the rockface." >>
    insidelocalgovernment.com.au/t

    Video of landslide: Waterfall Way, Gordonville Crossing Landslip >>
    youtube.com/watch?v=ZGymAVc1u8g

    Do roads mean landslides are more likely? >>
    blogs.egu.eu/geolog/2015/01/16

    Could road constructions be more hazardous than an earthquake in terms of mass movement?

    "In this study, we report a distinct correlation of mass movements and major road constructions that explicitly shows human impact on mountainous environments which are under anthropogenic disturbance recently. Our results further suggest that slope instabilities increased drastically after major service road constructions for hydroelectric power plants and as well as other road extension works."

    "We also stress that the impact of road construction can disturb the natural slope equilibrium to an extent comparable with moderate (larger than 6 Mw) earthquakes."

    "Such an observation implies that human activities can have a large, if not even dominant, impact on landscape evolution and the natural regime of surface processes. This is part of the definition of “Anthropocene,” an age where our society shapes nature for our purposes, frequently at the risk of damaging ourselves."
    link.springer.com/article/10.1

    Image: Sisyphus, Franz von Stuck, 1920

    #roads #WaterFallWay #mountains #ecosystem #denudation #overloading #waterfalls #Bellingenshire #Dorrigo #landslides #landslips #infrastructure #cars #engineering #Sisyphus #mindsets #Anthropocene

  10. Der Landesbeauftragte für #Datenschutz und Informationsfreiheit Baden-Württemberg @lfdi hat ein umfangreiches FAQ zu Deceptive Design Patterns auf #SocialMedia-Plattformen veröffentlicht, das u. a. erklärt, welche #DSGVO-Vorgaben einschlägig sind:
    baden-wuerttemberg.datenschutz

    #Overloading #Skipping #Stirring #Obstructing #Fickle #LeftInTheDark

  11. Der Landesbeauftragte für #Datenschutz und Informationsfreiheit Baden-Württemberg @lfdi hat ein umfangreiches FAQ zu Deceptive Design Patterns auf #SocialMedia-Plattformen veröffentlicht, das u. a. erklärt, welche #DSGVO-Vorgaben einschlägig sind:
    baden-wuerttemberg.datenschutz

    #Overloading #Skipping #Stirring #Obstructing #Fickle #LeftInTheDark

  12. Der Landesbeauftragte für #Datenschutz und Informationsfreiheit Baden-Württemberg @lfdi hat ein umfangreiches FAQ zu Deceptive Design Patterns auf #SocialMedia-Plattformen veröffentlicht, das u. a. erklärt, welche #DSGVO-Vorgaben einschlägig sind:
    baden-wuerttemberg.datenschutz

    #Overloading #Skipping #Stirring #Obstructing #Fickle #LeftInTheDark

  13. Der Landesbeauftragte für #Datenschutz und Informationsfreiheit Baden-Württemberg @lfdi hat ein umfangreiches FAQ zu Deceptive Design Patterns auf #SocialMedia-Plattformen veröffentlicht, das u. a. erklärt, welche #DSGVO-Vorgaben einschlägig sind:
    baden-wuerttemberg.datenschutz

    #Overloading #Skipping #Stirring #Obstructing #Fickle #LeftInTheDark

  14. Der Landesbeauftragte für #Datenschutz und Informationsfreiheit Baden-Württemberg @lfdi hat ein umfangreiches FAQ zu Deceptive Design Patterns auf #SocialMedia-Plattformen veröffentlicht, das u. a. erklärt, welche #DSGVO-Vorgaben einschlägig sind:
    baden-wuerttemberg.datenschutz

    #Overloading #Skipping #Stirring #Obstructing #Fickle #LeftInTheDark

  15. #MeisterKonfus sagt, dass eine ständige #Überlast und/oder #Unterlast anstelle eines kontinuierlichen Flusses ein guter Weg ist, die #Verschwendung zu maximieren. Achte also immer darauf, dass kein kontinuierlicher Fluss entstehen kann. #Flow

    #Konfus says that constant #overloading and/or #underloading instead of a continuous flow is a good way to maximise #waste. So always make sure that there is no #continuousflow.

  16. #MeisterKonfus sagt, dass eine ständige #Überlast und/oder #Unterlast anstelle eines kontinuierlichen Flusses ein guter Weg ist, die #Verschwendung zu maximieren. Achte also immer darauf, dass kein kontinuierlicher Fluss entstehen kann. #Flow

    #Konfus says that constant #overloading and/or #underloading instead of a continuous flow is a good way to maximise #waste. So always make sure that there is no #continuousflow.

  17. #MeisterKonfus sagt, dass eine ständige #Überlast und/oder #Unterlast anstelle eines kontinuierlichen Flusses ein guter Weg ist, die #Verschwendung zu maximieren. Achte also immer darauf, dass kein kontinuierlicher Fluss entstehen kann. #Flow

    #Konfus says that constant #overloading and/or #underloading instead of a continuous flow is a good way to maximise #waste. So always make sure that there is no #continuousflow.

  18. #MeisterKonfus sagt, dass eine ständige #Überlast und/oder #Unterlast anstelle eines kontinuierlichen Flusses ein guter Weg ist, die #Verschwendung zu maximieren. Achte also immer darauf, dass kein kontinuierlicher Fluss entstehen kann. #Flow

    #Konfus says that constant #overloading and/or #underloading instead of a continuous flow is a good way to maximise #waste. So always make sure that there is no #continuousflow.

  19. #MeisterKonfus sagt, dass eine ständige #Überlast und/oder #Unterlast anstelle eines kontinuierlichen Flusses ein guter Weg ist, die #Verschwendung zu maximieren. Achte also immer darauf, dass kein kontinuierlicher Fluss entstehen kann. #Flow

    #Konfus says that constant #overloading and/or #underloading instead of a continuous flow is a good way to maximise #waste. So always make sure that there is no #continuousflow.

  20. Thanks to all who contributed. I created 4 implementations based on this conversation:

    1. A 2-arg function with branches on isinstance
    2. A function with class-pattern matching on arg pack
    3. Many functions using singledispatch
    4. Many functions using multipledispatch [does not work in CE due to missing module]

    The 4th one looks cleanest and is closest to C++, Java overloading. Don't know about performance.

    Thanks again, comments welcome. 🙏

    sigcpp.godbolt.org/z/bvP5547WG

    #python #overloading

  21. Thanks to all who contributed. I created 4 implementations based on this conversation:

    1. A 2-arg function with branches on isinstance
    2. A function with class-pattern matching on arg pack
    3. Many functions using singledispatch
    4. Many functions using multipledispatch [does not work in CE due to missing module]

    The 4th one looks cleanest and is closest to C++, Java overloading. Don't know about performance.

    Thanks again, comments welcome. 🙏

    sigcpp.godbolt.org/z/bvP5547WG

    #python #overloading

  22. Thanks to all who contributed. I created 4 implementations based on this conversation:

    1. A 2-arg function with branches on isinstance
    2. A function with class-pattern matching on arg pack
    3. Many functions using singledispatch
    4. Many functions using multipledispatch [does not work in CE due to missing module]

    The 4th one looks cleanest and is closest to C++, Java overloading. Don't know about performance.

    Thanks again, comments welcome. 🙏

    sigcpp.godbolt.org/z/bvP5547WG

  23. Thanks to all who contributed. I created 4 implementations based on this conversation:

    1. A 2-arg function with branches on isinstance
    2. A function with class-pattern matching on arg pack
    3. Many functions using singledispatch
    4. Many functions using multipledispatch [does not work in CE due to missing module]

    The 4th one looks cleanest and is closest to C++, Java overloading. Don't know about performance.

    Thanks again, comments welcome. 🙏

    sigcpp.godbolt.org/z/bvP5547WG

    #python #overloading

  24. Thanks to all who contributed. I created 4 implementations based on this conversation:

    1. A 2-arg function with branches on isinstance
    2. A function with class-pattern matching on arg pack
    3. Many functions using singledispatch
    4. Many functions using multipledispatch [does not work in CE due to missing module]

    The 4th one looks cleanest and is closest to C++, Java overloading. Don't know about performance.

    Thanks again, comments welcome. 🙏

    sigcpp.godbolt.org/z/bvP5547WG

    #python #overloading

  25. Pythonistas, how does one **sanely** implement the following function interface?

    f(float) -> int
    f(str) -> str
    f(int, str) -> int
    f(list, float) -> str

    My Python is 1/10. So, link to a solution (sketch) would be immensely helpful. 🙏

    PS:
    - Return types don't really matter but I show it for completeness
    - setting aside questions like "why this interface?"
    - omitted saying "overload" to avoid "can't really overload" responses, but there I said it. 😆

    #question #python #overloading

  26. Pythonistas, how does one **sanely** implement the following function interface?

    f(float) -> int
    f(str) -> str
    f(int, str) -> int
    f(list, float) -> str

    My Python is 1/10. So, link to a solution (sketch) would be immensely helpful. 🙏

    PS:
    - Return types don't really matter but I show it for completeness
    - setting aside questions like "why this interface?"
    - omitted saying "overload" to avoid "can't really overload" responses, but there I said it. 😆

    #question #python #overloading

  27. Pythonistas, how does one **sanely** implement the following function interface?

    f(float) -> int
    f(str) -> str
    f(int, str) -> int
    f(list, float) -> str

    My Python is 1/10. So, link to a solution (sketch) would be immensely helpful. 🙏

    PS:
    - Return types don't really matter but I show it for completeness
    - setting aside questions like "why this interface?"
    - omitted saying "overload" to avoid "can't really overload" responses, but there I said it. 😆

  28. Pythonistas, how does one **sanely** implement the following function interface?

    f(float) -> int
    f(str) -> str
    f(int, str) -> int
    f(list, float) -> str

    My Python is 1/10. So, link to a solution (sketch) would be immensely helpful. 🙏

    PS:
    - Return types don't really matter but I show it for completeness
    - setting aside questions like "why this interface?"
    - omitted saying "overload" to avoid "can't really overload" responses, but there I said it. 😆

    #question #python #overloading

  29. Pythonistas, how does one **sanely** implement the following function interface?

    f(float) -> int
    f(str) -> str
    f(int, str) -> int
    f(list, float) -> str

    My Python is 1/10. So, link to a solution (sketch) would be immensely helpful. 🙏

    PS:
    - Return types don't really matter but I show it for completeness
    - setting aside questions like "why this interface?"
    - omitted saying "overload" to avoid "can't really overload" responses, but there I said it. 😆

    #question #python #overloading

  30. An overloaded battery 😁

    I know it's not good, but I have no choice. Our national grid can distribute electricity only one hour per day to every household in my village. It could be worse or even completely cut off in the near future as the government is running out of budget.

    I'm using a 40 AH lead acid battery with a 60W solar panel. I can use my laptop whole day, charge my phone and light at night with my setup. We're forced to go green 😁