Hacker GitHub

← All repos

mimemagicrb/mimemagic

View on GitHub ↗ ★ 427 Ruby

Mime type detection in ruby via file extension or file content

14 mentions on Hacker News by 13 people: 3 stories, 11 comments · first 2020-03-20 · latest 2024-02-16

Mentions per year 14 mentions · busiest year 2021 (12)
20082026
  1. …back in the day. Still used magic bytes, but added an overlay on top of the freedesktop.org DB: https://github.com/mimemagicrb/mimemagic/pull/20
  2. …in cheek, but this one has been reinforced lately by the "MIME Magic" debacle[1], mama mia. [1] https://github.com/mimemagicrb/mimemagic/issues/98
    comment by jdsalaro · 2021-04-08 · in Perfect Motherfucking Website
  3. ▲ 1
    Minemagic looks to have broken a few CIs
    story by morphicpro · 2021-03-25 · 0 comments
  4. Not so fast in that claim. First of all the infringing file is https://github.com/minad/mimemagic/blob/master/script/freede... . Sure, it is in XML. But it contains a tremendous amount of free-form text, specific sets of pattern matching…
    comment by btilly · 2021-03-24 · in Removed gem breaks Rails ActiveStorage
  5. …> At least that's how we'd (try to) handle it on our project under Eclipse Foundation… Looking at https://github.com/minad/mimemagic , I did not get the impression that the software was backed by any organization, let alone one on the…
    comment by CaliforniaKarl · 2021-03-24 · in Removed gem breaks Rails ActiveStorage
  6. …carefully first? It's not like a lawsuit was threatened or something. The original request in https://github.com/minad/mimemagic/issues/97 that you linked to was very polite and professional. 1) A time extension to remove the GPLed code…
    comment by smarx007 · 2021-03-24 · in Removed gem breaks Rails ActiveStorage
  7. IANAL but it explicitly states it is derivative from the XML file: https://github.com/minad/mimemagic/blob/master/lib/mimemagic...
    comment by imhoguy · 2021-03-24 · in Removed gem breaks Rails ActiveStorage
  8. …It's just a description of other software's conventions using the GPLed source as a reference: https://github.com/minad/mimemagic/blob/master/lib/mimemagic... To create a non-GPL version, you would have to do what? Research extensions…
  9. TL;DR This unfortunate chain of events is rooted in licensing violation: https://github.com/minad/mimemagic/issues/97 Mimemagic got its MIME tables source generated from `freedesktop.org.xml` file, which is licensed under GPL2, and the…
    comment by imhoguy · 2021-03-24 · in Removed gem breaks Rails ActiveStorage
  10. The reason this is happening is not obvious without reading https://github.com/minad/mimemagic/issues/97 > I've historically been the maintainer of shared-mime-info for around 15 years, and script/freedesktop.org.xml looks like it's a copy…
    comment by wokwokwok · 2021-03-24 · in Removed gem breaks Rails ActiveStorage
  11. Why the github repo https://github.com/minad/mimemagic is archived ?
  12. ▲ 9
    Mimemagic Is Now GPLv2
    story by pskinner · 2021-03-24 · 0 comments
  13. ▲ 16
    Mimemagic gem yank disrupts Rails installations
    story by jjgreen · 2021-03-24 · 5 comments
  14. Allowing %PDF anywhere also leads to false positives. https://github.com/minad/mimemagic/issues/4 https://github.com/minad/mimemagic/issues?q=is%3Aissue+is%3A...
    comment by bronson · 2020-03-20 · in What is the smallest possible valid PDF?