• chevron_right

      Azure Cost CLI – Pour suivre les coûts liés à Microsoft Azure

      news.movim.eu / Korben · Monday, 18 December - 08:00 · 2 minutes

    Aujourd’hui les amis, j’aimerais vous faire découvrir un outil en ligne de commande qui va bien vous aider si vous évoluez dans l’écosystème de Microsoft Azure.

    En effet, en fonction de ce que vous faites avec vos instances et vos services Azure, le coût n’est pas forcément le même, et ce n’est pas super pratique de suivre tout ça uniquement via le site web. Heureusement avec l’outil Azure Cost Cli , vous allez pouvoir garder un œil sur les dépenses liées à votre utilisation des ressources, directement depuis votre terminal.

    Ce logiciel utilise l’API Azure Cost Management pour récupérer les coûts et présente les résultats directement dans la console ou sous format JSON. JSON que vous pouvez ensuite exploiter dans vos outils ou scripts.

    Hormis l’affichage des coûts cumulés comme vous pouvez le voir ci-dessus, il peut également afficher les coûts journaliers, extraire les ressources par coûts et répertorier les budgets.

    Et il peut même détecter les anomalies éventuelles et les tendances d’évolution dans les coûts, ce qui permet d’automatiser encore plus les rapports générés.

    Pour l’installer, c’est simple, ouvrez un terminal et utilisez la commande suivante (il vous faudra dotnet ) :

    dotnet tool install --global azure-cost-cli 

    Ensuite, vous pouvez commencer à afficher les couts cumulés associés à un abonnement Azure spécifique en lui passant votre ID :

    azure-cost accumulatedCost -s 12345678-1234-1234-1234-123456789012

    Pour générer un rapport CSV des coûts par ressource, rien de plus simple :

    azure-cost costByResource -s 12345678-1234-1234-1234-123456789012 -o csv

    Imaginons maintenant que vous souhaitiez afficher les coûts quotidiens pour le mois de janvier 2023, regroupés par nom de service ( ServiceName ) :

    azure-cost dailyCosts --dimension ServiceName --from 2023-01-01 --to 2023-01-31

    Pratique non ? Et si vous souhaitez faire de la détection d’anomalie au niveau des coûts générés durant une certaine période :

    azure-cost detectAnomalies -g myResourceGroup --timeframe Custom --from 2023-01-01 --to 2023-01-31

    J’ai également découvert que cet outil pouvait être utilisé dans un GitHub Workflow pour obtenir le coût de notre abonnement et stocker les résultats en markdown. C’est vraiment génial pour avoir un aperçu rapide des frais liés à notre abonnement.

    Voilà, si ça vous intéresse pour suivre vos coûts sur Azure, le projet Azure Cost Cli est disponible ici sur Github.

    • chevron_right

      Site Blocking Fallout Keeps GitHub Unusable for Some Indians

      news.movim.eu / TorrentFreak · Wednesday, 29 November - 22:52 · 3 minutes

    github barred Like many other countries around the world, India’s copyright law allows rightsholders to limit access to pirate sites.

    Major entertainment industry companies regularly obtain injunctions that require local Internet providers to block websites to prevent piracy.

    In essence, these measures are straightforward as specific domains are identified for blocking. However, injunctions can be issued before infringements take place and can be dynamic or temporary, depending on the situation.

    In the early years, blocking injunctions were used as a blunt instrument, instructing Internet providers to block legal platforms such as Vimeo , while GitHub and the Internet Archive also ended up in the crosshairs years ago.

    GitHub Blocking Troubles

    Accuracy-wise, some progress has been made over the years but that doesn’t mean that overblocking is no longer an issue. Throughout this year, several GitHub users have reported persistent problems accessing the platform.

    The issues related to GitHub appeared in January of this year, when several Indian developers noted that they could no longer use the site properly. The main Github.com domain was still accessible but raw.githubusercontent.com, where code is typically stored, was blocked.

    This made it impossible for developers to work on projects and several applications that used GitHub-hosted code started to return errors.

    This URL has been blocked under the instructions in compliance with the orders of a Hon’ble Court ,” a typical error message read.

    Since some pirate apps use GitHub it’s possible that raw.githubusercontent.com was listed in a copyright-related injunction, resulting in massive overblocking. As far as we know, the court order in question hasn’t been published but several ISPs were affected.

    Problems Persist Despite Reversal

    After some backlash, the underlying order was reportedly retracted , after which GitHub started working properly again for most Indians; but not for all. After nearly a year, there are still widespread reports from people who can’t use the site.

    The problem is discussed repeatedly on social media and local news outlets with users from ISPs such as JIO and Hathway complaining that raw.githubusercontent.com is not accessible.

    “From the past few weeks I am unable to access raw.githubusercontent.com on my Jio network,” one Redditor writes, with many others sharing a similar experience. On X, several users are reporting that they continue to have issues too.

    Not all subscribers appear to be affected and other Internet providers don’t appear to have the same issue. This suggests that the affected ISPs didn’t properly unblock the URL earlier this year when the court order was retracted.

    GitHub Responds

    GitHub is aware of the problems in India. The Microsoft-owned platform informs us that it’s investigating the issue to see if full access for all users can be restored.

    “As the global home for all developers, we firmly believe that everyone should be able to contribute to the future of software development regardless of where they live,” GitHub informed us.

    “We are aware of reports that there may be issues with accessing the raw.githubusercontent.com domain in India and are investigating to determine how access can be restored.”

    Transparency / Speculation

    The lack of transparency regarding Indian court orders and retractions doesn’t help to solve the problem. To the public at large, it still isn’t clear on what grounds GitHub was partly blocked.

    One potential tie-in could be the PikaShow app. After becoming the official sponsor for the Afghani cricket team during last year’s Asia Cup, Indian rightsholders pulled out all the stops to block the app.

    Through an injunction, GitHub was ordered to disclose information on the developers behind the PikaShow account, but it’s possible that a separate blocking order also targeted the site’s raw.githubusercontent.com URL.

    The above is pure speculation, which emphasizes the need for more transparency. That’s especially important now that Indian authorities are requiring domain registrars to comply with blocking orders too if they want to continue operating in the country.

    Meanwhile, the developers affected by the continuous blockade have to find ways around the technological restrictions. Luckily, that’s not too hard for this tech-savvy audience.

    From: TF , for the latest news on copyright battles, piracy and more.

    • chevron_right

      Google Asked to Deindex iptv-org, The World’s Largest Free IPTV Repo

      news.movim.eu / TorrentFreak · Thursday, 23 November - 14:00 · 2 minutes

    iptv-org While premium IPTV services have built a reputation for beating legal platforms on both selection and price, they also cost at least some money to access.

    Sites offering ‘IPTV for free’ can go either way, but thanks to so-called ‘FAST’ services such as Pluto TV and Peacock TV, taking risks is no longer necessary. That’s if older mainstream content scratches the itch and users don’t mind lots of advertising.

    Something For Everybody

    If showman P. T. Barnum had offered IPTV, the content indexed by iptv-org would’ve been the perfect fit. An eclectic mix of thousands of free TV channels from all over the planet, complete with EPG and the ability to fine tune exactly the type of content received via customizable playlists , iptv-org really does have something for everybody.

    As a result, iptv-org’s repo is regularly found trending on GitHub and this week is no exception.

    The fact that iptv-org aims to index streams that are already publicly available is an interesting angle, since at least in theory it makes the project a less straightforward target for rightsholders. A legal notice on the repo explains how rightsholders can have links taken down but of course, removing links does nothing to remove the actual streams.

    Not that any of those pointers make any difference to some, however.

    LaLiga Battles Pirate IPTV and iptv-org

    Top-tier Spanish football league LaLiga (Liga Nacional de Fútbol Profesional) finds itself in perpetual conflict with pirate IPTV providers and controversy is rarely far behind.

    In 2018, LaLiga updated its Android app, turning fans’ phones into spying devices capable of identifying unauthorized broadcasts in bars and restaurants. That resulted in a large fine for privacy breaches but didn’t deter a more recent proposal to remotely delete pirate apps from users’ phones.

    LaLiga also sends conventional DMCA takedown notices to numerous sites and services. The truncated example below dated November 20, 2023, was sent to Google and demands the removal of over 1,100 URLs from search results.

    The first 18 URLs concern the iptv-org repo on GitHub, based on the specific allegation that “the reported website sells channel services or subscriptions to servers that provide decryption keys for payment channels in an unauthorized manner.”

    LaLiga Takedown Notice (Full version courtesy of Lumen Database ) LaLiga-DMCA-Google

    While iptv-org does accept donations via OpenCollective , it doesn’t sell access to channel services or subscriptions. Since the entire point of the project is to index streams already open to the public, the claim that iptv-org sells subscriptions to servers that provide decryption keys is hard to fathom.

    Google Yet to Make a Decision

    Whether any of LaLiga’s content appeared on a channel indexed by iptv-org is impossible to determine from the information to hand. The notice references no specific content allegedly infringed or any specific URLs/channels where infringement allegedly took place. Instead it tries to deindex the project itself from Google search by targeting everything from its main page to pages dedicated to licensing and frequently asked questions.

    At the time of writing, Google lists 92.1% of the 1,151 URLs in the notice as ‘pending’ which suggests the search engine may be taking a closer look.

    Whether GitHub has received any direct complaints from LaLiga about iptv-org is currently unknown. However, since GitHub itself has been heavily targeted by erroneous LaLiga takedown notices , additional scrutiny probably wouldn’t go amiss.

    From: TF , for the latest news on copyright battles, piracy and more.

    • chevron_right

      So far, AI hasn’t been profitable for Big Tech

      news.movim.eu / ArsTechnica · Tuesday, 10 October, 2023 - 16:28 · 1 minute

    Illustration of a person holding a computer chip with hands holding dollar bills surrounging them.

    Enlarge (credit: Getty Images )

    Big tech companies like Microsoft and Google are grappling with the challenge of turning AI products like ChatGPT into a profitable enterprise, reports The Wall Street Journal. While companies are heavily investing in AI tech that can generate business memos or code, the cost of running advanced AI models is proving a significant hurdle. Some services, like Microsoft's GitHub Copilot, drive significant operational losses.

    Generative AI models used for creating text are not cheap to operate. Large language models (LLM) like the ones that power ChatGPT require powerful servers with high-end, energy-consuming chips. For example, we recently cited a Reuters report with analysis that claimed each ChatGPT query may cost 4 cents to run. As a result, Adam Selipsky, the chief executive of Amazon Web Services, told the Journal that many corporate customers are unhappy with the high running costs of these AI models.

    The current cost challenge is tied to the nature of AI computations, which often require new calculations for each query, unlike standard software that enjoys economies of scale. This makes flat-fee models for AI services risky, as increasing customer usage can drive up operational costs and lead to potential losses for the company.

    Read 4 remaining paragraphs | Comments

    • chevron_right

      Genshin Impact: Major Private Server Dev Faces DMCA Subpoenas

      news.movim.eu / TorrentFreak · Tuesday, 10 October, 2023 - 09:07 · 4 minutes

    genshin-small With over 60 million players every month, Genshin Impact is one of the greatest success stories in videogames.

    The game stepped over the 60 million threshold in March 2022, and just over a year later hit a record 66.5 million. Since August, however, interest in the game has declined.

    The situation is hardly catastrophic but from a second 66.5m peak two months ago, player numbers in September returned to levels last seen in March 2022 .

    Whether this is a concern for developer Cognosphere is unclear but after taking legal action against both leakers ( 1 , 2 , 3 ) and in-game cheaters ( 4 ) , Cognosphere has a new target in its sights.

    Private Servers Upset Business Model

    On a base level, Genshin Impact is free-to-play but through so-called ‘gatcha game’ mechanics, players are encouraged to spend virtual currency earned in-game or purchased outside the digital realm using real money. For those in the know, however, unofficial private servers provide an attractive third option.

    These servers have the ability to set their own rules, meaning a potential fast track to virtual riches for players short on time, patience, or money. The fact that the required software is easily obtained and mostly easy to set up, means there’s no shortage of servers. That’s not to say all can be used for free, but it’s not uncommon for donation models to thrive in a world where time and money are already at a premium.

    Cognosphere Targets Private Server Developer

    Last Friday, Cognosphere’s attorneys filed applications for three DMCA subpoenas at a district court in California. Each application claims that Cognosphere’s copyrights have been infringed by a third party and as a result, service providers are required to hand over the personal details of the alleged infringer.

    The first application targets GitHub and claims that a user called “casksteven” infringed Cognosphere’s exclusive rights in Genshin Impact. In an email to GitHub dated October 6, Cognosphere’s attorneys advised GitHub that “without limitation” the infringing content included material posted to the ‘ Sweaty-Launcher ‘ repo.

    Sweaty-Launcher is a piece of software that allows users to connect to two types of private servers, GrassCutter and Weedwacker .

    “The Content infringes Cognosphere’s exclusive rights under copyright law. Specifically, it infringes Cognosphere’s rights in its popular video game Genshin Impact,” the DMCA application reads.

    The repository URL receives a prominent mention in the application and the screenshot below shows what appears there. However, for reasons that will become clear, we’ve blurred out a section depicting a character from Genshin Impact.

    Cognosphere is demanding “Information, including name(s), address(es), telephone number(s), e-mail address(es), and IP address(es), or other information within your possession, custody or control, sufficient to identify the user(s) responsible for making available for distribution and/or otherwise controlling the materials currently or formerly available at the following Uniform Resource Locator (URL’):”

    Surprisingly, “the materials” do not relate to Sweaty-Launcher at all, but merely the image included in the ‘readme’ section of the free software.

    The corresponding DMCA takedown notice sent to GitHub requests “expeditious action to remove or disable access to the Genshin Impact Artwork as referenced above. Furthermore, it is requested that GitHub take appropriate measures to prevent further infringements by the party responsible, including pursuant to any ‘repeat infringer’ policies maintained by GitHub.”

    Second DMCA Subpoena Application

    In a second DMCA subpoena application targeting web hosting company Spartan Host LLC, Cognosphere again outlines its exclusive rights in Genshin Impact before demanding the identity of an alleged infringer, including their name, address, telephone numbers, and email address. According to the filing, the user in question maintains the website www.casks.me. While that domain no longer exists, the service itself is operating from a new domain.

    “Tianli China is one of the largest Genshin servers in China, and we have close to a million register player, with thousands online at anytime. We are experienced with Genshin and handling mass players,” the service’s promotional material reads.

    This invitation to the 35,500-member TianLi Community on Discord arrives courtesy of casksteven himself while other connections to the casks.me website are easily found elsewhere. Surprisingly, Cognosphere shows no specific interest in the private server here either, despite some site announcements receiving over 780,000 views in their own right.

    In common with the complaint and subsequent DMCA subpoena application at GitHub, the application targeting Spartan Host also concerns allegedly infringing images, four in total, most likely screenshots. By examining an archived copy of the website we managed to find one example; it features a login screen with a HoYoverse logo, within the frame of a mobile phone.

    Since Cognosphere is prepared to spend significant sums protecting these images, it raises the question of why they’re so special. They represent a tiny piece of what is obviously a more logical target, one that probably uses other Genshin Impact assets without appropriate licensing, in much more significant ways.

    Third DMCA Subpoena Application

    In its third DMCA subpoena application, Cognosphere targets Google LLC, doing business as YouTube. This time the allegedly-infringing material is contained in a total of eight YouTube videos, but how they violated Cognosphere’s rights is unclear.

    The application and DMCA notice sent to YouTube states that Cognosphere owns the rights to the “gameplay and audiovisual elements” of Genshin Impact but no specifics regarding infringing video content are mentioned. The videos have already been removed, not by YouTube itself, but by the channel owner – casksteven .

    At the time of writing, GitHub is yet to take action against the image on the casksteven repo.

    The DMCA subpoena applications are available here: Github ( 1 , 2 ), Spartan Host ( 1 ) and YouTube ( 1 , 2 ) – (all pdf)

    From: TF , for the latest news on copyright battles, piracy and more.

    • chevron_right

      Microsoft offers legal protection for AI copyright infringement challenges

      news.movim.eu / ArsTechnica · Friday, 8 September, 2023 - 22:40

    A man in an armor helmet sitting at a desk with a protective glowing field around him.

    Enlarge (credit: Getty Images / Benj Edwards )

    On Thursday, Microsoft announced that it will provide legal protection for customers who are sued for copyright infringement over content generated by the company's AI systems. This new policy, called the Copilot Copyright Commitment, is an expansion of Microsoft's existing intellectual property indemnification coverage, Reuters reports .

    Microsoft's announcement comes as generative AI tools like ChatGPT have raised concerns about reproducing copyrighted material without proper attribution. Microsoft has heavily invested in AI through products like GitHub Copilot and Bing Chat that can generate original code, text, and images on demand. Its AI models have gained these capabilities by scraping publicly available data off of the Internet without seeking express permission from copyright holders.

    By offering legal protection, Microsoft aims to give customers confidence in deploying its AI systems without worrying about potential copyright issues. The policy covers damages and legal fees, providing customers with an added layer of protection as generative AI sees rapid adoption across the tech industry.

    Read 5 remaining paragraphs | Comments

    • chevron_right

      README-AI – Pour générer des fichiers readme.md en un clin d’œil

      news.movim.eu / Korben · Sunday, 13 August, 2023 - 07:00 · 1 minute

    Si vous êtes un développeur, vous savez combien il est important d’avoir un bon fichier README.md pour vos dépôts Git. Seulement, c’est un peu relou de créer un README manuellement, en particulier lorsque votre projet est bien complexe.

    Mais voilà que README-AI entre en scène ! Cet outil génère automatiquement des fichiers README.md en utilisant les API du modèle de langage GPT d’ OpenAI .

    Imaginez, vous n’avez qu’à fournir le chemin ou l’URL du dépôt de code de votre projet, et comme par magie, README-AI crée un fichier Readme bien structuré et complet. Il met non seulement en évidence les fonctionnalités de votre projet, mais aussi les étapes nécessaires à l’installation, les instructions d’utilisation, et toutes les autres informations utiles ainsi que l’ajout de badges.

    Alors je vous vois venir… Vous vous inquiétez évidemment de la qualité du fichier généré. C’est normal mais pas de stress, car les fichiers README produits par cet outil sont très bien structurés et fournissent un excellent point de départ pour votre documentation. Cependant, je le reconnais, c’est toujours important de passer en revue le texte généré pour vous assurer, qu’il est exact.

    Alors, de quoi on a besoin pour faire tourner README-AI ?

    Pour l’installer, vous devrez avoir une clé OpenAI et clonez le dépôt comme ceci :

    git clone https://github.com/eli64s/README-AI.git && cd README-AI

    Assurez-vous d’avoir toutes les dépendances nécessaires, puis lancez l’install comme ceci :

    bash setup/setup.sh

    Vous vous en doutez, README-AI est un projet encore en cours de développement mais ça n’en reste pas moins une bonne aide pour tout développeur qui veut simplifier et accélérer son processus de génération de README.

    À découvrir ici .

    • chevron_right

      Internet Archive Targets Book DRM Removal Tool With DMCA Takedown

      news.movim.eu / TorrentFreak · Friday, 14 July, 2023 - 20:09 · 2 minutes

    internet archive The Internet Archive (IA) is a non-profit organization that aims to save the history of the Internet for generations to come.

    The digital library is a staunch supporter of a free and open Internet and began meticulously archiving the web over a quarter century ago.

    Today, IA has more than 800 billion pages in its archive and offers a broad collection of digital media, including books. Staying true to the centuries-old library concept, IA patrons can also borrow books that are scanned and digitized in-house, with technical restrictions that prevent copying. At least, that’s the idea.

    The self-scanning service is different from the licensing deals other libraries enter into. Not all publishers are happy with this scheme and when IA lifted its ‘one-digital-copy-per-patron’ policy at the start of the coronavirus pandemic, a massive lawsuit ensued.

    Publishers Hachette, HarperCollins, John Wiley and Penguin Random House sued IA , equating the Open Library’s lending operation to copyright infringement. Earlier this year a New York Federal court concluded that the library is indeed liable for copyright infringement .

    IA Sends DMCA Notice to Stop Book Piracy

    The scale of the damages in that case are yet to be determined but in light of the legal battle, we noticed an interesting DMCA takedown notice this week through which IA tries to protect the publishers.

    The Internet Archive sent a takedown request to GitHub, requesting the developer platform to remove a tool that circumvents industry-standard technical protection mechanisms for digital libraries. This “DeGouRou” software effectively allows patrons to save DRM-free copies of the books they borrow.

    degourou

    “This DMCA complaint is about a tool made available on github which purports to circumvent technical protections in violation of the copyright act section 1201,” the notice reads.

    “I am reporting a Git which provides a tool specifically used to circumvent industry standard library TPMs which are used by Internet Archive, and other libraries, to permit patrons to borrow an encrypted book, read the encrypted book, and return an encrypted book.”

    Not Authorized

    Interestingly, an IA representative states that they are “not authorized by the copyright owners” to submit this takedown notice. Instead, IA is acting on its duty to prevent the unauthorized downloading of copyright-protected books.

    degourou git

    It’s quite unusual to see a party sending takedown notices without permission from the actual rightsholders. However, given the copyright liabilities IA faces, it makes sense that the organization is doing what it can to prevent more legal trouble.

    Permission or not, GitHub honored the takedown request. It removed all the DeGourou repositories that were flagged and took the code offline.

    DeGourou is ‘Archived’ Elsewhere

    per

    The publishers are likely pleased to see IA acting in their interests. However, as we often see on a free and open Internet, taking something completely offline isn’t always straightforward. After GitHub removed the code, it soon popped up elsewhere.

    Apparently, some people are relentlessly trying to maintain an archive of the code in other places.

    A Reddit thread that was initially posted five months ago linked to DeGourou’s GitHub page. After that was taken down it moved to Replit instead, but that instance was also targeted with a DMCA notice. DeGourou has now moved to GitLab, for as long as it lasts.

    IA is clearly concerned about the potential copyright infringement implications of its library. The organization is currently finalizing a consent judgment with the publishers to establish the damages it owes in the earlier mentioned legal battle, while also leaving the door open for an appeal.

    From: TF , for the latest news on copyright battles, piracy and more.

    • chevron_right

      Décorez votre historique GitHub avec du Pixel-Art !

      news.movim.eu / Korben · Tuesday, 4 July, 2023 - 07:00 · 1 minute

    Si vous êtes un nerd qui passe son temps sur Github (le meilleur site du monde), voici un machin assez rigolo même si dans les fait, ça ne va pas vraiment changer votre vie. Il s’agit de Gifiti qui permet de créer des graffitis en pixel art depuis l’historique de vos commits sur Github.

    Vous vous demandez sûrement comment cela est possible… Je vous explique !

    Gitfiti est un outil en python qui vous permet de « décorer » l’historique de vos commits GitHub en profitant de la capacité de Git à accepter des commits dans le passé.

    Pour réaliser cela, l’outil génère un script (Powershell ou bash) qui effectue des commits avec les variables d’environnement GIT_AUTHOR_DATE et GIT_COMMITTER_DATE définies pour chaque pixel ciblé.

    Il est recommandé de créer un nouveau dépôt GitHub lors de l’utilisation de Gitfiti, car cela risque d’écraser l’historique du dépôt que vous pourriez choisir. Le pixel art inclus dans gitfiti comprend des images telles que kitty , oneup , oneup 2 , hackerschool , octocat et octocat 2 (dans le même ordre sur l’image ci-dessous).

    Une fois votre nouveau dépôt Github créé vous n’aurez plus qu’à exécuter gitfiti.py et suivre les explications concernant le nom d’utilisateur, la sélection du pixel art…etc.

    Attendez ensuite un jour ou deux pour que le Gitfiti apparaisse dans votre graphique de commits. Si vous ne voulez plus de ce truc, c’est également hyper facile de virer en supprimant le dépôt que vous avez créé.

    Pour faire votre propre dessin en pixel art, PaintGitHub est la solution la plus pratique !

    L’idée avec ça, c’est de faire preuve d’un peu d’originalité et de montrer à tous que même les développeurs ont un petit côté artistique.

    À découvrir ici .