I was apparently to lazy to find it out myself... :-)
Thanx anyway.

Thanks!!
You're statement worked as it should - even though you've never worked with the language.. :-)

:-)
I just cut off a part of the XML-document which was valid for my question.. :-)
Here is the complete XML document (in Norwegian language):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns1:ResultsResponse xmlns:ns1="http://norsk-tipping.no/betobject/Results" OperationVersion="4.4.0" ns1:Version="1.11"><ns1:Result><ns1:ResultCode>0</ns1:ResultCode><ns1:ResultDescription>OK</ns1:ResultDescription></ns1:Result><ns1:Tipping Id="10" Name="Tipping Midtuke"><ns1:Coupon Id="32967"><ns1:Date>2018-11-07</ns1:Date><ns1:SaleStartTime>2018-10-31T20:02:00.000+01:00</ns1:SaleStartTime><ns1:SaleStopTime>2018-11-07T20:55:00.000+01:00</ns1:SaleStopTime><ns1:SaleStatusNo>2</ns1:SaleStatusNo><ns1:SaleStatusName>Closed</ns1:SaleStatusName><ns1:SaleAmount>1653270</ns1:SaleAmount><ns1:Event><ns1:Number>1</ns1:Number><ns1:Name>Juventus - Manchester United</ns1:Name><ns1:MatchId>939739</ns1:MatchId><ns1:ArrangementId>1469</ns1:ArrangementId><ns1:ArrangementName>Champ. League Gr H</ns1:ArrangementName><ns1:SportId>70</ns1:SportId><ns1:SportName>Fotball</ns1:SportName><ns1:Time>2018-11-07T21:00:00.000+01:00</ns1:Time><ns1:Status Id="100">Slutt</ns1:Status><ns1:Item id="2687"><ns1:Number>1</ns1:Number><ns1:Name>Juventus</ns1:Name><ns1:ShortName>Juventu</ns1:ShortName><ns1:Abbreviation>Juventus</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">1</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">1</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">0</ns1:Result></ns1:Results></ns1:Item><ns1:Item id="35"><ns1:Number>2</ns1:Number><ns1:Name>Manchester United</ns1:Name><ns1:ShortName>Man Utd</ns1:ShortName><ns1:Abbreviation>Manchester United</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">2</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">2</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">0</ns1:Result></ns1:Results></ns1:Item><ns1:Selection><ns1:SelectionSeqNo>1</ns1:SelectionSeqNo><ns1:SelectionName>H</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>2</ns1:SelectionSeqNo><ns1:SelectionName>U</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>3</ns1:SelectionSeqNo><ns1:SelectionName>B</ns1:SelectionName><ns1:Winner>Y</ns1:Winner></ns1:Selection><ns1:TipType Name="Folkerekka"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">58</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">27</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">15</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:TipType Name="Eksperttips"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">69</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">17</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">14</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:LivebetObjects>true</ns1:LivebetObjects><ns1:ExternalEventId>15511486</ns1:ExternalEventId><ns1:Withdrawn>false</ns1:Withdrawn></ns1:Event><ns1:Event><ns1:Number>2</ns1:Number><ns1:Name>Manchester City - Shakhtar Donetsk</ns1:Name><ns1:MatchId>939736</ns1:MatchId><ns1:ArrangementId>1467</ns1:ArrangementId><ns1:ArrangementName>Champ. League Gr F</ns1:ArrangementName><ns1:SportId>70</ns1:SportId><ns1:SportName>Fotball</ns1:SportName><ns1:Time>2018-11-07T21:00:00.000+01:00</ns1:Time><ns1:Status Id="100">Slutt</ns1:Status><ns1:Item id="17"><ns1:Number>1</ns1:Number><ns1:Name>Manchester City</ns1:Name><ns1:ShortName>ManCity</ns1:ShortName><ns1:Abbreviation>Manchester City</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">6</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">6</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">2</ns1:Result></ns1:Results></ns1:Item><ns1:Item id="3313"><ns1:Number>2</ns1:Number><ns1:Name>Shakhtar Donetsk</ns1:Name><ns1:ShortName>S Donet</ns1:ShortName><ns1:Abbreviation>Shakhtar Donetsk</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">0</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">0</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">0</ns1:Result></ns1:Results></ns1:Item><ns1:Selection><ns1:SelectionSeqNo>1</ns1:SelectionSeqNo><ns1:SelectionName>H</ns1:SelectionName><ns1:Winner>Y</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>2</ns1:SelectionSeqNo><ns1:SelectionName>U</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>3</ns1:SelectionSeqNo><ns1:SelectionName>B</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:TipType Name="Folkerekka"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">90</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">7</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">3</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:TipType Name="Eksperttips"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">91</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">5</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">4</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:LivebetObjects>true</ns1:LivebetObjects><ns1:ExternalEventId>15511474</ns1:ExternalEventId><ns1:Withdrawn>false</ns1:Withdrawn></ns1:Event><ns1:Event><ns1:Number>3</ns1:Number><ns1:Name>Lyon - TSG 1899 Hoffenheim</ns1:Name><ns1:MatchId>939737</ns1:MatchId><ns1:ArrangementId>1467</ns1:ArrangementId><ns1:ArrangementName>Champ. League Gr F</ns1:ArrangementName><ns1:SportId>70</ns1:SportId><ns1:SportName>Fotball</ns1:SportName><ns1:Time>2018-11-07T21:00:00.000+01:00</ns1:Time><ns1:Status Id="100">Slutt</ns1:Status><ns1:Item id="1649"><ns1:Number>1</ns1:Number><ns1:Name>Lyon</ns1:Name><ns1:ShortName>Lyon</ns1:ShortName><ns1:Abbreviation>Lyon</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">2</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">2</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">2</ns1:Result></ns1:Results></ns1:Item><ns1:Item id="2569"><ns1:Number>2</ns1:Number><ns1:Name>TSG 1899 Hoffenheim</ns1:Name><ns1:ShortName>Hoffenh</ns1:ShortName><ns1:Abbreviation>TSG Hoffenheim</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">2</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">2</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">0</ns1:Result></ns1:Results></ns1:Item><ns1:Selection><ns1:SelectionSeqNo>1</ns1:SelectionSeqNo><ns1:SelectionName>H</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>2</ns1:SelectionSeqNo><ns1:SelectionName>U</ns1:SelectionName><ns1:Winner>Y</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>3</ns1:SelectionSeqNo><ns1:SelectionName>B</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:TipType Name="Folkerekka"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">53</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">29</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">18</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:TipType Name="Eksperttips"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">54</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">24</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">22</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:LivebetObjects>true</ns1:LivebetObjects><ns1:ExternalEventId>15511476</ns1:ExternalEventId><ns1:Withdrawn>false</ns1:Withdrawn></ns1:Event><ns1:Event><ns1:Number>4</ns1:Number><ns1:Name>Bayern München - AEK Athen</ns1:Name><ns1:MatchId>939735</ns1:MatchId><ns1:ArrangementId>1466</ns1:ArrangementId><ns1:ArrangementName>Champ. League Gr E</ns1:ArrangementName><ns1:SportId>70</ns1:SportId><ns1:SportName>Fotball</ns1:SportName><ns1:Time>2018-11-07T21:00:00.000+01:00</ns1:Time><ns1:Status Id="100">Slutt</ns1:Status><ns1:Item id="2672"><ns1:Number>1</ns1:Number><ns1:Name>Bayern München</ns1:Name><ns1:ShortName>B Münch</ns1:ShortName><ns1:Abbreviation>Bayern München</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">2</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">2</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">1</ns1:Result></ns1:Results></ns1:Item><ns1:Item id="3250"><ns1:Number>2</ns1:Number><ns1:Name>AEK Athen</ns1:Name><ns1:ShortName>AEK Ath</ns1:ShortName><ns1:Abbreviation>AEK Athen</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">0</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">0</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">0</ns1:Result></ns1:Results></ns1:Item><ns1:Selection><ns1:SelectionSeqNo>1</ns1:SelectionSeqNo><ns1:SelectionName>H</ns1:SelectionName><ns1:Winner>Y</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>2</ns1:SelectionSeqNo><ns1:SelectionName>U</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>3</ns1:SelectionSeqNo><ns1:SelectionName>B</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:TipType Name="Folkerekka"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">90</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">7</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">3</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:TipType Name="Eksperttips"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">95</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">3</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">2</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:LivebetObjects>true</ns1:LivebetObjects><ns1:ExternalEventId>15511472</ns1:ExternalEventId><ns1:Withdrawn>false</ns1:Withdrawn></ns1:Event><ns1:Event><ns1:Number>5</ns1:Number><ns1:Name>Benfica - Ajax</ns1:Name><ns1:MatchId>939734</ns1:MatchId><ns1:ArrangementId>1466</ns1:ArrangementId><ns1:ArrangementName>Champ. League Gr E</ns1:ArrangementName><ns1:SportId>70</ns1:SportId><ns1:SportName>Fotball</ns1:SportName><ns1:Time>2018-11-07T21:00:00.000+01:00</ns1:Time><ns1:Status Id="100">Slutt</ns1:Status><ns1:Item id="3006"><ns1:Number>1</ns1:Number><ns1:Name>Benfica</ns1:Name><ns1:ShortName>Benfica</ns1:ShortName><ns1:Abbreviation>Benfica</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">1</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">1</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">1</ns1:Result></ns1:Results></ns1:Item><ns1:Item id="2953"><ns1:Number>2</ns1:Number><ns1:Name>Ajax</ns1:Name><ns1:ShortName>Ajax</ns1:ShortName><ns1:Abbreviation>Ajax</ns1:Abbreviation><ns1:Results><ns1:Result Id="0" Name="Stilling">1</ns1:Result><ns1:Result Id="1" Name="Fulltidsresultat">1</ns1:Result><ns1:Result Id="2" Name="Pauseresultat">0</ns1:Result></ns1:Results></ns1:Item><ns1:Selection><ns1:SelectionSeqNo>1</ns1:SelectionSeqNo><ns1:SelectionName>H</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>2</ns1:SelectionSeqNo><ns1:SelectionName>U</ns1:SelectionName><ns1:Winner>Y</ns1:Winner></ns1:Selection><ns1:Selection><ns1:SelectionSeqNo>3</ns1:SelectionSeqNo><ns1:SelectionName>B</ns1:SelectionName><ns1:Winner>N</ns1:Winner></ns1:Selection><ns1:TipType Name="Folkerekka"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">39</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">32</ns1:TipSelection><ns1:TipSelection Name="B" SeqNo="3">29</ns1:TipSelection></ns1:TipSupplier></ns1:TipType><ns1:TipType Name="Eksperttips"><ns1:TipSupplier Name="Norsk Tipping"><ns1:TipSelection Name="H" SeqNo="1">42</ns1:TipSelection><ns1:TipSelection Name="U" SeqNo="2">29</ns1:TipSelection><ns1:TipSelection Name="B" ...
commented: That passed the XML tester. +15

