Bitcoin Forum
May 07, 2024, 11:13:45 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
1  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: September 30, 2019, 07:23:13 PM
You F#'s,
four months of hospitals and you treat me with another 2xx pages of threads. Nethertheless, I'm glad to be back.  Grin

BTC: Scalping 9.-9.4k  Roll Eyes
2  Local / Trading und Spekulation / Re: Der Aktuelle Kursverlauf on: September 30, 2019, 07:19:15 PM
Zum Kurs:
Ich hab ein gutes Gefühl werde Morgen zum letzten mal nachschlagen danach gehen wir bestimmt über die 200MA  Grin

Ich denke um die 200MA wird noch etwas gekämpft. Kurzfristig ist mein Target 9-9.4k.

(Bin zurück. 4 Monate Krankenhaus gut überstanden.)
3  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NEM (XEM) Official Thread - 100% New Code - Easy To Use APIs on: June 27, 2019, 09:47:24 AM
Agree with you. A lot of news, no price jump, only downward  https://poloniex.com/exchange#btc_xem

I'll be interested to see how it acts if/when there's a generalised alt pump. I'm going to give it to the end of the year to see if there are any signs of life. It's not looking good but things can turn on a dime.



Yep. I was wondering about that too. A generalised alt pump wont happen though unless BTC takes a break. In saying that though, Nem is up 14% in the last 24hrs

XEM/BTC is still crazy cheap. I am awaiting a breakout from the fallen wedge pattern.
4  Bitcoin / Project Development / Re: [project] api.loyce.club: crowdsourcing Bitcointalk data on: June 26, 2019, 07:58:41 PM
Can't follow all the changes anymore, but at least one versions seems to be working. Can you paste the code of the file here again?
I've copied each .php to .txt at http://api.loyce.club/crowdsourcing/ so you can read them.

I will have a look deeper look into it when I have some time.

Quote
I am not sure how you process all the data. Maybe you can tell us how exactly you get the data and how you are saving it into your .txt file.
This one is actually quite simple:
1. I download and extract https://bitcointalk.org/merit.txt.xz
2. I overwrite the last ~113 days in merit.all.txt with the new ~120 days
The format is the same as the forum's data dump, I only add historic records.

Ahh okay.
You know what? I skip the deeper look into the script. As soon as I am back home, I will provide you with:
1. a new script which creates a SQL DB with a table.
2. some slim browser interface to paste the effected lines from the .txt-file into.
3. some SQL magic  Cheesy
5  Bitcoin / Project Development / Re: [project] api.loyce.club: crowdsourcing Bitcointalk data on: June 26, 2019, 06:07:55 PM
Results:
This works: http://api.loyce.club/crowdsourcing/CryptoNeed_Initscri_tab.php?donor=35
This doesn't work: http://api.loyce.club/crowdsourcing/CryptoNeed_Initscri_tab.php?recipient=35

The one that works is quite slow to generate, I'm not sure how useful this is going to be for an API that loads data on many users.

Can't follow all the changes anymore, but at least one versions seems to be working. Can you paste the code of the file here again?

It's so slow because of the .txt file. And the larger the .txt file becomes, the longer it will need to load.
The Algo is as follows:
1. Open/Download the file
2. Read the file (line by line)
3. Delete special chars
4. Build an array
5. Go through the whole array
6. Display matches with user id.


What we can do against this is:
Write a script to to import the whole txt into a SQL-DB. This would increase the speed to "infinity". But once the DB is established you need to keep care of it and save all new data to this DB.
I am not sure how you process all the data. Maybe you can tell us how exactly you get the data and how you are saving it into your .txt file.

6  Bitcoin / Project Development / Re: [project] api.loyce.club: crowdsourcing Bitcointalk data on: June 26, 2019, 09:19:54 AM
I've uploaded it to http://api.loyce.club/crowdsourcing/CryptoNeed.html but it gives some errors.

