Bitcoin Forum
May 02, 2024, 12:22:48 AM *
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 »
1  Other / Meta / Re: [User Script] Instant Profile & Unedited posts Displayer v0.11 on: September 20, 2020, 06:55:01 PM
Bump




Found a way to convert HTML to bbcode and vice versa to make the end result beautified. I'm working on it, it should be finished and implemented in the next version once I get some free time.

I'm also thinking of making a pop display related to merits or other potentially useful information. Let me know your suggestions
2  Economy / Economics / Re: How freelancing websites killed design and developement bussinesses ... on: September 20, 2020, 05:55:31 PM
Web developers are asking for huge amount of money for tiny html/css edits. Their prices aren't fair and now they blame freelancers from all over the world because Indian guy charges 20$ instead of 600$ and they are bad, ruining their "profitable" business.

Do you ever take into account the cost of living in the respective countries? Web devs living in the US/EU ask for considerable amounts because that's the only way they can live in their society where cost of living is very high, this without taking in account the fact that when a dev charges 600$, he doesn't get 600$ in his pockets, there is taxes and a shitload of other expenses; ofcourse they are going to call devs from countries where cost of living is low "bad" because they are breaking the market by charging peanuts for their service...
3  Economy / Services / Re: Retrieve data from a Facebook page on: September 20, 2020, 04:58:14 PM
I was hoping there are some existing tools that could help me check the page automatically, without going through every single post manually.
Chances that there isn't any existing tool that can do that are big, because a tool like that would need to use  Facebook's API but since fetching the actions (likes,posts and whatnot) of a profile requires the said profile to give permission to the application,it won't work in your case.


What you can try is, open the facebook page, inspect (right click, inspect) on the page, in the Elements tab use Ctrl+F to perform a keywords search and search for your guy's facebook name/username so you can see if he was tagged by the page in a post. Beware that this method is quite inefficient and isn't guaranteed to work.
4  Local / Vos sites et projets / Re: Un bot qui vous informe des derniers insights partagés sur Twitter on: September 20, 2020, 03:33:59 PM
Hello!