I'm using Gambas as my language.. :-)
Now I have a problem getting some values from an XML document.
I'm using xml.gb as my "plugin".

The XML document is:

"<ns1:Event>
    <ns1:Number>1</ns1:Number>
    <ns1:Name>Home Team - Away Team</ns1:Name>
    <ns1:Status Id="100">End</ns1:Status>
    <ns1:Results>
        <ns1:Result Id="0" Name="Result">2</ns1:Result>
        <ns1:Result Id="1" Name="Fulltime">2</ns1:Result>
        <ns1:Result Id="2" Name="Halftime">0</ns1:Result>
    </ns1:Results>
</ns1:Event>"

My code so far is:

Dim i As Integer
Dim iKampnr As Integer
Dim iRes As New Integer[]
Dim hXMLDocument As XmlDocument
Dim xeElements As XmlElement[]
Dim tempElements As XmlElement[]
Dim xeNode As XmlNode[]
Dim xsRecord As String[]
Dim sSplit As New String[]
Dim yData As New XMLNT
Dim rData As New XMLNT[]
Dim sTemp As String
Dim n as integer = -1

   rData = New XMLNT[]

   hXMLDocument = New XmlDocument
   hXMLDocument.Open(sURL)

   xeNode = New XmlNode[]

   xeElements = New XmlElement[]
   xeElements = hXMLDocument.GetElementsByTagName("ns1:Event")  

   xeNode = xeElements[0].AllChildNodes

   xsRecord = New String[]

