refalo

joined 2 years ago
[–] refalo@programming.dev 2 points 2 days ago

One of the dreams of Web 2.0 was that website would speak unto website. An "Application Programming Interface" (API) would give programmatic access to structured data, allowing services to seamlessly integrate content from each other.

I remember that. There were even services built around the idea, like Yahoo Pipes.

[–] refalo@programming.dev 2 points 3 days ago (1 children)

I don't think pinging is necessary, it could just be temporarily turning off airplane mode when you go to make an emergency call.

But I was moreso pointing out that OP's paranoia over not having a carrier is IMO a bit moot when the baseband is always on, as any tower that's listening could still see them and track them at least by IMEI. There are some portable hotspots that have an IMEI randomization feature, although I would be worried that you could get banned from the network using that if you actually had service.

[–] refalo@programming.dev 6 points 4 days ago* (last edited 4 days ago) (3 children)

Airplane mode doesn't necessarily turn off the baseband radio, it can still work even if the application OS isn't talking to it, so you can still be tracked. Also some phones actually have a mux on the camera/mic/GPS so that the baseband can talk to it even if the application OS is shutdown.

[–] refalo@programming.dev 2 points 6 days ago (1 children)

So 1 month becomes... 2 years?

[–] refalo@programming.dev 4 points 1 week ago* (last edited 1 week ago)

I know it's not BSD but, gentoo already does similar with elogind to support all init systems with gnome, so maybe they could use something like that too.

[–] refalo@programming.dev 4 points 1 week ago (1 children)

gentoo uses elogind to emulate the systemd interfaces required by gnome

[–] refalo@programming.dev 1 points 1 week ago* (last edited 1 week ago)

You can alter your PAM configuration to require both: https://unix.stackexchange.com/a/572841

On my system, by default it lets you use either one to authenticate any time a password is needed, but this can be changed to require successful authentication using BOTH methods if desired.

I wasn't sure if you were wanting to require both, or just allow either one to be used, but both scenarios are trivial to configure.

[–] refalo@programming.dev 14 points 1 week ago* (last edited 1 week ago) (1 children)

Most of the games I play don't work on wine (Teknoparrot), and multiple machines I have are either missing or have broken essential drivers for built-in peripherals like wifi/BT, fingerprint readers etc. So... I had to go back.

One of my laptops has a 10+ year old unfixed kernel bug for the bluetooth not working... and the wifi only uploads at 1mbps under Linux, but works fine on Windows.

I'm sure people that don't happen to have random hardware/software incompatibilities are enjoying linux, but there's also still lots of people that can't switch.

[–] refalo@programming.dev 3 points 1 week ago

Some (many) people find it easier to learn a small number of predefined class names that accomplish what they want without having to know hundreds of different CSS incantations when they're just trying to make a simple site.

Sorta like how people use a command-line instead of just writing the code themselves.

[–] refalo@programming.dev 1 points 1 week ago

Trying to read that article gave me cancer.

 

I would prefer to find an operating system I can support that is developed by people who are generally kind, however I find the behavior of many of the top Linux/*BSD devs to be... abhorrent.

Are there any real alternatives that are led by nicer people?

 

The free community version of Rustdesk Server (a competitor to the Teamviewer remote access software) is AGPL licensed.

https://github.com/rustdesk/rustdesk-server

The paid, proprietary Pro version builds on top of the community edition by adding extra features such as user authentication and a web backend for administration.

There exists a repo for the pro server: https://github.com/rustdesk/rustdesk-server-pro

But it only contains install scripts and no actual source code of the application.

The github releases page of this repo however, contains the compiled code of the proprietary pro version and is available for anyone to download for free.

Analyzing the disassembly of the pro and open source binaries shows that the pro version is definitely based on the open source version.

The company previously associated with Rustdesk, Purslane Limited of the UK, is no longer in operation since 2023.

The project has no CLA and so the dozens of previous contributors still hold the copyright to their code and have not given permission for it to be used in a proprietary version.

There have been multiple requests for the source code of this pro version, but either there was no response or the issue was closed without comment.

EDIT: The repo owner has completely deleted the issue, here is a screenshot: https://0x0.st/KaqD.png

To me this just proves they know what they're doing is wrong.

 

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

 

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 2 years ago* (last edited 2 years ago) by refalo@programming.dev to c/meta@programming.dev
 

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/foo@lemmy.ml on my own instance?

view more: next ›