Playing a raw audio file on a git hub pages project - audio

So, I just deployed a project on github pages. It includes audio files that it is not picking up. I tried to get them with a raw link like so:
(audio id="playAstring")
(source src="https://raw.githubusercontent.com/TJacks89/Tune-Planet/gh-pages/sounds/Astandard.m4a" type="audio/mp4")
(/audio)
and it is giving me this error message:
"Failed to load resource: the server responded with a status of 404 (Not Found)"
Any ideas?

Related

Azure copy data failed to read data from http server

I am new to ADF. I created an http linked service and it tested successfully (https://rebrickable.com/downloads/). On the http dataset properties page the same url address is in the Base URL. I then put just the file name that exists on that page (themes.csv.gz) in the Relative URL. When I click next to the File format settings page the Preview pane says:
Failed to read data from http server. Check the error from http
server:The remote server returned an error: (404) Not Found. The
remote server returned an error: (404) Not Found. . Activity ID:
0ca9f9c7-438d-461a-81c1-f81bacace4ca
What am I doing wrong please?
I also tried to create a new linked service and point it to my desktop files. I selected'File', left it at AutoresolveIntegrationruntime, put the path in Host. But don't know what do to with User/password. Please help
I hit the above mentioned end point in by browser : https://rebrickable.com/downloads/themes.csv.gz
Looks like the file is not existent at the mentioned location.
I did a quick scan of the page https://rebrickable.com/downloads
Encountered the below file :
Saw the file hyperlinked to this url (This is different from what you're attempting to in the ADF)
https://cdn.rebrickable.com/media/downloads/themes.csv.gz
I was able to download the file by using the above.
Would suggest you to try the above endpoint.
Update your url to https://cdn.rebrickable.com/media/downloads/ in https connection source

Failed to load resource: the server responded with a status of 404 (Not Found) Vue.js

I am trying to display a series of articles from a Google Alerts RSS Feed on my Vue.js application. My back end is Express.js.
Is my back end correct or do adjustments have to be made? If not, do I need a certain script in my index.html or something like "Vue.use(socket.io) " in my main.js?
This is my code.
I receive these errors when I run my application:
Error in my console

Google Speech to text: The video model is currently not supported for language : nl-NL

Url used: https://cloud.google.com/speech-to-text/
I uploaded a wav audio file (exported both as mp3/wav/flac) via audacity.
I Selected "nederlands" (dutch), punctiation can be both on or of and uploaded the export.
First it uploads, gives me the 'transcribing' message and after that:
The video model is currently not supported for language : nl-NL
I see in the console of my browser window:
Failed to load resource: the server responded with a status of 400 ()
speech.min.js:1132 {
"error": {
"code": 400,
"message": "Invalid recognition 'config': The video model is currently not supported for language : nl-NL.",
"status": "INVALID_ARGUMENT"
}
}
cxl-services.appspot.com/proxy?url=https%3A%2F%2Fspeech.googleapis.com%2Fv1p1beta1%2Fspeech%3Arecognize Failed to load resource: the server responded with a status of 500 ()
speech.min.js:1132 A server error occurred!
If I use the microphone to record a message it works properly.
What am I doing wrong?
The speech-to-text API provides four different models to choose from:
video
phone_call
command_and_search
default
(https://cloud.google.com/speech-to-text/docs/basics#select-model)
Not all models are available for all languages. Try using the default model for fr-FR or nl-NL.
I had the same issue with de-DE. It wouldn't work with the video model, but using the default model worked.

Microsoft sample WordCount does not work on Local Cluster

I am trying to learn the development process for Service Fabric
by using one of the popular samples from Microsoft, called WordCount.
I do not have Azure account yet, so I installed the Local Cluster
on my Windows 10. I went through the instructions on Microsoft
website and most of it works. I can see the Cluster Manager with:
http://localhost:19080/Explorer
where I can see the application:
fabric:/WordCount WordCount 1.0.0 OK Ready
From inside the Powershell I can connect to the Local Cluster
and run the cmdlets with output as expected
Get-ServiceFabricApplication
Get-ServiceFabricService -ApplicationName 'fabric:/WordCount'
Get-ServiceFabricPartition 'fabric:/WordCount/WordCountService'
The problem is when I run
http://localhost:8081/wordcount/index.html
the browser does not display anything. It is supposed to display
the counts of words generated by client-side JavaScript
and processed by ASP.NET Web API. My browser has JavaScript enabled.
I do not know yet enough about the code in the sample but I have its solution with 4 projects loaded in VS2017. I just want to make it work ASAP.
Below I attach a part of console output in my browser (FireFox). Apparently, the JS script is getting
[HTTP/1.1 404 Not Found 0ms]
in response to all requests.
POST
XHR
http://localhost:8081//wordcount/index.html/api/AddWord/WYVyl [HTTP/1.1 404 Not Found 0ms]
XML Parsing Error: no root element found
Location: http://localhost:8081//wordcount/index.html/api/AddWord/WYVyl
Line Number 1, Column 1: WYVyl:1:1
POST
XHR
http://localhost:8081//wordcount/index.html/api/AddWord/YcIMv [HTTP/1.1 404 Not Found 0ms]
XML Parsing Error: no root element found
Location: http://localhost:8081//wordcount/index.html/api/AddWord/YcIMv
Line Number 1, Column 1: YcIMv:1:1
GET
XHR
http://localhost:8081//wordcount/index.html/api/Count [HTTP/1.1 404 Not Found 0ms]
XML Parsing Error: no root element found
Location: http://localhost:8081//wordcount/index.html /api/Count?c=0.7465426272903215
Line Number 1, Column 1: Count:1:1
The problem is that you're trying to open up "http://localhost:8081/wordcount/index.html" while you should use "http://localhost:8081/wordcount/". Otherwise the javascript code builds incorrect url to access the services.

How to load font from file resource in Lotus Domino?

I encounter the problem while page loading some web font file stored in the file resource using the url like "revicons.ttf?5510888":
Failed to load resource: the server responded with a status of 400 (Bad Request).
I think it's because of "?5510888" cannot be recognized as correct Domino url command. Is there any workaround except storing the web font file under physical path "data\domino\html"?
You need to add the ?open suffix in order for Domino to be able to serve the request:
revicons.ttf?open&v=5510888

Resources