'' -- Fetching information --    

 For i = n + 1 To xeElements.Max     
    yData = New XMLNT     

    With yData
      .sMatch = xeElements[i].GetChildrenByTagName("ns1:Name")[0].TextContent
      .sMatchTime = xeElements[i].GetChildrenByTagName("ns1:Time")[0].TextContent
      sSplit = subPickTime(.sMatchTime)
      .sMatchDate = sSplit[0]
      .sMatchTime = sSplit[1]

      .sStatus = xeElements[i].GetChildrenByTagName("ns1:Status")[0].TextContent
      .sLeague = xeElements[i].GetChildrenByTagName("ns1:ArrangementName")[0].TextContent

     If (xeElements[i].GetChildrenByTagName("ns1:Withdrawn")[0].TextContent) == "false" Then
      .bWithDrawn = False
      Else If (xeElements[i].GetChildrenByTagName("ns1:Withdrawn")[0].TextContent) == "true" Then 
      .bWithDrawn = True
      Endif
    End With

     rData.Add(yData)    
 Next

But I need to know how I can get the status code "100" from the statement "<ns1:Status Id="100">End</ns1:Status>".
The statement "xeElements[i].GetChildrenByTagName("ns1:Status")[0].TextContent" gives me the variable value "End".

Anyone ?

