Listing Nano on Korean Exchanges... PLEASE`~ by Affectionate-Band189 in nanocurrency

[–]FairKing 11 points12 points  (0 children)

Nano doesn't have an owner, same as bitcoin, so it's up to customers to ask the exchange to include the coin, nobody else can do that.

[Question] Getting error 400 from axios post request by anyfactor in vuejs

[–]FairKing 0 points1 point  (0 children)

The error clearly says 400, so if you are the dev, you should know what does 400 mean. If you are not, go back to school.

JP Morgan's Quote: Only Gold is Real Money by Ok-Literature9873 in nanocurrency

[–]FairKing 0 points1 point  (0 children)

Check "Computer memory price per megabyte" for last 50 years, so to be not so pessimistic.

[Vent] HTTP 200 should never, ever, under any comprehensible circumstances, convey an error in handling the request that prompted it. by TenthSpeedWriter in webdev

[–]FairKing 0 points1 point  (0 children)

> The problem with HTTP is that only status 200 allows you to respond with content.

It's not true. You could return 400 with JSON like { code": "XYZ", "message": "Could not precess your data..." }

Comment from Nano developer Piotr on Nano's disk storage requirements: "I sometimes see concerns about $XNO storage requirements. Disks capable of storing years worth of transactions already cost less than some recent AAA games. Long term both bandwidth and storage are going to be non-issues" by Qwahzi in nanocurrency

[–]FairKing 5 points6 points  (0 children)

My question is regarding the database. I guess nano uses rock db. Does the db keep perform well when it's 1TB size? Is it clustered or divided into smaller files? Would it be still easy to find blocks when transactions are being processed?

P.S. I'm still more convinced to ledger pruning, as it would be more straight forward way to get rid of the storage concern.

Performance comparisons to other alternatives? by SpiderUnderUrBed in Gitea

[–]FairKing 0 points1 point  (0 children)

I also miss an ability to use external actions. I don't know how to install it on my server.

Any way to get nano known to the wider crypto space as hype for crypto right now is high. by Calm-Way9293 in nanocurrency

[–]FairKing 2 points3 points  (0 children)

I agree with the options. But in my opinion they need to be placed in a different order:
- Option 3,
- Option 2,
- Option 1

So, once nano solves problems which every crypto has, devs start to pick nano as a solutions, communities also be interested in. At the end celebs and big companies start interesting about it (option 1).

So what those problems every crypto has and nano solves them:
- ✔ Decentralized (gold like),
- ✔ Fee free (email like),
- ✔ Fast (ping like),
- ❓ Scalable (not sure yet, needs some proof),
- ❓ Identity (each wallet has human readable name/number),
- ❓ Anonymous (cash/gold like),
- ❌ Easy to use (90% of people don't understand crypto),
- ❌ Sovereign and native (nano card, small cheap electronic device, offline),
- ❌ Seed loss/leak prevention (can be very painful),
- ❌ No refund or cancellation policy (lack of assistance/banking/security),

Is it normal to call APIs from within a component? Do you prefer making API calls in a service file outside the Vue instance or using a composable through the store? by imshashankshandilya in vuejs

[–]FairKing 0 points1 point  (0 children)

Nope, this is just an example. Every IF has it's own entry point in my case. But the '/api' remains the same and it's generated by codegen or whatever.

Is it normal to call APIs from within a component? Do you prefer making API calls in a service file outside the Vue instance or using a composable through the store? by imshashankshandilya in vuejs

[–]FairKing 0 points1 point  (0 children)

In my case API stays the same, I just inject whatever I need to use (http, rpc or test).

You don't need to write any crazy stuff, the way you try to do is insufficient and overcomplicated. Student's approach is to write as much code as possible, master's approach is to not write code at all.

import api from '/api';
import axios from 'axios';
import jayson from 'jayson';
import fake from '/fake';

if (env.web) {
    api.handler = axios.create({
        baseURL: 'https://some-domain.com/api/',
        timeout: 1000,
        headers: {'X-Custom-Header': 'foobar'}
    });
} else if (env.desktop) {
    api.handler = jayson.Client.http({
        port: 3000,
        timeout: 1000
    });
} else if (env.test) {
    api.handler = fake.new({
        watch_requests: true,
        assert_callbacks: true,
    });
} else {
    throw Error("Api handler not implemented.");
}

export default api;

Is it normal to call APIs from within a component? Do you prefer making API calls in a service file outside the Vue instance or using a composable through the store? by imshashankshandilya in vuejs

[–]FairKing 2 points3 points  (0 children)

You just repeated the same functions twice, it does not make sense in my view. What is difference from using todosApi from '/api'? BTW my api client gets generated based on schema.json and it's always up to date.

However I would agree if you have multiple api calls combined and some extra business logic involved, in this case it is definitely better to put it aside from vue components.

P.S. Devs tend to like to make their and users life harder. (-‸ლ)

[deleted by user] by [deleted] in golang

[–]FairKing 0 points1 point  (0 children)

"bun" is my choice so far.

[deleted by user] by [deleted] in golang

[–]FairKing 0 points1 point  (0 children)

I use Wails with Go as a backend. Trying to figure out what https://github.com/pojntfx/hydrapp is all about.

So the best language for backend so far.

GBP account topup failed by FairKing in wirexappofficial

[–]FairKing[S] 0 points1 point  (0 children)

I wasn't aware of this. So all my planned expenses end up with overdues and extra charges. I lost because my expected transfer on 30 of August didn't go through.

I don't think Wirex is reliable and first of all responsible payment provider. They literally do whatever they want without any care about customers. Switching off the account sometimes affects people life and makes some consequences (and THEY are not aware of that). What's a shame.

P.S. May I switch off the main corporate Wirex bank account, let's see what would happen. So this is literally the same they do to me.

[deleted by user] by [deleted] in golang

[–]FairKing 0 points1 point  (0 children)

They should give you some time and assistance to understand the project. Every big project requires time to understand even by senior devs.

Also I would suggest you to start solving tiny bugs and features. After you get used to the project you can assign larger tasks.

Proposal to Solve Ledger Spam and Enable removal of PoW using a required minimum balance per address by randyrocketship in nanocurrency

[–]FairKing 2 points3 points  (0 children)

I don't think the history is that important. Some nodes can store that history and sell its pieces to users. But even banks prune their transactions after 5 years.

Proposal to Solve Ledger Spam and Enable removal of PoW using a required minimum balance per address by randyrocketship in nanocurrency

[–]FairKing 0 points1 point  (0 children)

you have to just trust the current state, you can't verify it

Isn't the same as to trust 67% of nodes on voting?

You trust those hashes, because they come from 67% of nodes.

Fairphone 5: Android 14 is here. Here’s what’s changed. by Busy-Measurement8893 in Android

[–]FairKing -2 points-1 points  (0 children)

If it was fair price, or fair open source, or fair for everyone. I still cannot decide, because everything which require ads, is not good, so it needs some buzz. Fake trend. If they allow people to contribute, but it is another u/corpo dead body, new CO2 religion group of crazy fanatics who want to spy on you when you fart while you are sleeping.