home.social

#irb — Public Fediverse posts

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

fetched live
  1. Brilliant: I'm working on my Unicode talk… and have a Unicode issue. 🤣 My (up-to-now) trusted #Pry console (for Ruby) gives me

    > '��'.encoding
    => #<Encoding:BINARY (ASCII-8BIT)>

    instead of the expected
    'ä'.encoding
    => #<Encoding:UTF-8>

    (which I DO get in #irb or a plain #Ruby script).

    If you have an idea why this is, please let me know. 🙏🏼 My Google foo isn't good enough, it seems, and asking AI left me moving in circles so far.

  2. Actually Portable Ruby 3.4.7

    One binary that runs on Windows, MacOS, Linux, FreeBSD, and more--across x86_64 and arm64. Includes ruby, irb, and gem. Features the whole language, but doesn't support gems with native extensions (yet?).

    github.com/igravious/cosmoruby

    #ruby #portable #software #programming #macOS #windows #linux #irb #gem #rubygems #cosmopolitan #CrossPlatform #OpenSource

  3. "Gig workers expressed that, after noticing frequent changes on the listing platforms that were made without their consent, they started to see themselves as laboratory rats rather than valued users. Because their messages were blocked by chatbots, they were unable to speak to the platform to complain or opt out of the changes. Frustration flared and apathy set in. Their income and well-being declined.

    This is concerning, not only because of how it affects gig workers, but also because academics are increasingly becoming involved in designing digital experiments. Social scientists follow strict Institutional Review Board (IRB) procedures that govern the ethics of experiments involving people — such as informing them and requiring consent — but these rules don’t apply to technology companies. And that’s leading to questionable practices and potentially unreliable results.

    Technology companies use their terms of service to authorize them to collect data without any obligation to inform people that they were involved, or provide any opportunity for them to withdraw. Thus, digital experimentation faces scant oversight."

    nature.com/articles/d41586-024

    #GigEconomy #GigWork #Research #IRB #DigitalPlatforms #ResearchEthics

  4. bureaucracy - by Dhruv Methi - Midnight Musings

    Link
    📌 Summary: 本文探討組織中產生官僚主義的原因及其後果,強調官僚體系使得實現有意義的產出變得困難,必然消耗大量資源。文中指出,許多組織在設計系統和激勵機制時未能有效連結預期產出,造成過度風險規避和僵化的運作模式。舉例來說,IRB(機構審查委員會)原本設立是為了保護患者,卻最終導致研究進展緩慢,並造成資源浪費。文章最後提出應該重視意圖和效率,促使改變不再局限於官僚的框架內。

    🎯 Key Points:
    - 有意義的產出與資源消耗公式:提升產出或減少資源消耗是組織改善的雙重杠桿。
    - 官僚主義的形成原因:包括惰性及虛幻工作使得組織難以改變。
    - 激勵機制設計不當:過分懲罰錯誤而不獎勵成功,導致風險規避。
    - IRB案例:初衷良好但最終導致研究流程變得繁瑣,影響效能。
    - 系統設計的重要性:清晰的問題陳述、目標指標和持續研究是有效系統的關鍵。

    🔖 Keywords: #官僚主義 #有意義的產出 #激勵機制 #IRB #系統設計

  5. Next important milestone reached for first-in-human implantation of the #CorTec Brain Interchange System as a therapeutic brain-computer interface cortec-neuro.com/press-release #BCI #NeuroTech #IRB #FDA; proceeding to participant recruitment for German BCI.

  6. The @NulliusInVerba episode on ethics review has some interesting parts and is worth listening if you are interested in #ResearchEthics
    nulliusinverba.podbean.com/e/i

    To me several sections sounded like they implied that the ethics committee would "approve" research.

    I would content that this is not the case. I provide below two quotes from @ukrio sources (both interesting reads beside this point).

    How is this in other institutions? In other countries?

    #IRB #ResearchGovernance #ResearchIntergrity

  7. Interestingly, `IRB.conf[:PROMPT] = :SIMPLE` won't change current prompt mode. Instead, I had to use `irb_context.prompt_mode = :SIMPLE`.

    I guess that makes sense? However, for something like `:USE_PAGER` you have to configure it via `IRB.conf[:USE_PAGER]` instead.

    #ruby #irb

  8. IRB really needs official slick demo videos on YouTube and animated gifs in it's README showing off it's auto-completion and other features.
    #irb

  9. Apparently there's a not so small niche of people that use PowerShell on Linux. This makes me wonder whether we could woe them over to using `irb` as their preferred quasi-shell / scripting REPL? `irb` has come a long way and is basically a quasi REPL/editor.
    youtube.com/watch?v=ygD4bj7P7M

    #ruby #irb #powershell

  10. If you are the subject of an experiment, just to "see how it works" or to "gather data" you are still entitled to be asked for informed consent.

    This is basic research ethics 101, and it's not complicated.

    Subjects of an experiment must be offered the choice to participate. Full stop.

    #firefox #privacy #irb #ethics