|

The reason is that I have done a lot of work developing my program in Gambas, and I have neither the time nor the resources to convert it to another language right now. :-)

I'll try to use gb.net.curl which I stumbled over when I was searching for a solution. Thanks anyway.

I want to read content from a web page and store it in a string array using the programming language Gambas (a BASIC language used on Linux).
Eventually I could program it in C/C++ and call the routine from Gambas.

The URL is on the form: https://www.webpage.com/test#task

Thanks for the information. I'll look to see if I can find another solution. Maybe I could use some of the led lights which could be directly connected to the camera module.

And yes: I was thinking of a light on RPI, not on the meters themselves... :-)

rubberman: Thanks. I'm looking forward to hear from you (or him)... :-)

I have a technical room in my flat where I have (among other things) two meters counting the use of hot and cold water.
To automate the task of reading these counters I want to use a Raspberry PI model 3 with a camera module, controlling the process from an app on my Android phone - or from my Linux PC as well.
The two meters are placed in the inner part of the room, and because I'm a little short of space in my flat I need to put up a wall (to be easily removed when needed) so that I could use the rest of the room for storing goods.
To be able to read the meters after setting up the walls I need some sort of light source connected to my rp model 3 (preferably using the GPIO-contact) which could be controlled by software.
Does anyone know about a ready-made solution which I could use ? I don't want to use much time to make something of my own.. :-)

@AssertNull

I did this project in Gambas because it was the easiest way for me to get it "on the run" so that I could use it as fast as possible.. :-)
The program I'm developing does all the job for me so that I can deliver my systems for soccer betting whenever I want (and it is the first program of it's kind which is written exclusivly for the Linux platform).

GAMBAS is an excellent tool to get things running in a fast way. Maybe I'll transform it to C++ sometime in the future.

And I'm not a student. In fact I had to retire from work 5 years ago due to health problems, and before that I worked 25 years in the IT-industry. Mainly on support, but also on network and security. And programming has been my hobby for years...

AssertNull:
I wondered if it was correct to use the terms "permutations" and/or "combinations" in this question, but I had to name it something.. .:-)

So I think I'll go further with the "brute force" method, and then try to refine it if I find some pattern I could follow..

This project is about doing predicitions for soccer games (which could have three outcomes: home win, draw or away win, hence using the terms 4-2-1 which again could be regarded as octal values => binary: 100 - 010 - 001). In my country we have the possibility to bet for 12 games three times a week, both fulltime or halftime. 12 games with 3 outcomes gives 3^12 possible results ==> 531 441. And usually there is cash prizes if you have 12, 11 or 10 correct results... :-)

