Ci dessous, les actualités de quelques sites qui ont tout mon intérêt (à différents niveaux).
La veille Haut de page Lendemain
https://www.digitalocean.com/community/tutorials/android-media-player-song-with-seekbar
In this tutorial, we'll use the MediaPlayer class to implement a basic Audio Player in our Android Application. We'll add a Play/Stop feature and also allow the user to change the position of the song with a SeekBar. Android MediaPlayer MediaPlayer class is used for playing Audio and Video files. The common methods of the MediaPlayer class that we'll use are: start() stop() release() - To prevent [...]
https://www.digitalocean.com/community/tutorials/numpy-zeros-in-python
Python numpy.zeros() function returns a new array of given shape and type, where the element's value as 0. numpy.zeros() function arguments The numpy.zeros() function syntax is: zeros(shape, dtype=None, order='C') The shape is an int or tuple of ints to define the size of the array. The dtype is an optional parameter with default value as float. It's used to specify the data type of the array, [...]
https://www.digitalocean.com/community/tutorials/linear-search-algorithm-c
Linear Search is basically a sequential search algorithm. In this algorithm, the key element is searched in the given input array in sequential order. If the key element is found in the input array, it returns the element. Linear Search Algorithm Linear_Search ( Array X, Value i) Set j to 1 If j > n, jump to step 7 If X[j] == i, jump to step 6 Then, increment j by 1 i.e. j = j+1 Go back to st [...]
https://www.digitalocean.com/community/tutorials/install-wordpress-on-ubuntu
In this article, we will focus on how to install WordPress on Ubuntu 18.04. WordPress is a free and open-source content management platform based on PHP and MySQL. It's the world's leading blogging and content management system with a market share of over 60%, dwarfing its rivals such as Joomla and Drupal. WordPress was first released on May 27th, 2003 and powers over 60 million websites to date! [...]
https://www.digitalocean.com/community/tutorials/get-file-extension-in-python
We can use Python os module splitext() function to get the file extension. This function splits the file path into a tuple having two values - root and extension. Getting File Extension in Python Here is a simple program to get the file extension in Python. import os # unpacking the tuple file_name, file_extension = os.path.splitext("/Users/pankaj/abc.txt") print(file_name) print(file [...]
https://blog.webpagetest.org/posts/nyc-web-performance-meetup-back-in-person/
Last week I had the pleasure of attending and speaking at the first in-person meeting of the New York Web Performance meetup since the pandemic started. In my eyes this meetup, organized by Sergey Chernishev and now Mellisa Ada, is an institution, being the first ever Web Performance meetup in the world, and so it was a thrill to be back with the tribe, so to speak. Talks After Sergey did what Se [...]
https://www.digitalocean.com/community/tutorials/java-thread-example
Welcome to the Java Thread Example. Process and Thread are two basic units of execution. Concurrency programming is more concerned with java threads. Process A process is a self contained execution environment and it can be seen as a program or application. However a program itself contains multiple processes inside it. Java runtime environment runs as a single process which contains different cla [...]
https://www.digitalocean.com/community/tutorials/export-command-linux
In this guide, we will look at the export command in Linux. Export is a built-in command of the Bash shell. It is used to mark variables and functions to be passed to child processes. Basically, a variable will be included in child process environments without affecting other environments. To get a clearer picture of what we are talking about, let's dive in and have a look at the export command ex [...]
https://www.digitalocean.com/community/tutorials/sql-commit-sql-rollback
The most important aspect of a database is the ability to store data and the ability to manipulate data. COMMIT and ROLLBACK are two such keywords which are used in order store and revert the process of data storage. These keywords are usually used in context with a transaction. Let's try to understand the details about COMMIT and ROLLBACK. SQL Commit and Rollback COMMIT and ROLLBACK are performe [...]
10 / 15
https://www.digitalocean.com/community/tutorials/python-wait-time-wait-for-input
Sometimes we want our python program to wait for a specific time before executing the next steps. We can use time module sleep() function to pause our program for specified seconds. Python wait time Let's see a quick example where we will pause our program for 5 seconds before executing further statements. import time print('Hello There, next message will be printed after 5 seconds.') time.slee [...]
https://www.digitalocean.com/community/tutorials/python-string-encode-decode
Python String encode() Python string encode() function is used to encode the string using the provided encoding. This function returns the bytes object. If we don't provide encoding, 'utf-8' encoding is used as default. Python Bytes decode() Python bytes decode() function is used to convert bytes to string object. Both these functions allow us to specify the error handling scheme to use for encodi [...]
https://www.digitalocean.com/community/tutorials/java-sort-list
Sometimes we have to sort a list in Java before processing its elements. In this tutorial, we will learn how to sort a list in the natural order. We will also learn how to use our own Comparator implementation to sort a list of objects. Java List is similar to arrays except that the length of the list is dynamic and it comes in Java Collection framework. Actually, List is an interface and most of [...]
https://www.digitalocean.com/community/tutorials/java-catch-multiple-exceptions-rethrow-exception
In Java 7, catch block has been improved to handle multiple exceptions in a single catch block. If you are catching multiple exceptions and they have similar code, then using this feature will reduce code duplication. Let's understand java catch multiple exceptions feature with an example. Java catch multiple exceptions Before Java 7, we used to catch multiple exceptions one by one as shown below [...]
https://www.digitalocean.com/community/tutorials/java-8-stream
Welcome to Java 8 Stream API tutorial. In the last few java 8 posts, we looked into Java 8 Interface Changes and Functional Interfaces and Lambda Expressions. Today we will look into one of the major API introduced in Java 8 - Java Stream. Java 8 Stream Java 8 Stream Collections and Java Stream Functional Interfaces in Java 8 Stream Function and BiFunction Predicate and BiPredicate Consumer and [...]
https://www.digitalocean.com/community/tutorials/set-to-list-in-java
Lists in Java are ordered collection of data, whereas sets are an unordered collection of data. A list can have duplicate entries, a set can not. Both the data structures are useful in different scenarios. Knowing how to convert a set into a list is useful. It can convert unordered data into ordered data. Initializing a set Let's initialize a set and add some elements to it. import java.util.*; [...]
La veille Haut de page Lendemain
Note : Webriche.fr est un agrégateur de flux RSS. C'est à dire un outil automatique qui regroupe l'accès à des informations, dont il n'est ni le rédacteur, ni l'éditeur.
Pour toutes questions, merci de contacter Richard Carlier.
Ceci est un site qui explore certains mécanismes du Web 2.0, histoire de jouer avec tout ça...
Oui, une sorte de mashup 2.0 appliqué à la veille informationnelle... Hum, rien de neuf ?
Expérimental, c'est un site collaboratif à usage d'une seule personne. Ou presque.