How Asynchronous JavaScript Works: A Deep Dive into Its Execution Process
Overview
If you are an aspiring JavaScript developer, you will likely be asked whether JavaScript is synchronous or asynchronous.
And when you look around for the answers, you might get mixed answers for it. Some considered that JavaScript is synchro...
How do you use gen_udp in Erlang to do multicasting? I know its in the code, there is just no documentation behind it. Sending out data is obvious and simple. I was wondering on how to add membersh...
Handling Files In Python - Opening, Reading & Writing
Files are used to store information, and when we need to access the information, we open the file and read or modify it. We can use the GUI to perform these operations in our systems.
Many programming languages include methods and functions for manag...
:dets allows us to persist items on disk quickly and natively in Elixir, however there is a chance we can loose data when using this method. In this article we discuss how to create a persistant cache module in Elixir with :dets, why we can lose data and what we can do about it
I would like to copy the file creation date of an mp4 file into the file's metadata. I'm pretty sure this can be done with ffmpeg and some nifty Linux commands.
I want to read the metadata in media files and then save that metadata in a text/xml file, so that I can later insert that data in my database. I would prefer to use ffmpeg.
Also is the same thing
Background version of uploaded video creation in Elixir with Arc and FFmpeg
I tried to make video uploading on Elixir phoenix project using Arc. I need to have different size versions of video. So I used FFmpeg to do this:
def transform(:large, {file, scope}) do
{:ffmpe...
How to associate a file to an hash code, and use it to find the file anywhere in the filesystem
I would like to create a tool (a shell script, or maybe a Python script) to generate and associate an hash code to a file, and then be able to use that hash to retrieve the file in the filesystem (...
I need to calculate the md5 sum of a file in Elixir, how can this be achieved?
I would expect that something like:
iex(15)> {:ok, f} = File.open "file"
{:ok, #PID<0.334.0>}
iex(16)> :c...