Most of my program is already finished (for the moment I'm using Gambas as programming language), but this challenge is really a challenge..

Let's call the maximum number of permutations for A, and the subset I'm looking for B.
(In my example A equals 81 combinations, and B equals 9 combinations).

A is known, but B is unknown.
(In my example I used an "old" and well-known "solution").

Then I'll have to pick the first combination in A and find out which other combinations fullfills the requirement.
Let's call these other combinations C.

So I must exclude the C combinations from A, and find the next combination in A which could be used to check the remaining combinations (and so on).

But then again: How will I know that this will give me the minimum number of combinations ? It's not given that I should start with the first combination in A.. (And what a large job this would be if I tried to run 12 outcomes with 3 states for each: 3^12 = 531 441 combinations..)

So I really need some other thoughts on this...
(NOTE: I did a typo error in my last post: It's 3^4 = 81 combinations, not 4^3.. )

I know permutation, and I know how to calculate permutations. The question is HOW to find the combinations which gives me 2 out of 3 for each of them in the example above.

If you have 4 outcomes with 3 states each you have 4^3 = 81 different combinations.
Mathematically you need 81 / 9 = 9 combinations to fullfill this requirement to give you 3 out of 4 correct states.
If you use 4, 2 and 1 as the different states you have these 9 combinations which gives you 3 out of 4 states no matter which of the 81 different combinations you try...

O1: 1 4 2 1 4 2 1 4 2
O2: 2 4 1 4 1 2 1 2 4
O3: 4 2 1 1 4 2 2 1 4
O4: 4 4 4 2 2 2 1 1 1

You have 4 correct states in 9 out of 81, and 3 correct states + 3*2 correct states in 72 out of 81 combinations.

I'm looking for an algorithm which gives me these 9 combinations when I know that there are 81 combinations for all.

I have an outcome (O) which could have three states: octal 4, octal 2 or octal 1.
With three such outcomes I have 27 combinations.
The challenge is to find an algorithm which gives me the minimum number of combinations (NK) which always gives me minimum 2 of 3 states correct.
An example: The combinations 4-4-4 covers the following combinations: 4-4-4, 4-4-2, 4-2-4, 2-4-4, 4-4-1, 4-1-4, 1-4-4 given this requirement.
Mathematically this could be done with only 4 combinations, but how do I find them ???
(The total challenge covers 2-3 states and up til 12 outcomes).

Now it's working!
1) I switched from line input to microphone input.
2) In PulseAudio Volume Control I adjusted the volume of the Front Mic (which I'm using) so that the Silence meter is set as low as possible.
Then I got rid of that annoying noise in the speakers.. :-)
3) Then I started QJackCtrl-panel, started the Jack Server and choose the Audio tab.
4) There I found "system" under both "Readable Clients/Output ports" and "Writeable Clients/Input Ports". When I expand both of them I found the following:

Readable Clients/Output ports:

  • capture_1
  • capture_2
  • monitor_1
  • monitor_2

Writeable Clients/Input ports:

  • playback_1
  • playback_2

5) By connecting capture_1 with playback_1 and playback_2 I got the sound out of my speakers AND I was able to record the sound in Audacity. :-)

6) The settings in Audacity was straightforward:

JACK Audio Connection Kit
system
2 (Stereo Recording Channels)
system

7) But I lost the ability to record from streaming output like i.e. Spotify or YouTube. Any suggestions ?

I have a pretty modern desktop PC with both input and output lines so the hardware should be good enough.
Since I've managed to get the sound through from my cassette player/recorder to my speakers there might be a hope that I could fix the rest as well. I'll dive into both PulseAudio and JACK documentation to see what I can get out of it.

I've been using Audacity to record from Spotify, YouTube and other sources in the past so I know the program pretty well. But I have never succeeded in recording using line in as source.

Thanks anyway for the information so far.

Hello rubberman!

I loaded the pulseaudio-loopback module using the command 'pactl load-module module-loopback latency_msec=1'
and then I'm able to hear the sound from my cassette record in my speakers with a bit of (well, a lot of..) noise.
I'll look at it tomorrow. Now it's time to bed here in Europe.. :-)))

I want to use my Linux Mint 18 (kernel version 4.4.0-62) computer to record music/recordings from (old) cassette tapes to disk using Audacity version 2.1.2.
I'm using a cable between the headphone output of the cassette recorder to the input line of my computer, and I want to be able to monitor the recordings through the speakers connected to the computer.

Linux Mint comes with ALSA and PulseAudio as standard, but I have also installed Jack2 as an alternate sound server.
But what do I do know ? Is it possible to use ALSA and PulseAudio to solve this task or should I use Jack2 alone or somehow together with PulseAudio ?
And how do I set up my system to make this work ?

