home.social

#condition — Public Fediverse posts

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

  1. The electronics/logic behind "while(1)" and "for(;;)

    Up until recently, have been trying to validate user input by writing lengthy if-statetments nested in while-loops. I usually have the while-loop check that the function that takes input - for instance getchar() - is not EOF and the if-statement checking whether input is of the desired data type and/or size. But then I noticed people doing something similar with infinite loops while(1) and for(;;).

    While I understand that these loops are infinite because there is no condition to check against in for(;;) and because the condition is always true in while(1), I wonder if there is a more pedagogical (?) way of expressing the same thing. Like a proof of concept, or like what’s going on at the electronic/logic level, if one were to draw this on a schematic with logic gates.

    Or am I perhaps overthinking it and there is “simply” a signal/transistor somewhere that is always on/1/true/has the approproate votlage? Feels like “fooling” the machine by writing while(1) or for (;;) ….

  2. The Police Union (GdP) has raised a serious alarm regarding the dilapidated state of federal police installations and is pressing Federal Interior Minister Alex... news.osna.fm/?p=47727 | #news #action #condition #demands #federal

  3. The Police Union (GdP) has raised a serious alarm regarding the dilapidated state of federal police installations and is pressing Federal Interior Minister Alex... news.osna.fm/?p=47727 | #news #action #condition #demands #federal

  4. The Police Union (GdP) has raised a serious alarm regarding the dilapidated state of federal police installations and is pressing Federal Interior Minister Alex... news.osna.fm/?p=47727 | #news #action #condition #demands #federal

  5. The Police Union (GdP) has raised a serious alarm regarding the dilapidated state of federal police installations and is pressing Federal Interior Minister Alex... news.osna.fm/?p=47727 | #news #action #condition #demands #federal

  6. Cat Food Market in Germany | Report – IndexBox

    Germany Cat Food Market 2026 Analysis and Forecast to 2035 Executive Summary Key Findings Germany’s cat food market,…
    #Germany #DE #Europe #EU #Europa #catfood #Cold-press #Condition-specificnutrition #consumergoodsmarketreport #Dailyfeeding #Extrusion(kibble) #forecast #Freeze-drying #Hydrationsupport #marketanalysis #Retortprocessing(wetfood) #Training/rewarding
    europesays.com/germany/12464/

  7. Dog attack in central Spain leaves 22-month-old girl in critical condition

    Thursday, 23 April 2026, 14:30 Blanca, a young girl of only 22 months, remains hospitalised in critical condition…
    #Spain #ES #Europe #Europa #EU #22monthold #after #attacked #being #condition #dog #girl #reina #serious #talavera #very
    europesays.com/spain/10324/

  8. Ruby has a peculiarity: when you define a variable in a conditional expression (if / unless / case / ternary if), it becomes visible from then on.
    It's as if it was assigned nil before the conditional expression, and you don't need to explicitly declare it.
    But if you define a variable in a block, it is defined in the local scope and is no longer visible outside the block.

    #Ruby #Condition #ControlExpressions #If #Block #VariableDefenition #VariableScope

  9. What to know about rescue of a U.S. aviator shot down in Iran

    JERUSALEM — President Trump announced early Sunday that the U.S. had rescued an aviator nearly two days after he was…
    #Conflict #Conflicts #War #%earlysunday #aircraft #airman #condition #enemyline #franticsearch #Friday #Iran #official #operation #presidenttrump #rescue #secondcrewmember #U.S. #u.s.aviator
    europesays.com/2898413/

  10. When she was 17, she noticed the lump on the right side of her neck. For several more years, the #tumor didn't grow, and her #condition remained stable, but then she had a #baby and the tumor doubled in size in just two months.

  11. Gulf kingdom of Bahrain cracks down on dissent as Iran war reignites internal unrest

    A man detained in Bahrain last month as the island kingdom came under missile attack from Iran vanished…
    #NewsBeep #News #BreakingNews #al-mousawi #ap #authority #bahrain #body #breakingnews #condition #Death #family #Government #image #InteriorMinistry #Iran #iranwar #people #strike #U.S.Navy
    newsbeep.com/466932/

  12. As U.S. threatens, Cubans look ahead, with hope and trepidation

    HAVANA — Yenisey Taboada’s small apartment on the outskirts of Havana is filled with photos of her imprisoned son. Duannis…
    #Conflict #Conflicts #War #authoritarianleader #condition #Cuba #cubanpeople #cubans #decade #duannis #havana #hope #NicolásMaduro #U.S. #Venezuela #year #yeniseytaboada
    europesays.com/2880874/

  13. my #energy is very low to cope with everyday life.
    never be #ashamed of your #condition.
    you don't have to be "more", you are enough by the fact that you live.
    it's hard, it's not fair, but in life itself there is #hope.
    sometimes hope is silent, sometimes it's so silent that you don't even recognize it.
    but hope will always be there, just like you.
    and that's enough.
    you are #enough

    #depression #depressionen #stuck #depressed #depressive #DepressionAwareness #depressing
    #lonely #loneliness

  14. my #energy is very low to cope with everyday life.
    never be #ashamed of your #condition.
    you don't have to be "more", you are enough by the fact that you live.
    it's hard, it's not fair, but in life itself there is #hope.
    sometimes hope is silent, sometimes it's so silent that you don't even recognize it.
    but hope will always be there, just like you.
    and that's enough.
    you are #enough

    #depression #depressionen #stuck #depressed #depressive #DepressionAwareness #depressing
    #lonely #loneliness

  15. my #energy is very low to cope with everyday life.
    never be #ashamed of your #condition.
    you don't have to be "more", you are enough by the fact that you live.
    it's hard, it's not fair, but in life itself there is #hope.
    sometimes hope is silent, sometimes it's so silent that you don't even recognize it.
    but hope will always be there, just like you.
    and that's enough.
    you are #enough

    #depression #depressionen #stuck #depressed #depressive #DepressionAwareness #depressing
    #lonely #loneliness

  16. my #energy is very low to cope with everyday life.
    never be #ashamed of your #condition.
    you don't have to be "more", you are enough by the fact that you live.
    it's hard, it's not fair, but in life itself there is #hope.
    sometimes hope is silent, sometimes it's so silent that you don't even recognize it.
    but hope will always be there, just like you.
    and that's enough.
    you are #enough

    #depression #depressionen #stuck #depressed #depressive #DepressionAwareness #depressing
    #lonely #loneliness