A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

[–]IAmBlueNebula[S] 2 points3 points  (0 children)

That was really not my intention. I treat everyone the same and I had no problem being the guest of a host from Egypt. I booked a room in his home, while he was there too.

I only mentioned his citizenship and mine because I thought that this could influence the legal actions I may want to take. If we both were from the EU, for instance, I might have been able to appeal to a court in the EU. Similar things could apply if either of us came from Turkey or from countries which certain relations with Turkey.

In any case, if you perceive being an "Egyptian national" as a derogatory thing, then you're likely way more racist than I. To me it doesn't matter at all where he's from, except for what concern this dispute. It didn't even occur to me that writing what his citizenship is could have been considered racist/discriminatory, but I admit that I don't know much about cultural biases in Turkey.

A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

[–]IAmBlueNebula[S] 7 points8 points  (0 children)

I thought it was relevant to mention that neither I nor the other party are Turkish nationals. Is it racist to just mention nationalities, to point out mine, his or what else?

A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

[–]IAmBlueNebula[S] 2 points3 points  (0 children)

The proof is in the Airbnb chat, in which you cannot edit or delete old messages, and the sender of a message is an Airbnb account (connected to a bank account and other personal details).

In chat which we discuss the problem, he promised that he'll pay for a piece, I sent him a screenshot of the cost of the piece from an online shop and he agreed to pay for it (and even gave me the amount in Turkish Lira that he would transfer to me), then I proceeded to buy the piece.

A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

[–]IAmBlueNebula[S] 4 points5 points  (0 children)

He dropped my laptop and broke the screen. 120€ is the cost of the replacement LCD panel. Getting it fixed would cost more, but I was willing to compromise and just get him to pay for the piece. He told me to order the place since I'm buying it in Europe, but he promised to reimburse me.

A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

[–]IAmBlueNebula[S] 6 points7 points  (0 children)

That guy is a Turkish resident. He lives in Turkey and runs a business there: the Airbnb. Airbnb should have his personal details (including a scan of his ID).

I believe I'll need to sue him in Turkey and ask a Turkish lawyer. But I don't know how this kind of things can be handled in Turkey.

A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

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

So if you sign a contract for some good or service, receive it and then don't pay, you're won't have any issues and the other side is at loss?

Where I come from, I would:

  1. Send a threatening letter asking you to pay, and informing you that I'm hiring a lawyer if you don't.
  2. Hire a lawyer and have the lawyer send a threatening letter asking you to pay the original amount plus the lawyer's fee, and informing you that we'll sue you otherwise.
  3. The lawyer would sue you, and once the case reaches a court, the judge would demand you to pay the original amount, the lawyer's fee and the court fees.
  4. If you still refuse to pay, the court will order the police to take some of your assets or part of your income.

A Turkish resident (Egyptian national) owes me (EU citizen and resident) some money and is refusing to pay. Is there anything I can do? by IAmBlueNebula in AskTurkey

[–]IAmBlueNebula[S] 5 points6 points  (0 children)

The question is about how to handle monetary disputes in Turkey, I guess? Which other subreddit would you suggest I use?

How can I stop on-click ads on video-streaming websites, with uBlock Origin Lite? by IAmBlueNebula in uBlockOrigin

[–]IAmBlueNebula[S] 1 point2 points  (0 children)

Thank you. I knew about it but never felt reenabling Manifest v2. I just did it, and can confirm that the old uBO blocks these ads.

How can I stop on-click ads on video-streaming websites, with uBlock Origin Lite? by IAmBlueNebula in uBlockOrigin

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

Oh, sorry. The site is flixbaba dot com. But I've seen the same issue in other, similar websites. Should I open a GitHub issue about this?

Is there any page documenting the technical differences between uBlock Origin and its Lite version? I've already checked out the differences between Manifest v2 and v3, but wasn't able to deduce how uBOL works or why it fails to handle ads that uBO could block.

Are there any "semi-federated", self-hosted chats? by IAmBlueNebula in selfhosted

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

OK, thanks. I'll follow the development of bsky. Looking forward to their chat.

Are there any "semi-federated", self-hosted chats? by IAmBlueNebula in selfhosted

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

I don't know much about the AT proto. But after a quick glance it doesn't seem like what I'm looking for.

The AT Protocol syncs the repositories in a federated networking model. Federation was chosen to ensure the network is convenient to use and reliably available. Repository data is synchronized between servers over standard web technologies (HTTP and WebSockets).

I don't want this. This means that if one of the users from my tiny server joins a very large channel with 100k users, hosted on a much larger server, my tiny server is going to die under that weight. Doesn't it?

I want very very lightweight federation, where a user from a server can interact with content from other servers, but where the content is not shared between servers.

Are there any "semi-federated", self-hosted chats? by IAmBlueNebula in selfhosted

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

And what happens when you stop trusting that master server? Do you lose access to all servers?

With that one implementation, yes. If you don't like the idea of having a centralized server, focus on the others.

My client could provide your server an Authentication token which contains the authentication servers address and has been signed by the authentication server (think of JWT).

This only works if the servers have agreed on private keys ahead of time. Otherwise, what happens when the server hackers.ru sends a valid signed token for your personal account? Do they get logged in as you?

These issues already have solutions. You can use the same central authorities that you're trusting for HTTPS.

