190 karma · joined Oct 19, 2022 (4y ago) · 100 submissions
comment 3y ago · link · parent
UX is a problem throughout all crypto. No matter which coin, no matter L1 or L2. It's all still like the internet before the 90s.
comment 3y ago · link · parent
But his answer begins by explaining lightning.
Back early on forsaw that lightning is the way forward and not larger blocks. Which is another indication to me, that he is indeed Nakamoto.
It was a great insight very much in line with Nakamoto's thinking. Nakamoto who forsaw so many things early on like the need for a script instead of just transaction data on the chain.
comment 3y ago · link · parent
In each case, I doubt that it really is hard to figure out who they are.
Maybe it is the way the press and social media work. You get as many clicks for a wild theory as you get for a properly researched opinion.
As for Satoshi Nakamoto: The most obvious candidate seems to be Adam Back. His invention of proof of work, his biography, character, writing style and role as the CEO of the company behind the main wallet software all point to him. Also, his current communication "Bitcoin looks like something that was discovered rather than invented". That's something a creator typically says about a particularly great piece of work they did. Are there any arguments why he might not be the inventor of Bitcoin?
comment 3y ago · link · parent
Here it seems the JS code can fetch data from any domain:
https://github.com/kaangiray26/geddit-app/blob/main/src/js/g...
Since that is not possible in the browser, is that something Capacitor provides?
comment 3y ago · link · parent
But for that I guess I would have to give that thing access to my wifi? I wouldn't want that.
Any ideas if such a product exists and how one could use it shielded from the internet?
10.
1 points · by Timja · 3y ago · 3 comments
comment 3y ago · link · parent
To distinguish between users between of a larger set, you do more such tests and add them all together. Each test adding a few bits of information.
To make the above code more reliable, you can measure the ratio multiple times:
https://jsfiddle.net/dov1zqtL/
I get 9-10 in Firefox and 3-4 in Chrome very reliably when measuring it 10 times.
comment 3y ago · link · parent
We would have to make examples of what Computation1 is and what Computation2 is to make a prediction if certain types of workloads will impact the ratio of their performance.
Example:
s=performance.now();
r=0;
for (i=0; i<1000000; i++) r+=1;
t1=performance.now()-s;
s=performance.now();
r=0;
for (i=0; i<1000000; i++) r+="bladibla".match(/bla/)[0].length;
t2=performance.now()-s;
console.log("Ratio: " + t2/t1);
For me, the ratio is consistently larger in Chrome than in Firefox. Which workload would reverse that?comment 3y ago · link · parent
Just one example: A script which runs many different types of computations. Each computation will take a certain amount of time depending on your hardware and software. So you will get a fingerprint like this:
computation 1: **
computation 2: ****
computation 3: **********
computation 4: **
computation 5: **************
computation 6: ************
computation 7: *********
etc
There is no way to avoid this. You can make the fingerprint more noisy by doing random waits. But thats all.comment 4y ago · link · parent
Especially among pragmatic software builders who run their own business and do not work for the man. A demographic that I expect to grow.
Talking about SQLite: Is there any downside to partitioning an SQLite db into multiple files?
For example one of my systems has a table 'details' which is not vital for the system to work. It's just a nice to have, to have data in this table. And it is pretty big, growing fast.
When I copy the DB over to another system, I don't need that table. So it would be nice to have like primary.db and secondary.db. With 'details' in secondary.db. Any downside to this approach? Are JOINS slower across two files than across two tables in the same file?
comment 4y ago · link · parent
283 files
Still crazy many, but I will look a into it in case https://microblog.pub turns out to be not what I am looking for.
comment 4y ago · link · parent
comment 4y ago · link · parent
If admin of serverA decides to add serverB to the servers_i_talk_to array, they also ask serverB to give them a public key and from then on serverA only accepts messages from serverB if they are signed with the corresponding private key?
Is that so that serverB can change its IP without interrupting the communication with serverA?
comment 4y ago · link · parent
I don't know the fediverse protocol yet, but I would hope I can get away with just two files like this:
receive.php
<?php
if (!isset(servers_i_talk_to[$_SERVER['REMOTE_ADDR']]) die();
$data = $_POST['msg']
$file = 'log/' + time().'-'.mt_rand();
file_put_contents($file, $data);
send.php <?php
$data=$_POST['data'];
for ($servers_i_talk_to as $server) {
$url = "https://$server/receive.php";
$msg = ['msg'=>$data];
$opts = [
'http' => [
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($msg)
]
];
$context = stream_context_create($opts);
file_get_contents($url, false, $context);
}
Where receive.php is openly accessible and send.php is protected by a password.The endpoints are surely called differently than receive.php and send.php. But this is how I would hope ActivityPub works in principle.
Of course, this would be very bare. To read, I would have to read the raw log of ActivityPub messages and to post, I would have to manualy put together an ActivityPub message.
But I would be in the Fediverse and could add more convenience functionality later.
29.
Ask HN: ActivityPub or Mastodon?
36 points · by Timja · 4y ago · 61 comments