refalo

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

You could just change the path in the binary to a string that's smaller than what's in there now (or the same length), and pad any unused bytes with \0, then symlink that path to your real binary.

[–] refalo 1 points 2 days ago

I wonder how long it will be until they start requiring signatures for individual people.

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

To me, any binary I do not have the source code for is random. I have no idea what's in it and it could be doing any number of malicious things.

[–] refalo 14 points 3 days ago (5 children)

sudo curl

sudo random binary

Umm

[–] refalo 1 points 3 days ago

Ok so effectively then this basically shifts the work from blocking IPs to blocking domains. It might slow down some smaller players, but I imagine anyone with a decent amount of money can afford an insane number of domains.

[–] refalo 2 points 3 days ago

Clearly this is one of those programs that was unwittingly caught in their DEI keyword searches.

[–] refalo -1 points 3 days ago* (last edited 3 days ago)

Unfortunately

Depends on how you look at it.

I think some would argue that the competition and rapid innovation garnered by companies who are more freely able to leverage existing software in capitalist society, and the products and services they bring because of it, might be a net positive for the world, in comparison to the alternative.

I think if you were to go down the path of what many FOSS zealots seem to want (not capitalism), you end up with a system that does not promote competition, and people get tired of nothing happening, and society as a whole may not progress much.

[–] refalo 1 points 4 days ago* (last edited 4 days ago) (2 children)

So when that gets blocked, they can just generate a new key. I don't see how this really stops anyone that wants to keep going.

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

you don't...

I also feel like the amount of code they had to write with the CBVs was ridiculous, and it's not the easiest thing to read.

To me, this could have been done much simpler and more readable with a plain function view.

[–] refalo 3 points 6 days ago (6 children)

The article starts out talking about malicious bots that DoS your site, but how would a crypto signature fix that? Couldn't the client just change the signature whenever it gets blocked?

[–] refalo 2 points 6 days ago

AI learns

lol.

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

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 1 year 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 ›