refalo

joined 2 years ago
[–] refalo@programming.dev 3 points 1 day ago

I could not even view it on firefox as I got endless captcha loops.

[–] refalo@programming.dev 12 points 1 day ago

You don't need open-watcom to compile 9x applications from other OSes... both gcc and clang, as well as wine, have multiple options for cross-compilation, no VM or docker needed.

I routinely use all 3 methods for compiling my own 95/98 applications from Linux.

For gcc I use the mingw toolchain, which is available as the mingw-w64 package on Debian-based systems, or https://mxe.cc/.

For clang I use clang-cl with the VC6 SDK. clang-cl pretends to be the Microsoft cl.exe compiler and actually works quite well if you know the right options to give it.

And finally, using wine you can either run the original MSVC toolchain compilers, or versions of gcc that were compiled to run on Windows directly; there are both old and new gcc versions that can produce Win9x binaries if you know where to look.

Some resources that have helped me over the years as well:

https://glizda.wordpress.com/2021/05/19/compiling-programs-for-windows-95-and-pentium-in-2021/

https://web.archive.org/web/20230905023821/http://www.nosubstance.me/post/coding-windows-cpp-on-linux-2/

https://github.com/fsb4000/gcc-for-Windows98

[–] refalo@programming.dev 16 points 1 day ago

Yea this is some BS... gnome doesn't need any help to burn their own reputation to the ground, this is just a hitpiece by yet another one of their out of touch high and mighty contributors.

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

lol, lmao even

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

What I've seen lead to success:

  • Arrogance
  • Overconfidence
  • Schmoozing with the right people
  • Doing flashy work, whatever that means in a given situation

What I have seen lead to failure or, at best, being undervalued and ignored:

  • Caring about teammates and your future self
  • Caring about the end user and the business itself, when it conflicts with something sales, marketing, or a PM want
  • Creating resilient, well-engineered systems

It's the same problem as anywhere else. Well-crafted systems are invisible and taken for granted. Saving the day by putting out a fire is applauded, even when you're the one who laid out the kindling and matches. Managers at all levels care about their own ego more than the company, product, or team.

Maybe I just spent too much time with ex-Microsoft hacks.

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

Sorry but I have no idea what you're talking about... and I wasn't referring to any specific company

[–] refalo@programming.dev 7 points 6 days ago (4 children)

I just want them to stop acting like egotistical know-it-all jerks all the time. They love to speak in black-and-white absolutes and IMO it just shows how much they really don't know.

I think Dunning-Kruger also applies to smart people... you don't stop when you are estimating your ability correctly. As you learn more, you gain more awareness of your ignorance and continue being conservative with your self estimates.

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

Still no full-duplex?

[–] refalo@programming.dev 1 points 2 weeks ago

No idea it was just a possible theory

[–] refalo@programming.dev 5 points 2 weeks ago

I find it surprising that JSON is so omnipresent when there are far more efficient alternatives

Do you also find it surprising that different types of food exist? /s

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

If Firefox dies then they don't have to pay their anti-monopoly bribe money.

 

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 ›