home.social

#requires — Public Fediverse posts

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

fetched live
  1. Elon Musk's $1 Trillion Pay Package Requires Tesla Stock to Grow Roughly Sixfold to an $8.5 Trillion Market Cap
    atlas.whatip.xyz/post.php?slug
    <p>Elon Musk&#039;s $1 Trillion Pay Package Requires Tesla Stock to Grow Roughly Sixfold to an $8.5
    #trillion #requires #package #tesla

  2. FAA requires mishap investigation into latest Starship launch
    atlas.whatip.xyz/post.php?slug
    <p>The Federal Aviation Administration will require SpaceX to complete an investigation into its latest
    #investigation #starship #requires #federal

  3. FAA requires mishap investigation into latest Starship launch
    atlas.whatip.xyz/post.php?slug
    <p>The Federal Aviation Administration will require SpaceX to complete an investigation into its latest
    #investigation #starship #requires #federal

  4. FAA requires SpaceX-led mishap investigation before resumption of Starship launches
    atlas.whatip.xyz/post.php?slug
    <p>The Federal Aviation Administration made the determination after analyzing the results of Starship
    #investigation #starship #requires #spacex

  5. FAA requires SpaceX-led mishap investigation before resumption of Starship launches
    atlas.whatip.xyz/post.php?slug
    <p>The Federal Aviation Administration made the determination after analyzing the results of Starship
    #investigation #starship #requires #spacex

  6. The Digital Networks Act: a reform that requires strategic attention for satellite operators
    atlas.whatip.xyz/post.php?slug
    <p>Satellite operators seeking EU market access may face a fundamental shift in how spectrum is authorized
    #satellite #operators #networks #requires

  7. The Digital Networks Act: a reform that requires strategic attention for satellite operators
    atlas.whatip.xyz/post.php?slug
    <p>Satellite operators seeking EU market access may face a fundamental shift in how spectrum is authorized
    #satellite #operators #networks #requires

  8. Windows users mostly dislike the command-line. This GUI utility is useful.

    autohotkey.com/

    ```
    #Requires AutoHotkey v2.0

    #SingleInstance Force

    MainGui := Gui("+AlwaysOnTop", "CSV to XLSX Converter")
    MainGui.SetFont("s10", "Segoe UI")

    MainGui.Add("Text",, "Input CSV File:")
    EditFile := MainGui.Add("Edit", "w400 ReadOnly", "No file selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFile)

    MainGui.Add("Text", "xm", "Output Folder:")
    EditDir := MainGui.Add("Edit", "w400 ReadOnly", "No folder selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFolder)

    MainGui.Add("Text", "xm h10", "") ; Spacer
    BtnConvert := MainGui.Add("Button", "xm w100 h40 Default", "Convert Now")
    BtnConvert.OnEvent("Click", RunConversion)

    MainGui.Show()

    SelectFile(*) {
    Selected := FileSelect(3, , "Select your CSV file", "CSV Files (*.csv)")
    if Selected
    EditFile.Value := Selected
    }

    SelectFolder(*) {
    Selected := DirSelect(, 3, "Select the destination folder")
    if Selected
    EditDir.Value := Selected
    }

    RunConversion(*) {
    InputPath := EditFile.Value
    OutputDir := EditDir.Value

    if (InputPath = "No file selected..." || OutputDir = "No folder selected...") {
    MsgBox("Please select both a file and a destination!", "Missing Info", "Icon!")
    return
    }

    FullCommand := 'csv2xlsx.exe -o="' . OutputDir . '\output.xlsx" ' . InputPath

    try {
    RunWait(FullCommand)
    MsgBox("Success! The file has been converted.", "Done", "Iconi")
    } catch {
    MsgBox("Error.", "Execution Failed", "Iconx")
    }
    }
    ```
    #autohotkey #gui #coding

  9. Windows users mostly dislike the command-line. This GUI utility is useful.

    autohotkey.com/

    ```
    #Requires AutoHotkey v2.0

    #SingleInstance Force

    MainGui := Gui("+AlwaysOnTop", "CSV to XLSX Converter")
    MainGui.SetFont("s10", "Segoe UI")

    MainGui.Add("Text",, "Input CSV File:")
    EditFile := MainGui.Add("Edit", "w400 ReadOnly", "No file selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFile)

    MainGui.Add("Text", "xm", "Output Folder:")
    EditDir := MainGui.Add("Edit", "w400 ReadOnly", "No folder selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFolder)

    MainGui.Add("Text", "xm h10", "") ; Spacer
    BtnConvert := MainGui.Add("Button", "xm w100 h40 Default", "Convert Now")
    BtnConvert.OnEvent("Click", RunConversion)

    MainGui.Show()

    SelectFile(*) {
    Selected := FileSelect(3, , "Select your CSV file", "CSV Files (*.csv)")
    if Selected
    EditFile.Value := Selected
    }

    SelectFolder(*) {
    Selected := DirSelect(, 3, "Select the destination folder")
    if Selected
    EditDir.Value := Selected
    }

    RunConversion(*) {
    InputPath := EditFile.Value
    OutputDir := EditDir.Value

    if (InputPath = "No file selected..." || OutputDir = "No folder selected...") {
    MsgBox("Please select both a file and a destination!", "Missing Info", "Icon!")
    return
    }

    FullCommand := 'csv2xlsx.exe -o="' . OutputDir . '\output.xlsx" ' . InputPath

    try {
    RunWait(FullCommand)
    MsgBox("Success! The file has been converted.", "Done", "Iconi")
    } catch {
    MsgBox("Error.", "Execution Failed", "Iconx")
    }
    }
    ```
    #autohotkey #gui #coding

  10. Windows users mostly dislike the command-line. This GUI utility is useful.

    autohotkey.com/

    ```
    #Requires AutoHotkey v2.0

    #SingleInstance Force

    MainGui := Gui("+AlwaysOnTop", "CSV to XLSX Converter")
    MainGui.SetFont("s10", "Segoe UI")

    MainGui.Add("Text",, "Input CSV File:")
    EditFile := MainGui.Add("Edit", "w400 ReadOnly", "No file selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFile)

    MainGui.Add("Text", "xm", "Output Folder:")
    EditDir := MainGui.Add("Edit", "w400 ReadOnly", "No folder selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFolder)

    MainGui.Add("Text", "xm h10", "") ; Spacer
    BtnConvert := MainGui.Add("Button", "xm w100 h40 Default", "Convert Now")
    BtnConvert.OnEvent("Click", RunConversion)

    MainGui.Show()

    SelectFile(*) {
    Selected := FileSelect(3, , "Select your CSV file", "CSV Files (*.csv)")
    if Selected
    EditFile.Value := Selected
    }

    SelectFolder(*) {
    Selected := DirSelect(, 3, "Select the destination folder")
    if Selected
    EditDir.Value := Selected
    }

    RunConversion(*) {
    InputPath := EditFile.Value
    OutputDir := EditDir.Value

    if (InputPath = "No file selected..." || OutputDir = "No folder selected...") {
    MsgBox("Please select both a file and a destination!", "Missing Info", "Icon!")
    return
    }

    FullCommand := 'csv2xlsx.exe -o="' . OutputDir . '\output.xlsx" ' . InputPath

    try {
    RunWait(FullCommand)
    MsgBox("Success! The file has been converted.", "Done", "Iconi")
    } catch {
    MsgBox("Error.", "Execution Failed", "Iconx")
    }
    }
    ```
    #autohotkey #gui #coding

  11. Windows users mostly dislike the command-line. This GUI utility is useful.

    autohotkey.com/

    ```
    #Requires AutoHotkey v2.0

    #SingleInstance Force

    MainGui := Gui("+AlwaysOnTop", "CSV to XLSX Converter")
    MainGui.SetFont("s10", "Segoe UI")

    MainGui.Add("Text",, "Input CSV File:")
    EditFile := MainGui.Add("Edit", "w400 ReadOnly", "No file selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFile)

    MainGui.Add("Text", "xm", "Output Folder:")
    EditDir := MainGui.Add("Edit", "w400 ReadOnly", "No folder selected...")
    MainGui.Add("Button", "x+10 w80", "Browse").OnEvent("Click", SelectFolder)

    MainGui.Add("Text", "xm h10", "") ; Spacer
    BtnConvert := MainGui.Add("Button", "xm w100 h40 Default", "Convert Now")
    BtnConvert.OnEvent("Click", RunConversion)

    MainGui.Show()

    SelectFile(*) {
    Selected := FileSelect(3, , "Select your CSV file", "CSV Files (*.csv)")
    if Selected
    EditFile.Value := Selected
    }

    SelectFolder(*) {
    Selected := DirSelect(, 3, "Select the destination folder")
    if Selected
    EditDir.Value := Selected
    }

    RunConversion(*) {
    InputPath := EditFile.Value
    OutputDir := EditDir.Value

    if (InputPath = "No file selected..." || OutputDir = "No folder selected...") {
    MsgBox("Please select both a file and a destination!", "Missing Info", "Icon!")
    return
    }

    FullCommand := 'csv2xlsx.exe -o="' . OutputDir . '\output.xlsx" ' . InputPath

    try {
    RunWait(FullCommand)
    MsgBox("Success! The file has been converted.", "Done", "Iconi")
    } catch {
    MsgBox("Error.", "Execution Failed", "Iconx")
    }
    }
    ```
    #autohotkey #gui #coding

  12. Keerthy Suresh Weight Loss: How the Actress Lost 9 kilograms Without Crash Diets and Pills | Health

    In 2019, Keerthy lost around 9 kilograms without following any crash diet or pills (Pic credit: Instagram) Actress…
    #NewsBeep #News #US #USA #UnitedStates #UnitedStatesOfAmerica #Fitness #gallata.com #Health #increases #keerthy #keerthysuresh #requires #sexexperts #TimesNow #walkingjoggingswimmingcyclingfitness
    newsbeep.com/us/73981/

  13. Keerthy Suresh Weight Loss: How the Actress Lost 9 kilograms Without Crash Diets and Pills | Health

    In 2019, Keerthy lost around 9 kilograms without following any crash diet or pills (Pic credit: Instagram) Actress…
    #NewsBeep #News #US #USA #UnitedStates #UnitedStatesOfAmerica #Fitness #gallata.com #Health #increases #keerthy #keerthysuresh #requires #sexexperts #TimesNow #walkingjoggingswimmingcyclingfitness
    newsbeep.com/us/73981/

  14. Keerthy Suresh Weight Loss: How the Actress Lost 9 kilograms Without Crash Diets and Pills | Health

    In 2019, Keerthy lost around 9 kilograms without following any crash diet or pills (Pic credit: Instagram) Actress…
    #NewsBeep #News #Fitness #AU #Australia #gallata.com #Health #increases #keerthy #keerthysuresh #requires #sexexperts #TimesNow #walkingjoggingswimmingcyclingfitness
    newsbeep.com/au/59068/

  15. I set up an #AutoHotKey macro to pause/resume #Audacity when recording audio. The pause/break key works wonderfully as a cough button.

    ```
    #Requires AutoHotkey v2.0

    #r:: { ; Windows+R: Record
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x52, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x52, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #s:: { ; Windows+S: Stop/Play
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x20, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x20, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #p::PauseResume() ; Windows+P
    Pause::PauseResume() ; Pause/Break key

    PauseResume() {
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x50, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x50, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }
    ```

  16. I set up an #AutoHotKey macro to pause/resume #Audacity when recording audio. The pause/break key works wonderfully as a cough button.

    ```
    #Requires AutoHotkey v2.0

    #r:: { ; Windows+R: Record
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x52, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x52, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #s:: { ; Windows+S: Stop/Play
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x20, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x20, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #p::PauseResume() ; Windows+P
    Pause::PauseResume() ; Pause/Break key

    PauseResume() {
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x50, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x50, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }
    ```

  17. I set up an #AutoHotKey macro to pause/resume #Audacity when recording audio. The pause/break key works wonderfully as a cough button.

    ```
    #Requires AutoHotkey v2.0

    #r:: { ; Windows+R: Record
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x52, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x52, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #s:: { ; Windows+S: Stop/Play
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x20, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x20, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #p::PauseResume() ; Windows+P
    Pause::PauseResume() ; Pause/Break key

    PauseResume() {
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x50, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x50, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }
    ```

  18. I set up an #AutoHotKey macro to pause/resume #Audacity when recording audio. The pause/break key works wonderfully as a cough button.

    ```
    #Requires AutoHotkey v2.0

    #r:: { ; Windows+R: Record
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x52, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x52, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #s:: { ; Windows+S: Stop/Play
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x20, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x20, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #p::PauseResume() ; Windows+P
    Pause::PauseResume() ; Pause/Break key

    PauseResume() {
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x50, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x50, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }
    ```

  19. I set up an #AutoHotKey macro to pause/resume #Audacity when recording audio. The pause/break key works wonderfully as a cough button.

    ```
    #Requires AutoHotkey v2.0

    #r:: { ; Windows+R: Record
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x52, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x52, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #s:: { ; Windows+S: Stop/Play
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x20, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x20, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }

    #p::PauseResume() ; Windows+P
    Pause::PauseResume() ; Pause/Break key

    PauseResume() {
    if WinExist("ahk_exe audacity.exe") {
    hwnd := WinExist("ahk_exe audacity.exe") ; Get the Audacity window handle
    if hwnd {
    PostMessage(0x100, 0x50, 0, , hwnd) ; WM_KEYDOWN message for Space key
    PostMessage(0x101, 0x50, 0, , hwnd) ; WM_KEYUP message for Space key
    }
    }
    }
    ```

  20. Switzerland federal government #requires releasing its software as #open #source
    The United States remains reluctant to work with open source, but European countries are bolder

    zdnet.com/article/switzerland-

  21. Switzerland federal government #requires releasing its software as #open #source
    The United States remains reluctant to work with open source, but European countries are bolder

    zdnet.com/article/switzerland-

  22. Switzerland federal government #requires releasing its software as #open #source
    The United States remains reluctant to work with open source, but European countries are bolder

    zdnet.com/article/switzerland-

  23. Switzerland federal government #requires releasing its software as #open #source
    The United States remains reluctant to work with open source, but European countries are bolder

    zdnet.com/article/switzerland-

  24. Switzerland federal government #requires releasing its software as #open #source
    The United States remains reluctant to work with open source, but European countries are bolder

    zdnet.com/article/switzerland-

  25. AutoHotKeyv2 script to use ctrl-space to toggle `mpv` to be always on top:

    #Requires AutoHotkey v2.0
    SetTitleMatchMode(2) ;
    ^space:: WinSetAlwaysOnTop -1, "mpv"

    (TitleMatchMode = 2 means match anywhere in the window's title)

    #windows #autohotkey

  26. CW: Оголошення обмежень після класу/структури в C++

    У C++20 зʼявились концепти й обмеження для функцій, класів/структур та інших шаблонів. Для функцій та методів вимоги можна вказувати після оголошення шаблону або після функції.

    template<typename T>
        requires ...
    T f() {}
    
    template<typename T>
    T f() requires ... {}
    

    Якщо не шаблонний метод у шаблоні класу потребує додаткових вимог їх можна вказати після оголошення методу.

    template<typename T>
    class S {
        T f() requires integer<T> {}
    };
    

    У такому випадку клас може згенеруватись з будь-яким типом, але це метод буде присутній тільки якщо шаблонний тип відповідає вимогам.

    Але іноді може знадобитись використати поточний клас у вимогах. Наприклад при CRTP.

    template<typename D>
    class Base requires std::derived_from<D, Base> {...};
    

    На жаль зараз такого немає.

    #cpp #cxx #cpp20 #concepts #constrains #requires #class #template #struct #CRTP #proposal #програмування #шаблони #вимоги #обмеження #пропозиція