refalo

joined 1 year ago
[–] refalo 2 points 1 day ago

Well general strategies are going to depend on where the bottleneck is, so the main general strategy is simply to find the bottleneck. From there, there may be other general strategies one would use for those, but there's so many possible starting places, it's hard to give any specifics as they all depend on what the bottleneck actually is.

[–] refalo 1 points 1 day ago (1 children)

I would argue TRON OS and its variants are in more devices on the planet than Linux is.

[–] refalo 5 points 2 days ago (2 children)

Have you actually analyzed what your real bottleneck is?

[–] refalo 10 points 5 days ago* (last edited 5 days ago)

My experience with IPFS over the years has been abysmal, and I think people have said the protocol design cannot sustain any more growth, which is not even that big yet at all.

You also cannot realistically search for files reliably by its hash, because of how files are divided into smaller pieces, whereby the method of dividing can change between clients, making the hashes incomparable. BitTorrent v2 solves this to my understanding, but almost nobody uses it for some reason.

Often times you need to wait several minutes for IPFS to find a file, assuming it ever finds it, which sometimes fails even on two boxes next to each other.

[–] refalo 9 points 6 days ago

the interface is not near as slow and clunky IMO, and it's always broken when using JShelter extension for me

[–] refalo 2 points 6 days ago* (last edited 6 days ago)

IDK about "still" since you can disable the GIL and also use multiple threads/processes, but I get your point. But rust is certainly not the only other language that can bring more efficiency or parallel performance, was my point. Yes it allows you to use multiple cores, but so do many other languages, including python.

[–] refalo 1 points 1 week ago (2 children)

Being built in Rust allows server workers to use multiple CPU cores for superior performance

that's like saying "going outside lets you breathe air"

[–] refalo 1 points 1 week ago

I guess that goes back to my job description comment then.

[–] refalo 2 points 1 week ago (1 children)

what is your definition of an unquestionable social platform?

[–] refalo 3 points 1 week ago (4 children)

You're not wrong, but I think the bigger issue is whether or not their performance lives up to the actual job description, not the pay grade.

[–] refalo 5 points 1 week ago (9 children)

they needed a more senior developer

It sounds more like your employers are unhappy with your skill or performance and not that you simply have trouble finding a job.

 

Interpreting C++, executing the source and executable like a script.

  • Writing powerful script using C++ just as easy as Python;
  • Writing hot-loading C++ script code in running process;
  • Based on Unicorn Engine qemu virtual cpu and Clang/LLVM C++ compiler;
  • Integrated internally with Standard C++23 and Boost libraries;
  • To reuse the existing C/C++ library as an icpp module extension is extremely simple.

There is also a Qt helper module: https://github.com/vpand/icpp-qt

5
403 on API endpoints (lemmy.readme.io)
submitted 11 months ago by refalo to c/meta
 

Tried to use several different API endpoints as described in the link, but they all return 403 with a cloudflare "Just a moment..." html reply. Even tried copying an existing jwt token from a working logged-in browser but the same thing still happens.

Any idea what I could be doing wrong?

curl -v --request POST \
     --url https://programming.dev/api/v3/user/login \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"username_or_email": "redacted", "password": "redacted"}'
...
< HTTP/2 403
...
<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title>
...
22
submitted 1 year ago* (last edited 1 year ago) by refalo to c/meta
 

I am noticing that some comments, which are coming from users on other verified (via /instances) federated instances, do not show up on a post. For example: https://programming.dev/post/13648105

Does not show this comment on it: https://lemmy.ml/comment/10803786

Any ideas why? I checked the modlog and the comment wasn't removed, and their post history to me does not look like someone that is likely to be banned from the instance, so I'm not sure what else it could be.

 

My lemmy account is on the programming.dev instance but I use newsboat for RSS reading of some lemmy.ml communities, along with browsing the local homepage of lemmy.ml and some other instances in a regular browser. Is there a way to do either of these things from the programming.dev instance so that I can easily comment on posts without having to manually locate the same post by browsing to /c/[email protected] on my own instance?

view more: next ›