I pm'd you. File extension should be .php instead of .html.
(I called it html version because of it's output.)
7  Bitcoin / Project Development / Re: [project] api.loyce.club: crowdsourcing Bitcointalk data on: June 26, 2019, 06:11:50 AM
I'm assuming he uses a script to build it.

Yes for sure. At least I hope so.  Grin
By hand I meant sth like fetching data from the website via script.

I pm'd him an "updated" version to have forms at the html one, so that the loaded script doesn't appear totally empty.
How is your progress on the combined script with RegEx, Initscri?

Code:
<html>
<head>
<title>Merit LookUp</title>
</head>
<body>
<form action="merithtml.php" method="get">
Donor: <input type="text" name="donor" default="0"><input type="submit"><br />
</form>
<form action="merithtml.php" method="get">
Recipient: <input type="text" name="recipient"><input type="submit"><br />
</form>
<?php
//GET Request by: merithtml.php?donor=USERID

$url "merit.all.txt"
$file file($url);
$file str_replace(" "",",$file);
$file str_replace("\r\n""",$file);
// put the array together
foreach ($file as $line => $value) {
$value explode(","$value);
    
$bigArray[] = array("Donor" => $value[3], "Recipient" => $value[4], "Merits" => $value[1], "Msg" => $value[2], "DTG" => $value[0]);
}

function 
searchForDonor($uid$array) {
echo "<table>";
foreach ($array as $key => $val) {
if($val["Donor"] === $uid) {
//print_r($array[$key]);
echo "<tr>
<td>"
.date("d.m.Y H:i:s"$val["DTG"])."</td>
<td><a href='https://bitcointalk.org/index.php?topic="
.$val["Msg"]."#"strstr($val["Msg"], "msg")."'>".$val["Msg"]."</a></td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Donor"]."'>".$val["Donor"]."</a></td>
<td>-("
.$val["Merits"].")-></td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Recipient"]."'>".$val["Recipient"]."</a></td>
</tr>"
;

}
echo "</table>";
return null;
}

function 
searchForRecipient($uid$array) {
echo "<table>";
foreach ($array as $key => $val) {
if($val["Recipient"] === $uid) {
//print_r($array[$key]);
echo "<tr>
<td>"
.date("d.m.Y H:i:s"$val["DTG"])."</td>
<td><a href='https://bitcointalk.org/index.php?topic="
.$val["Msg"]."#"strstr($val["Msg"], "msg")."'>".$val["Msg"]."</a></td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Recipient"]."'>".$val["Recipient"]."</a></td>
<td><-("
.$val["Merits"].")-</td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Donor"]."'>".$val["Donor"]."</a></td>
</tr>"
;

}
echo "</table>";
return null;
}

if(isset(
$_GET["donor"])) {
searchForDonor($_GET["donor"], $bigArray);


if(isset(
$_GET["recipient"])) {
searchForRecipient($_GET["recipient"], $bigArray);

}

?>


</body>
</html>

Also, I decided to regain some of my PHP skills. Have forgotten how much fun it is.  Smiley

Haven't had a chance to make any modifications as of yet. Been swamped.

Is that the new code you're working off of?

Nah, currently not working on it as I have some social events coming up this week. I just added a form and thats all.
Will have some time next week.
8  Local / Trading und Spekulation / Re: Der Aktuelle Kursverlauf on: June 26, 2019, 05:31:19 AM
Wie sind eure Strategien?

Dasselbe wie immer ... einfach weiter hodl'en.
Aus Trading sicht ist mein nächstes Target ~13.5k (61% fib vom letzten ATH).
9  Bitcoin / Project Development / Re: [project] api.loyce.club: crowdsourcing Bitcointalk data on: June 26, 2019, 05:18:59 AM
I'm assuming he uses a script to build it.

Yes for sure. At least I hope so.  Grin
By hand I meant sth like fetching data from the website via script.

I pm'd him an "updated" version to have forms at the html one, so that the loaded script doesn't appear totally empty.
How is your progress on the combined script with RegEx, Initscri?

Code:
<html>
<head>
<title>Merit LookUp</title>
</head>
<body>
<form action="merithtml.php" method="get">
Donor: <input type="text" name="donor" default="0"><input type="submit"><br />
</form>
<form action="merithtml.php" method="get">
Recipient: <input type="text" name="recipient"><input type="submit"><br />
</form>
<?php
//GET Request by: merithtml.php?donor=USERID

$url "merit.all.txt"
$file file($url);
$file str_replace(" "",",$file);
$file str_replace("\r\n""",$file);
// put the array together
foreach ($file as $line => $value) {
$value explode(","$value);
    
$bigArray[] = array("Donor" => $value[3], "Recipient" => $value[4], "Merits" => $value[1], "Msg" => $value[2], "DTG" => $value[0]);
}

function 
searchForDonor($uid$array) {
echo "<table>";
foreach ($array as $key => $val) {
if($val["Donor"] === $uid) {
//print_r($array[$key]);
echo "<tr>
<td>"
.date("d.m.Y H:i:s"$val["DTG"])."</td>
<td><a href='https://bitcointalk.org/index.php?topic="
.$val["Msg"]."#"strstr($val["Msg"], "msg")."'>".$val["Msg"]."</a></td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Donor"]."'>".$val["Donor"]."</a></td>
<td>-("
.$val["Merits"].")-></td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Recipient"]."'>".$val["Recipient"]."</a></td>
</tr>"
;

}
echo "</table>";
return null;
}

function 
searchForRecipient($uid$array) {
echo "<table>";
foreach ($array as $key => $val) {
if($val["Recipient"] === $uid) {
//print_r($array[$key]);
echo "<tr>
<td>"
.date("d.m.Y H:i:s"$val["DTG"])."</td>
<td><a href='https://bitcointalk.org/index.php?topic="
.$val["Msg"]."#"strstr($val["Msg"], "msg")."'>".$val["Msg"]."</a></td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Recipient"]."'>".$val["Recipient"]."</a></td>
<td><-("
.$val["Merits"].")-</td>
<td><a href='https://bitcointalk.org/index.php?action=profile;u="
.$val["Donor"]."'>".$val["Donor"]."</a></td>
</tr>"
;

}
echo "</table>";
return null;
}

if(isset(
$_GET["donor"])) {
searchForDonor($_GET["donor"], $bigArray);


if(isset(
$_GET["recipient"])) {
searchForRecipient($_GET["recipient"], $bigArray);

}

?>


</body>
</html>

Also, I decided to regain some of my PHP skills. Have forgotten how much fun it is.  Smiley
10  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: June 26, 2019, 03:59:25 AM
Watching Boom Bu$t on RT right now as Peter Schiff repeats to say Bitcoin has no inner value to store, but keeps accepting it as payment method. Also: Libra will replace BTC.  Roll Eyes

LMAO
11  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: June 26, 2019, 03:10:06 AM
12k is in again.  Grin
13.5k is 61% fib.
12  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: June 26, 2019, 01:20:48 AM
Good morning WO's!

Whoa, 12.000 observered during the night  Shocked
Support at 11.5k which correlates with 50% fib.
13  Bitcoin / Project Development / Re: [project] api.loyce.club: crowdsourcing Bitcointalk data on: June 26, 2019, 01:16:04 AM
^ in that case, he will also need to log every merit transaction in the mysql database. It’s possible to make an API without an sql server.
Idk if Loyce knows mysql. But he already doesn’t know PHP, so that would just complicate his life. Cheesy
I’ll give a shot on making the API.

As far as I know he doesnt know SQL. I think he is putting all the data together file by hand.
It seems that Loyce did not have uploaded the adjusted the code as under the given URL it is responsing with the old version.


14  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: June 25, 2019, 01:52:35 PM
I use Wirex.
Seems to do the job but only for daily use rather than large cashouts.
I have used Kraken for sums in excess of £30k without too much trouble although KYC is required.

Got the same combo. Wirex works just fine and after KYC Kraken processed a 5-digits cashout without any problems.
15  Local / Trading und Spekulation / Re: Der Aktuelle Kursverlauf on: June 25, 2019, 01:47:20 PM
Der Grayscale Bitcoin Trust wird derzeit bei fsst 15000 USD gehandelt, d.h. da ist noch einiges an Luft nach oben im Kurs die nächsten Tage.
Der GBTCT ist ein guter Indikator meiner Ansicht nach...

Nur weil GBTC bei 15k steht, heißt das nicht dass BTC auch bald bei 15k stehen wird.
16  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: June 25, 2019, 12:59:57 PM
Let's see if it's only a dip or a bigger correction. Much needed imho.
17  Local / Trading und Spekulation / Re: Der Aktuelle Kursverlauf on: June 25, 2019, 11:53:09 AM
Ich sag doch sie Flüchten aber mir glaubt ja wieder keiner  Undecided Grin Grin
Ich glaub Langsam Keanu Reeves hatte Recht ..
Quote
Matrix wasn´t a Movie it was a Documantation


Wenn ich mir also ganz doll vorstelle das ich fliegen kann, dann fliege ich?  Grin

Hat das denn in der Schule geklappt? Grin
18  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NEM (XEM) Official Thread - 100% New Code - Easy To Use APIs on: June 25, 2019, 11:42:26 AM
Yep. Looks like NEM is on verge of total crash. People selling it month after month, so it is pretty much game over. On Polo there’s like 25 BTC in buy orders and like 1300 in sell orders.

It's 25 BTC vs 184 BTC. And Poloniex is not very relevant any more. Still, not sexy but many others are not sexy either. Stellar's order book is 32/374

When there is upcoming disbelieve, it's time to buy.
19  Local / Trading und Spekulation / Re: Der Aktuelle Kursverlauf on: June 25, 2019, 07:44:59 AM
Heute morgen im Radio Thema in den Nachrichten: CDU/CSU reicht Antrag auf E-Euro ein, damit soll eine von den Zentralbanken herausgegebene Kryptowährung entstehen, mit denen man andere Kryptowährungen kaufen kann....
Oh man....

finde den Fehler

Auch mal das Positive sehen. Wink
Abgesehen davon stellt ein "E-Euro von Zentralbanken" doch gar keinen Unterschied zum jetzigen System dar - nur leider versteht das die Hausmutter (noch) nicht.
20  Economy / Speculation / Re: Wall Observer BTC/USD - Bitcoin price movement tracking & discussion on: June 25, 2019, 07:29:43 AM
Whelp...mostly successful.

The center booster experienced a rapid unscheduled disassembly it appears.

Otherwise a outstanding mission. wtg SpaceX



Just watched the livestream. "Of cause I still love you" got me.  Grin
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!