refalo

joined 4 months ago
[–] refalo 3 points 3 hours ago* (last edited 3 hours ago)

I want to see specific examples of serious bugs that rust would catch that clang -Weverything, clazy/clang-tidy and scan-build would not find for C++... because I'm still not convinced it is anywhere near worth learning at all for career/veteran C and C++ folks.

[–] refalo -1 points 6 hours ago* (last edited 6 hours ago)

audits are invalid as soon as they finish, there's absolutely no way to trust any of these companies.

[–] refalo 4 points 6 hours ago

also consider that almost any VPN service will have all of their IPs flagged for bot/abuse traffic and many sites will block you for it

[–] refalo 8 points 7 hours ago (2 children)

you need to define a threat model first

[–] refalo 6 points 10 hours ago* (last edited 10 hours ago) (2 children)

China bans encryption

Most confidently wrong statement I have read all year.

[–] refalo 4 points 10 hours ago

nope I had it bookmarked

[–] refalo -5 points 11 hours ago (1 children)

depends on your definition of good, and free

[–] refalo 2 points 11 hours ago (3 children)

They started with "it's not open season on women", but then kept adding comments like:

India has a lot of rapey bastards

India is definitely a shit hole that needs to be fixed

yes, it’s really bad over there compared to the rest of the (western) world

They need to get there shit sorted

That's why I felt like their original point was made worse by their comments.

[–] refalo 7 points 12 hours ago (8 children)
[–] refalo 4 points 12 hours ago

there are many solutions, but they should stay hard to find

 

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

6
403 on API endpoints (lemmy.readme.io)
submitted 3 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>
...
23
submitted 4 months ago* (last edited 4 months 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 ›