I have removed old Windows-files, and I'm aware of the one month thing.
What I want is to get rid of the possibility to downgrade in Windows NOW.. :-)
(The button you can click on to downgrade..)

Is it possible to remove the downgrade option in Windows 10 ?
I have upgraded from Windows 7 Pro and now I want to stay with Windows 10.

So it's impossible to use Keepass with the Edge browser ????

When I want to use Firefox with the KeePass Password Manager I have the KeeFox add-on.
But it there anything similar to use if you want to integrate your KeePass password database with the new Microsoft Edge browser,
or is it another way to do it ?

I have been in the business for so long that I KNOW that content you don't have backup of will be lost - sooner or later.
Today I use one of my 3TB drives mainly for storing TV shows recorded from my satelite desktop box (and the disk is nearly full).
I can afford to lose that one.. :-)
The second one is used for storing downloads, documents, my e-mail archive for Thunderbird and other important stuff.
I'm going to backup it to different external HDDs and cloud storage. This is the important part for me..

So yes: I'm aware of the risks...
(and I should be as an CISSP..)

SSDs are practically noise free, but they are not cheap - especially if you want much storage ( > 2 TB).
I need the 6TB diskspace, but can't afford to buy 3 x 2TB SSDs (as an example).. :-)
Thanks for your interest, anyway... :-)

Well, it's not that important... I won't use my time (and money) to create a unique solution "all by myself".
So if there's no off-the-shelf solution available I think I rather drop it and use the built-in brackets in my PC case.
(The idea was that by mounting the HDD on a PCI-e expansion card the noise from the HDD would be lower than by using the mounting brackets in the PC chassis itself. But I might be wrong on that as well...).

I have built a new desktop machine running Ubuntu 15.10 (Cinnamon/GNOME desktop) with the following spec:
(Tried to use Linux Mint 17.3, but it had no support for Skylake Graphics out-of-the box).

  • Fractal Design Core 2500 Midi Tower chassis (it's a nice one..)
  • MSI H170A PC MATE motherboard
  • Intel Core i5-6400 Skylake (Quad core, 2.7 GHz)
  • 32 GB RAM (will be expanded to 64GB as soon as I can afford it.. :-) )
  • 250 GB Samsung EVO SSD
  • 2 x 3TB HDD (Toshiba and Seagate Barracuda)
  • 550W PSU (Cooler Master G550M)

Obviously when I removed the HDDs the system was practially noiseless, but when adding the HDDs it was not noiseless anymore... :-(
The noise is by no means very disturbing, but compared to a system with only SSD-disk(s) it's noticeably.
At this point I was wondering if it was possible to put the HDDs on an PCI-express card (with SATA-connections).

(Sorry if my English/American language is not perfect. It's ...

You have a point...
Maybe I should reject the whole idea and use the 3.5'' HDD as they are today.
I just wonder if there was any solution to this "problem" somewhere...

There are a lot of PCI-e cards with SATA-connections, but none of them seems to hold the 3.5'' drives.
And that is (ufortunately) what I want right now... :-(

Does anyone know if there is an internal PCI-express card on the market with SATA-connections where you could put your old 3.5'' HDDs ?
There are a lot of SSDs on the market for this purpose, but I have some special needs.. :-)

No, but I'll check it.

Hi,
I am connected to my internet router and my satelite set-top box using TP HomePlugs. My desktop computer is on the first floor, while my router and set-top box are on the ground floor.
Sometimes I loose connection to my router, but not my set-top box. The ethernet interface still works, but ping and packets are not travelling to my router. In such cases I have to wait to see if the problem solves itself, or I have to reset the HomePlug connected to my internet router.

My internet router also has wireless capability, and so I'm using a D-Link DWA-140 USB stick to connect to it using the wireless connection.

I was thinking of using the bonding function in Linux to try to solve this problem by bonding my ethernet and wireless interface. But it seems to me that this will only work if the ethernet interface is physically stopping (or is being disconnected).

So: Is there anyone who can point me in any direction which could help me with my problem ?
If I ping a certain host on the internet and this host is not responding (it's a name server belonging to a central Internet provider in my country so it's not very likely that it will not be available...)
then connection via the TP HomePlug is lost, and I want to use the WiFi-connection.

One way to do this is to delete the default route (which is routed via the ethernet interface) and define it ...