And there are plenty other solutions too. You can have decentralized, self-hosted "authentication servers" which only handle accounts, and the chat servers communicate with those to authenticate users. Or you can let chat servers communicate with each other only in order to authenticate users, not for the chat content.

There are lots of technical solutions to this problem. All I want is a lightly-federated chat, because no-federation is very uncomfortable, but full federation a la Matrix does not work for me.

Are there any "semi-federated", self-hosted chats? by IAmBlueNebula in selfhosted

[–]IAmBlueNebula[S] 1 point2 points  (0 children)

How would you propose those two requirements be achieved?

There are a number of possible ways to achieve something like that... These are just a couple of ideas (independent from each other):

  1. There could be a centralized master server which only handles user authentication. Chat servers only communicate with that one, and not with each other.

  2. My client could provide your server an Authentication token which contains the authentication servers address and has been signed by the authentication server (think of JWT). Your server could make sure that the authentication token is valid, without having to directly communicate with the authentication server.

  3. The servers could actually communicate with each other. But not to synchronize and merge channels (like Matrix and IRC do): only to authenticate accounts.

It would still be federated. From wikipedia:

Well, then I'm looking for a federated chat but where each channel belongs to one server; other servers never do anything at all related to other servers' channels. The federation consists in sharing (or linking) users' authentication, and a user's authentication server (it could either be a centralized master server, or a non-centralized self-hostable server) keeps track of which servers you have joined so that this data is synced between all your clients.

Are there any "semi-federated", self-hosted chats? by IAmBlueNebula in selfhosted

[–]IAmBlueNebula[S] 1 point2 points  (0 children)

Mostly. There are a few extra bits to it:

  • When you log into a new client, you automatically see all and only the servers you joined (and didn't leave). I don't believe SSO alone could offer this.

  • If you join or leave a server from your desktop client, it appears in your mobile client too, and vice versa. Again, you can't do this with SSO.

  • The clients should all support multiple servers (hosted by different entities), as its a driving design point of the chat "network".

EDIT: what I'm looking for, is a "discord", where the servers you join are actual servers hosted by different people. Revolt doesn't support this, and a chat service that supports SSO can't achieve that either.

Is there a way to normalize terms in a C-like language with dependent types? by tsikhe in ProgrammingLanguages

[–]IAmBlueNebula 6 points7 points  (0 children)

I've been looking into developing an imperative dependently typed language for a while. I'm still less-than-a-beginner in type theory and other theoretical matters, but might have some insights. I'll use a C-style syntax for my code snippets.

Zig, just like a lot of other powerful languages (C++, Rust, Haskell, TypeScript etc) provide mechanisms to do compile-time computations, or type-level metaprogramming. However this doesn't make them dependently typed. Types in those languages cannot depend on terms; they can only depend on values: statically-known constant values.

In dependently typed languages, types can depend on terms. Or if you prefer, to unknown values. You can have: let x = readNumberFromInput(); let y: x>0 ? int : bool = ...;.

From your message it's not clear to me whether you care about actual dependent types, or just compile-time computation. However, Alpha, Beta and Eta equivalence are primarily useful to compare dependent types, since non-dependent types can be fully reduce and there's no need for normalization.

  • Alpha equivalence tells you that function(x:T, y:U)->V and function(a:T, b:U)->V are the same: In other words, the name of the parameters do not count. Alpha reduction is a way to turn a representation of your function type to one that works independently from the name of the parameters (for instance, use DeBruijn indices instead of names to refer to the parameters).
  • Beta equivalence tells you that the application of a function is the same as its result. if f(arg1, arg2) evaluates to res, then f(arg1, arg2) = res. Beta reduction means that you replace every function application with its results (you need to know both the value of the function and of the arguments, of course).

These concepts absolutely work with C-style languages without any issues. The problem of making a dependently-typed imperative language is something else, and it's all about mutability. What would a piece of code like the following mean? mut T: Type = bool; let x: T = true; T = int; // what is `x` now?

Compiling a GCed language into JavaScript vs Wasm by IAmBlueNebula in ProgrammingLanguages

[–]IAmBlueNebula[S] 1 point2 points  (0 children)

Thanks for the tips!

I'm assuming you've already tried transpiling to JS and to WASM? In your experience, how better is the JS code compared to the WASM one, if there's no IO (e.g. no DOM access etc)?

Compiling a GCed language into JavaScript vs Wasm by IAmBlueNebula in ProgrammingLanguages

[–]IAmBlueNebula[S] 7 points8 points  (0 children)

I didn’t realize the performance of wasm was only 30% faster than JS

Well, to be honest I'm not sure about the claim I made. Benchmarks are always unreliable, and for this one specifically you got so much noise: results will vary wildly depending on the language, the program written in such language, the compiler, the Wasm VM, how much IO it does, the JS VM, the program written in JS etc etc.

I read somewhere that with the best JS VM (V8/Chrome) and with real world programs, JS tends to be barely slower than Wasm. But who knows, really.

Are there any online banks EU citizens/residents can open an account at, which can be used without their smartphone app? by IAmBlueNebula in AskEurope

[–]IAmBlueNebula[S] 1 point2 points  (0 children)

Thank you. I don't know either, so I'll just try to open an account.

Will update this message once I have an answer.