Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (40)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4500)

  • Progress with rtc.io

    12 août 2014, par silvia

    At the end of July, I gave a presentation about WebRTC and rtc.io at the WDCNZ Web Dev Conference in beautiful Wellington, NZ.

    webrtc_talk

    Putting that talk together reminded me about how far we have come in the last year both with the progress of WebRTC, its standards and browser implementations, as well as with our own small team at NICTA and our rtc.io WebRTC toolbox.

    WDCNZ presentation page5

    One of the most exciting opportunities is still under-exploited : the data channel. When I talked about the above slide and pointed out Bananabread, PeerCDN, Copay, PubNub and also later WebTorrent, that’s where I really started to get Web Developers excited about WebRTC. They can totally see the shift in paradigm to peer-to-peer applications away from the Server-based architecture of the current Web.

    Many were also excited to learn more about rtc.io, our own npm nodules based approach to a JavaScript API for WebRTC.

    rtcio_modules

    We believe that the World of JavaScript has reached a critical stage where we can no longer code by copy-and-paste of JavaScript snippets from all over the Web universe. We need a more structured module reuse approach to JavaScript. Node with JavaScript on the back end really only motivated this development. However, we’ve needed it for a long time on the front end, too. One big library (jquery anyone ?) that does everything that anyone could ever need on the front-end isn’t going to work any longer with the amount of functionality that we now expect Web applications to support. Just look at the insane growth of npm compared to other module collections :

    Packages per day across popular platforms (Shamelessly copied from : http://blog.nodejitsu.com/npm-innovation-through-modularity/)

    For those that – like myself – found it difficult to understand how to tap into the sheer power of npm modules as a font end developer, simply use browserify. npm modules are prepared following the CommonJS module definition spec. Browserify works natively with that and “compiles” all the dependencies of a npm modules into a single bundle.js file that you can use on the front end through a script tag as you would in plain HTML. You can learn more about browserify and module definitions and how to use browserify.

    For those of you not quite ready to dive in with browserify we have prepared prepared the rtc module, which exposes the most commonly used packages of rtc.io through an “RTC” object from a browserified JavaScript file. You can also directly download the JavaScript file from GitHub.

    Using rtc.io rtc JS library
    Using rtc.io rtc JS library

    So, I hope you enjoy rtc.io and I hope you enjoy my slides and large collection of interesting links inside the deck, and of course : enjoy WebRTC ! Thanks to Damon, JEeff, Cathy, Pete and Nathan – you’re an awesome team !

    On a side note, I was really excited to meet the author of browserify, James Halliday (@substack) at WDCNZ, whose talk on “building your own tools” seemed to take me back to the times where everything was done on the command-line. I think James is using Node and the Web in a way that would appeal to a Linux Kernel developer. Fascinating !!

    The post Progress with rtc.io first appeared on ginger’s thoughts.

  • Investigating Steam for Linux

    1er mars 2013, par Multimedia Mike — Game Hacking

    Valve recently released the final, public version of their Steam client for Linux, and the Linux world rejoiced. At least, it probably did. The announcement was 2 weeks ago on Valentine’s Day and I had other things on my mind, so I missed any fanfare. When framed in this manner, the announcement timing becomes suspect– it’s as though Linux enthusiasts would have plenty of time that day or something.


    Valve Steam logo

    Taming the Frontier
    Speculation about a Linux Steam client had been kicking around for nearly as long as Steam has existed. However, sometime last year, the rumors became more substantive.

    I naturally wondered how to port something like Steam to Linux. I have some experience with trying to make a necessarily binary-only program that runs on Linux. I’m fairly well-versed in the assorted technical challenges that one might face when attempting such a feat. Because of this, whenever I hear rumors that a company might be entertaining the notion of porting a major piece of proprietary software to Linux, my instinctive reflex is, “What ?! Why, you fools ?! Save yourselves !”

    At least, that’s how it used to be. The proposal of developing a proprietary binary for Linux has been rendered considerably less insane by a few developments, for example :

    1. The rise of Ubuntu Linux as a quasi de facto standard for desktop Linux computing
    2. The increasing homogeneity in personal desktop computing technology

    What I would like to know is how the Steam client runs on Linux. Does it rely on any libraries being present on the system ? Or does it bring its own ? The latter is a trick that proprietary programs can use– transport all of the shared libraries that the main program binary depends upon, install them someplace out of the way on the filesystem, probably in /opt, and then make the main program a shell script which sets a preload path to rely on the known quantity libraries instead of the copies already on the system.

    Downloading and Installing the Client
    For this exercise, I installed x86_64 desktop Ubuntu 12.04 Linux on a l33t gaming rig that was totally top of the line about 5 years ago, and that someone didn’t want anymore and handed down to me recently. So it should be ideal for this project.

    At first, I was blown away– the Linux client is in a .deb package that is less than 2 MB large. I unpacked the steam.deb file and found a bunch of support libraries — mostly X11 and standard C/C++ runtimes. Just as I suspected. Still, I can’t believe how small the thing is. However, my amazement quickly abated when I actually ran Steam and saw this :


    Steam Linux Client -- initial update

    So it turns out steam.db is just the installer program which immediately proceeds to download an additional 160+ MB of data. So there’s actually a lot more information to possibly sift through.

    Another component of the installation is to basically run a big ‘apt-get install’ command to make sure a bunch of required packages are installed :


    Steam Linux Client -- install system packages

    After all these installation steps, the client was ready to run. However, whenever I tried to do so, I got this dialog which would cause Steam to close when the dialog was dismissed.


    Steam Linux Client -- Upgrade NVIDIA drivers

    Not a huge deal ; later NVIDIA drivers are fairly straightforward to install on Ubuntu Linux. After a few minutes of downloading, installing and restarting X, Steam ran with minimal complaint (it still had some issue regarding the video drivers but didn’t seem to consider it a deal-breaker).

    Using Steam on Linux

    So here’s Steam running on Linux :


    Steam Linux Client -- main screen

    If you have experience with using Steam on Windows or Mac, you might observe that it looks exactly the same. I don’t have a very expansive library of games (I only started using Steam because purchasing a few computer components a few years ago entitled me to some free Steam downloads of some of the games on the list in the screenshot). I didn’t really expect any of the games to have Linux versions yet, but it turns out that the indie darling FTL : Faster Than Light has been ported to Linux. FTL was a much-heralded Kickstarter success story and sounded like something I wanted to support. I purchased this from Steam shortly after its release last year and was able to download the Linux version at no additional cost with a single click.

    It runs natively on Linux (note the Ubuntu desktop window decorations) :


    FTL game running on Linux through Steam

    You might notice from the main Steam client that, despite purchasing FTL about a 1/2 year ago and starting it up at least a 1/2 dozen times, I haven’t really invested a whole lot of time into it. I only managed to get about 2 minutes further this time :


    A few more minutes in FTL

    What can I say ? This game just bores me to tears. It’s frustrating because I know that this is one of the cool games that all real gamers are supposed to like, but I practically catch myself nodding off every time I try to run through the tutorial. It’s strange to think that I’ve invested far more time into games that offer considerably less stimulation. That’s probably because I had far more free time compared to gaming options during those times.

    But that’s neither here nor there. We’ll file this under “games that aren’t for me.” I’m glad that people like FTL and a little indie underdog has met with such success. And I’m pleased that Steam on Linux works. It’s native and the games are also native, which is all quite laudable (there was speculation that everything would just be running on top of a Wine layer).

    Deeper Analysis
    So I set out wondering how Steam was able to create a proprietary program that would satisfy a large enough cross-section of Linux users (i.e., on different platforms and distros). Answer : well, they didn’t, per the stated requirements. The installation is only tuned to work on Ubuntu 12.04. However, it works on both 32- and 64-bit platforms, the only 2 desktop CPU platforms that matter these days (unless ARM somehow makes inroads on the desktop). The Steam client is quite clearly an x86_32 binary– look at the terminal screenshot above and observe that it’s downloading all :i386 support libraries.

    The file /usr/bin/steam isn’t a binary but a launcher shell script (something you’ll also see if you investigate /usr/bin/firefox on a Linux system). Here’s an interesting tidbit :

    function detect_platform()
    
      # Maybe be smarter someday
      # Right now this is the only platform we have a bootstrap for, so hard-code it.
      echo ubuntu12_32
    
    

    I wager that it’s possible to get Steam running on other distributions, it probably just takes a little more effort (assuming that Steam doesn’t put too much effort into thwarting such attempts).

    As for the FTL game, it comes with binaries and libraries for both x86_32 and x86_64. So, good work to the dev team for creating and testing both versions. FTL also distributes versions of the libraries it expects to work with.

    I suspect that the Steam client overall is largely a WWW rendering engine underneath the covers. That would help explain how Valve is able to achieve such a consistent look and feel, not only across OS platforms, but also through a web browser. When I browse the Steam store through Google Chrome, it looks and feels exactly like the native desktop client. When I first thought of how someone could port Steam to Linux, I immediately wondered about how they would do the UI.

    A little Googling for “steam uses webkit” (just a hunch) confirms my hypothesis.

  • What Is Data Ethics & Why Is It Important in Business ?

    9 mai 2024, par Erin

    Data is powerful — every business on earth uses data. But some are leveraging it more than others.

    The problem ?

    Not all businesses are using data ethically.

    You need to collect, store, and analyse data to grow your business. But, if you aren’t careful, you could be crossing the line with your data usage into unethical territories.

    In a society where data is more valuable than ever, it’s crucial you perform ethical practices.

    In this article, we break down what data ethics is, why it’s important in business and how you can implement proper data ethics to ensure you stay compliant while growing your business.

    What is data ethics ?

    Data ethics are how a business collects, protects and uses data.

    It’s one field of ethics focused on organisations’ moral obligation to collect, track, analyse and interpret data correctly.

    Data ethics analyses multiple ways we use data :

    • Collecting data
    • Generating data
    • Tracking data
    • Analysing data
    • Interpreting data
    • Implementing activities based on data

    Data ethics is a field that asks, “Is this right or wrong ?”

    And it also asks, “Can we use data for good ?”

    If businesses use data unethically, they could get into serious hot water with their customers and even with the law.

    You need to use data to ensure you grow your business to the best of your ability. But, to maintain a clean slate in the eyes of your customers and authorities, you need to ensure you have strong data ethics.

    Why you need to follow data ethics principles

    In 2018, hackers broke into British Airways’ website by inserting harmful code, leading website visitors to a fraudulent site. 

    The result ? 

    British Airways customers gave their information to the hackers without realising it : credit cards, personal information, login information, addresses and more.

    While this was a malicious attack, the reality is that data is an integral part of everyday life. Businesses need to do everything they can to protect their customers’ data and use it ethically.

    Data ethics is crucial to understand as it sets the standard for what’s right and wrong for businesses. Without a clear grasp of data ethics, companies will willingly or neglectfully misuse data.

    With a firm foundation of data ethics, businesses worldwide can make a collective effort to function smoothly, protect their customers, and, of course, protect their own reputation. 

    3 benefits of leaning into data ethics

    We’re currently transitioning to a new world led by artificial intelligence.

    While AI presents endless opportunities for innovation in the business world, there are also countless risks at play, and it’s never been more important to develop trust with your customers and stakeholders.

    With an influx of data being created and tracked daily, you need to ensure your business is prioritising data ethics to ensure you maintain trust with your customers moving forward.

    Diagram displaying the 3 benefits of data ethics - compliance, increased trust, maintain a good reputation.

    Here are three benefits of data ethics that will help you develop trust, maintain a solid reputation and stay compliant to continue growing your business :

    1. Compliance with data privacy

    Privacy is everything. 

    In a world where our data is being collected nonstop, and we live more public lives than ever with social media, AI and an influx of recording and tracking in everyday life, you need to protect the privacy of your customers.

    One crucial way to protect that privacy is by complying with major data privacy regulations.

    Some of the most common regulations you need to remain compliant with include :

    • General Data Protection Regulation (GDPR)
    • California Consumer Privacy Act (CCPA)
    • Health Insurance Portability and Accountability Act (HIPAA)
    • General Personal Data Protection Law (LGPD)
    • Privacy and Electronic Communications (EC Directive) Regulations (PECR)

    While these regulations don’t directly address ethics, there’s a core overlap between privacy requirements like accountability, lawfulness and AI ethics.

    Matomo ensures you protect the privacy of your web and app users so you can track and improve your website performance with peace of mind.

    2. Maintain a good reputation

    While data ethics can help you maintain data privacy compliance, it can also help you maintain a good reputation online and offline.

    All it takes is one bad event like the British Airways breach for your company’s reputation to be ruined.

    If you want to keep a solid reputation and maintain trust with your stakeholders, customers and lawmakers, then you need to focus on developing strong data ethics.

    Businesses that invest time in establishing proper data ethics set the right foundation to protect their reputation, develop trust with stakeholders and create goodwill and loyalty.

    3. Increased trust means greater revenue

    What happens when you establish proper data ethics ?

    You’ll gain the trust of your customers, maintain a solid reputation and increase your brand image.

    Customers who trust you to protect their privacy and data want to keep doing business with you.

    So, what’s the end result for a business that values data ethics ?

    You’ll generate more revenue in the long run. Trust is one thing you should never put on the back burner if you have plans to keep growing your business. By leaning more into data ethics, you’ll be able to build that brand reputation that helps people feel comfortable buying your products and services on repeat.

    While spending time and money on data ethics may seem like an annoyance, the reality is that it’s a business investment that will pay dividends for years to come.

    5 core data ethics principles

    So, what exactly is involved in data ethics ?

    For most people, data ethics is a pretty broad and vague term. If you’re curious about the core pillars of data ethics, then keep reading.

    Here are five core data ethical principles you need to follow to ensure you’re protecting your customers’ data and maintaining trust :

    Image displaying the 5 core data ethics principles - ownership, transparency, privacy, intention, outcomes.

    1. Data ownership

    The individual owns the data, not you. This is the first principle of data ethics. You don’t have control over someone else’s data. It’s theirs, and they have full ownership over it.

    Just as stealing a TV from an electronics store is a crime, stealing (or collecting) someone’s personal data without their consent is considered unlawful and unethical.

    Consent is the only way to ethically “own” someone’s data.

    How can you collect someone’s data ethically ?

    • Digital privacy policies
    • Signed, written agreements
    • Popups with checkboxes that allow you to track users’ behaviour

    Essentially, anytime you’re collecting data from your website or app users, you need to ensure you’re asking permission for that data.

    You should never assume a website visitor or customer is okay with you collecting your data automatically. Instead, ask permission to collect, track and use their data to avoid legal and ethical issues.

    2. Transparency

    The second core principle of data ethics within business is transparency. This means you need to be fully transparent on when, where and how you :

    • Collect data
    • Store data
    • Use data

    In other words, you need to allow your customers and website visitors to have a window inside your data activities.

    They need to be able to see exactly how you plan on using the data you’re collecting from them.

    For example, imagine you implemented a new initiative to personalise the website experience for each user based on individual behaviour. To do this, you’ll need to track cookies. In this case, you’d need to write up a new policy stating how this behavioural data is going to be collected, tracked and used.

    It’s within your website visitors’ rights to access this information so they can choose whether or not they want to accept or decline your website’s cookies.

    With any new data collection or tracking, you need to be 100% clear about how you’re going to use the data. You can’t be deceptive, misleading, or withholding any information on how you will use the data, as this is unethical and, in many cases, unlawful.

    3. Privacy

    Another important branch of ethics is privacy. The ethical implications of this should be obvious.

    When your users, visitors, or customers enter your sphere of influence and you begin collecting data on them, you are responsible for keeping that data private.

    When someone accepts the terms of your data usage, they’re not agreeing to have their data released to the public. They’re agreeing to let you leverage that data as their trusted business provider to better serve them. They expect you to maintain privacy.

    You can’t spread private information to third parties. You can’t blast this data to the public. 

    This is especially important if someone allows you to collect and use their personally identifiable information (PII), such as :

    • First and last name
    • Email address
    • Date of birth
    • Home address
    • Phone number

    To protect your audience’s data, you should only store it in a secure database. 

    Screenshot example of the Matomo dashboard

    For example, Matomo’s web analytics solution guarantees the privacy of both your users and analytics data.

    With Matomo, you have complete ownership of your data. Unlike other web analytics solutions that exploit your data for advertising purposes, Matomo users can use analytics with confidence, knowing that their data won’t be sold to advertisers.

    Learn more about data privacy with Matomo here.

    Try Matomo for Free

    Get the web insights you need, while respecting user privacy.

    No credit card required

    4. Intention

    When you collect and store data, you need to tell your users why you’re collecting their data. But there’s another principle of data ethics that goes beyond the reason you give your customers.

    Intention is the reason you give yourself for collecting and using the data.

    Before you start collecting and storing data, you should ask yourself the following :

    • Why you need it
    • What you’ll gain from it
    • What changes you’ll be able to make after you analyse the data

    If your intention is wrong in any way, it’s unethical to collect the data :

    • You’re collecting data to hurt others
    • You’re collecting data to profit from your users’ weaknesses
    • You’re collecting data for any other malicious reason

    When you collect data, you need to have the right intentions to maintain proper data ethics ; otherwise, you could harm your brand, break trust and ruin your reputation.

    5. Outcomes

    You may have the best intentions, but sometimes, there are negative outcomes from data use.

    For example, British Airways’ intention was not to allow hackers to gain access and harm their users. But the reality is that their customers’ data was stolen and used for malicious purposes. While this isn’t technically unlawful, the outcome of collecting data ended badly.

    To ensure proper data ethics, you must have good standing with your data. This means protecting your users at all costs, maintaining a good reputation and ensuring proper privacy measures are set up.

    How to implement data ethics as a business leader

    As a business leader, CTO or CEO, it’s your responsibility to implement data ethics within your organisation. Here are some tips to implement data ethics based on the size and stage of your organisation :

    Startups

    If you’re a startup, you need to be mindful of which technology and tools you use to collect, store and use data to help you grow your business.

    It can be a real challenge to juggle all the moving parts of a startup since things can change so quickly. However, it’s crucial to establish a leader and allow easy access to ethical analysis resources to maintain proper data ethics early on.

    Small and medium-sized businesses

    As you begin scaling, you’ll likely be using even more technology. With each new business technique you implement, there will be new ways you’ll be collecting user data. 

    One of the key processes involved in managing data as you grow is to hire engineers who build out different technologies. You must have protocols, best practices and management overseeing the new technologies being built to ensure proper data ethics.

    Global businesses

    Have you scaled internationally ?

    There will be even more rules, laws, regulations and organisations to answer to if you start managing data unethically.

    You should have established teams or departments to ensure you follow proper privacy and data protocols worldwide. When you have a large organisation, you have more money and vast amounts of data. This makes you a bigger target for leaks, ransomware and hackers.

    You should ensure you have cross-departmental groups working to establish ongoing protocols and training to keep your data management in good standing.

    Leverage data ethically with Matomo

    Data is powerful.

    It’s a crucial point of leverage that’s required to stay competitive.

    However, improper use and management of data can give you a bad reputation, break trust and even cause you legal trouble.

    That’s why you must maintain good data ethics within your organisation.

    One of the most important places to set up proper data ethics and privacy measures is with your website analytics.

    Matomo is the leading, privacy-friendly web analytics solution in the world. It automatically collects, stores, and tracks data across your website ethically.

    With over 1 million websites using Matomo, you get to take full control over your website performance with :

    • Accurate data (no data sampling)
    • Privacy-friendly and GDPR-compliant analytics
    • Open-source for transparency and to create a custom solution for you

    Try Matomo free for 21-days. No credit card required.