Je suis intéressé par ce que tu as utilisé pour développer ton bot si ça te dérange pas, tu utilises certainement l'API de twitter; combien de temps ils ont mis pour accepter ta demande pour utiliser leur API? Est-ce qu'ils ont accepté ta demande du premier coup? L’hébergement de ton bot te coûte combien environ (si ce n'est pas trop indiscret)? Quel language/framework tu as utilisé?

Si tu es curieux pourquoi je demande autant de questions c'est parce que je suis aussi amateur de bot mais les procédures chiantes des API et le déploiement me bloquent tous le temps Smiley
5  Economy / Reputation / Re: 53M posts! View unedited/deleted posts (search per post, per user or per topic) on: September 20, 2020, 02:56:42 PM
I scrape posts as a guest, without logging in. That means I only see HTML, there is no BBCode.
The only way to see BBCode of a post would be by clicking "edit" (for my own posts) or "quote" for posts from other users. And that's only possible if the topic isn't locked.
I guess the forum database stores posts as BBCode, but that's above my pay grade.

Well one solution is first making a dummy bitcointalk account; to get a post quote that's the template:
Code:
https://bitcointalk.org/index.php?action=post;quote=POST_NUMBER;topic=TOPIC_NUMBER;sesc=SESSION_TOKEN
after replacing the three fields we get a link where we can get the the content of the textarea html tag which contains the bbcode of the post.

Ofcourse since it's a dummy account it won't have posts so
clicking "edit" (for my own posts)
isn't needed

It seems like a decent amount of work and effort is needed but now that I think of it does the benefits justify it? I don't know
6  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: [Ann] YouEngine - decentralized, tokenized advertising platform 📣📣📣 on: September 19, 2020, 09:14:17 PM
How the roadmap progress is doing? "01 Sep 2020 Beta YOUapp to 15K Micro-Influencers" 1st Sep is past by 20 days,did this happen? Who are the micro-influencers in question? Will they release a report of their beta testing?Huh
7  Economy / Reputation / Re: 53M posts! View unedited/deleted posts (search per post, per user or per topic) on: September 19, 2020, 08:42:29 PM
Hey LoyceV

Have you ever considered scraping the bbcode of posts instead of the html? Or at least scrape both of them? This would solve some problems, one of them is determining accuratly if an image changed in a post or not

This idea might be naive but let me know your thoughts eitherway
8  Local / Annonces / Re: [ANN] 🔥 YouEngine 🔥 - Plateforme publicitaire décentralisée et tokenisée on: September 19, 2020, 08:05:08 PM




Trading de YOUcash (YOUC) enfin possible sur P2PB2B 🔸
9  Bitcoin / Bitcoin Discussion / Re: Deadliest Bitcoin hack in history on: September 19, 2020, 07:28:38 PM
My first question is... Why 92M?

The hacker didn't play it smart, it makes it just to prove there was a flaw and not with the intention of making money, because another way he could manage a low profile creating coins 1 by 1, that way will be harder for the users to realize there was a bug.

It's an overflow bug. The "hacker" (exploiter is more appropriate) didn't choose 92 millions, it's because 92 millions or more precisely 9223372036854775807 (the biggest value possible of a 64 bit integer) so the variable that holds the number of coins of the transactions got overflowed into negative 9223372036854775807, satoshi fixed it easily by checking the value is not negative before validating the transaction using this statement
Quote from: satoshi
if (txout.nValue < 0)
                return error("CTransaction::CheckTransaction() : txout.nValue negative");
look here for details
10  Other / Meta / Re: [User Script] Instant Profile & Unedited posts Displayer v0.11 on: September 19, 2020, 06:44:33 PM
What happens if someone includes a quote or edits a quote on their post? Does it show up as a single uniform post, or does it identify what is a quote and what's not?



That's another inconvenient... It shows up as a single block of ugly raw text without differentiating quotes from answers. Another detail, it skips image tags so it won't show an image change as a difference between 2 posts because bitcointalk displays images via tokens that change. I wonder if I can somehow implement bbcode formatting via javascript to make it a bit more readable

I mean, like you said it's still use-able but I hate incomplete features Tongue
11  Bitcoin / Bitcoin Discussion / Re: Storing your Crypto in Exchanges is better than using Cold Wallets! on: September 13, 2020, 10:19:38 PM
For instance 8% APY on your USDT is something that is seriously worth more than just additional "security" which is not really a true security because you are relying on a centralized private company such as Ledger.com and people seem to forget that .... Netscape was also a great success in its early days but around 2003 it almost disappeared and today almost no one is using it.

Ledger users are relying on Ledger.com just to provide technical support, but it's not "centralized" in a sense that they don't hold user's private keys and thus coins. Anyone using a Ledger wallet have *100%* control over their coins, and even if there is technical problems on Ledger's side, the users can choose to switch their wallet to another one as long as they hold their private keys/mnemonic phrase. You can't do that with an exchange. If an exchange gets hacked, technical issues,bankrupt exit scams or whatnot chances of you losing completely your coins are high.

Netscape was also a great success in its early days but around 2003 it almost disappeared and today almost no one is using it.

That's really a bad comparison... Netscape almost disappeared today simply because there are better alternatives, without talking about the fact that it had major vulnerabilities..

The first main reason is that exchanges pay you an interest rate on your Crypto whilst cold wallets pay none.

In exchange, users have to provide their KYC information while cold wallets there is no personal information to provide. Is it worth it? Definitely.



To summarize, Storing your coins in an exchange is probably the worst thing you can do in the crypto world for these main reasons:

1- KYC/AML
2-Can we count how many exchanges got hacked and how much money have been lost?
3-No control over your coins
4-Outrageous withdrawal fees at times
5-Less security



12  Other / Meta / Re: [User Script] Instant Profile & Unedited posts Displayer v0.11 on: September 13, 2020, 03:14:19 PM
Managed to implement a new "highlight differences" feature based on this suggestion, here is how it looks:



-Red highlight + crossed out: Means that part was in the original post and was removed in the edited post.

-Green highlight: Means that part wasn't in the original post and was added in the edited post.

-Neutral: Didn't change between original and edited post.

It's usable but still doesn't look that good because it's extremely hard (or nearly impossible?) to compare the html elements of the edited and unedited post because of the dynamic nature of html, instead it compares the inner text of the html elements. The drawbacks of this is that the end result is an unformated text like shown above.

What do you think? is it worth being released in the next version? If you have suggestions to make it better, please let me know.

13  Bitcoin / Press / Re: [2020-09-10] Privacy Startup Nym Will Pay You in Bitcoin to Run Its Mixnet on: September 13, 2020, 02:15:50 PM
i'm not sure paying users to run Nym node (?) is best solution to solve the fact that there's no incentive to run a node.

Why not? The more running nodes there is the more secure the network gets, I don't see why incentivizing people to run nodes would hurt in this case. In fact, this could solve one of Tor's potential problems imo; The fact that Tor doesn't have *many* nodes increases the chances of having people connect to 5 nodes runned by the same entity/person and potentially have their privacy compromised. Same applies to most cryptocurrencies too I guess? With better distribution of hashrate, the network becomes more resistant to attacks.
14  Local / Annonces / Re: [ANN] 🔥 YouEngine 🔥 - Plateforme publicitaire décentralisée et tokenisée on: September 12, 2020, 07:21:40 PM



Comment YOUengine marche pour les Annonceurs 📱
👉 video descriptif là-dedans 📺

15  Other / Meta / Re: [TELEGRAM] Yet Another BitcoinTalk Notification BOT (merits, mentions, topics,+) on: September 12, 2020, 02:02:17 PM
Is the bot down for everyone or it's just me?

I didn't receive merit notification, @TryNinja?

Edit: mentions don't seem to work either

Edit2: mentions work
16  Other / Off-topic / Re: [English Native Speaker needed] Difference between Disclosure and Exposure? on: September 12, 2020, 11:59:11 AM
Not a native speaker but from my understanding:

a Disclosed information means that an organisation or a person willfully/voluntarily shared the information.  

an Exposed information means that this information was not supposed to be shared but got shared by a third party.



For example:

A company discloses their terms and conditions.

A person exposes the secret of his friend.

Hope this helps.
17  Other / Meta / Re: Ninjastic.space - BitcoinTalk Post/Address archive + API on: September 11, 2020, 01:11:33 PM
It's a simple HTTP request:

https://api.ninjastic.space/posts/55141939

Status code 200 means the post exists and you can parse JSON from the response. 404 means not found, etc.

Oh if it's just a simple HTTP request then I am familiar with that  Grin I thought it was some kind of special interface with mandatory authorization via an api key....

You can use them as you wish for now. But I would appreciate if you consulted me before doing many requests or implementing it in any kind of project. This way we can optimize things to keep the server working without too much workload.

I'm still working on the bot right now, if I deem it useful enough to release it publicly one day, I will definitely let you know before so we can optimize it.

I could also maybe implement some kind of authentication in the future.
I think you should. Otherwise you are just asking for a DoS attack Wink
18  Other / Meta / Re: popup userscripts suggestion on: September 11, 2020, 12:11:33 PM
Attempt to add "Find the difference between edited and unedited post" feature
Any Dev help to add this feature are welcome Smiley ( I haven't done it yet )

I actually thought of the same idea just recently! I will try to implement it in the next version release of my user script.



Image tags seem to change within the HTML code over time, so unedited posts with images might be marked as edited. I'm not sure yet how to tackle this.

Hm, maybe comparing only the inner-html of elements instead of comparing the whole html may solve this?

Edit: Nevermind, just checked how bitcointalk serves images via "https://ip.bitcointalk.org/" and you are right, the image token changes overtime... Maybe ignore image tags when comparing in this case?

19  Other / Meta / Re: Ninjastic.space - BitcoinTalk Post/Address archive + API on: September 10, 2020, 08:57:08 PM

I have a few endpoints which will return the data you need. For example:

GET: /posts/55141939

Code:
{
  "id": "1c25054c-b1b8-41eb-8c66-697c8b697179",
  "post_id": 55142446,
  "topic_id": 5273824,
  "title": "Re: Ninjastic.space - BitcoinTalk Post/Address archive + API",
  "author": "Aveatrex",
  "author_uid": 950474,
  "content": "Amazing! I see that you are making use of Reactjs, way to go <img src=\"https://bitcointalk.org/Smileys/default/smiley.gif\" alt=\"Smiley\" border=\"0\"> .  I'm interested in your RESTful API, can you elaborate on how it works? ",
  "date": "2020-09-06T12:45:48.000Z",
  "boards": [
    "Other",
    "Meta"
  ],
  "archive": false
}



How to get access to these end points?/ Can you give me access to one of them? I will be messing around with data a bit and try to integrate it into my bot. I'm not too familiar with RESTful APIs so please include as much details as possible about it Smiley
20  Other / Meta / Re: [User Script] Instant Profile & Unedited posts Displayer v0.11 on: September 10, 2020, 08:44:34 PM

Is it normal or resolutions of my laptop/pc I used to affect the performance? Well, I still could scroll it down by using the keyboard just for the first time I was thought I could not do it since there's no scroll bar inside.


It probably has to do with your laptop's screen resolution. Some css tricks may solve the problem for you, I'll see what I can do in that matter. In the meanwhile, you can scroll like you said by using keyboard arrows.


2) When the user clicks anywhere outside of the modal, close it (Source: w3schools)
    sometimes there is a difficulty to close a pop-up especially when the post is long

If you press the Escape key on your keyboard, the pop up will close. Having it close also when the user clicks outside of the pop up is a good suggestion idea for future versions.


1) Display content align like the original post rather than center it

Noted.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!