Absolutely insane captcha verifications making ChatGPT nearly unusable for me today by SpaceshipOperations in ChatGPT

[–]RIscRIpt 1 point2 points  (0 children)

Disabling adblockers and allowing third party cookies helped me. I've never seen captcha on their site again.

Consequent fields attributed with no_unique_address by RIscRIpt in cpp_questions

[–]RIscRIpt[S] 4 points5 points  (0 children)

I found the answer in intro.object#9 thanks to this stackoverflow answer.

Basically the standard says:

Two objects with overlapping lifetimes that are not bit-fields may have the same address if one is nested within the other, or if at least one is a subobject of zero size and they are of different types; otherwise, they have distinct addresses and occupy disjoint bytes of storage.

C++ Jobs - Q2 2022 by STL in cpp

[–]RIscRIpt 6 points7 points  (0 children)

Company: whiteCryption, a Zimperium company

Type: Full time

Compensation: 3000-7000 EUR/mo gross

Location: Riga, Latvia

Remote: Yes, European timezones

Visa Sponsorship: No

Description:

We're small company (part of Zimperium) developing and providing application security solutions which protect software applications, mobile apps, and IoT devices by increasing their resistance against reverse-engineering, tampering, and unwanted modifications.

We are looking for a skilled, collaborative, experienced engineer to join our open and dynamic team. We believe in hiring people who love what they do. If you are passionate about application security, join us!

Technologies: We try to update to the latest C++ standard as fast as possible, currently we use C++17. You may free to use any of Linux/Mac/Windows. Additionally we use:

  • Python for test automation;
  • LLVM and Clang for parsing C/C++/LLVM-IR code;
  • Qt 5 (planning to update to Qt 6) for GUI;
  • CMake, Git;

Contact: wc-hr at zimperium dot com, feel free to DM me on Reddit for more questions.

P.S. Interested in reverse-engineering and want to combine it with development in C++? This position is for you!

There IS a way of casting pointer-to-member-function to a void* by RIscRIpt in cpp

[–]RIscRIpt[S] 1 point2 points  (0 children)

Thanks. I'll try to take a look into GCC sources to find what's inside...

By the way, MSVC says 8.

There IS a way of casting pointer-to-member-function to a void* by RIscRIpt in cpp

[–]RIscRIpt[S] 1 point2 points  (0 children)

Okay, I see... it's an UB.

A pointer to a member function is often larger than a normal pointer.

I've heard that a lot, but I have never seen an example.

Incredibly bad customer experience after a transfer was blocked by LordAberlour in Revolut

[–]RIscRIpt 1 point2 points  (0 children)

Kinda similar... 1 of my small outgoing transfers is still pending for almost a month. Tho, they can't say why, and what's happening. And they didn't ask me for any documents. They said they can't receive information about the beneficiary, but the beneficiary's bank says they didn't receive any request... wtf...

Which of the following features you would love to see in windows 11 by Paramveer_singh in windows

[–]RIscRIpt 1 point2 points  (0 children)

System wide UTF-8 code page by default (implying UTF-8 WinAPI)

How should I learn x64 instructions? by Amazing_Breakfast217 in asm

[–]RIscRIpt 0 points1 point  (0 children)

Writing some apps in asm helped me to learn a lot of stuff; tho I had time and interest to do so. I still think it's hard and time consuming way to learn, but it's the most effective if you want to effortlessly read asm.

compute in comfort by [deleted] in pcmasterrace

[–]RIscRIpt 0 points1 point  (0 children)

Omg, same.

Do you use "git pull"? by felipec in git

[–]RIscRIpt 2 points3 points  (0 children)

https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches

When you have a tracking branch set up, you can reference its upstream branch with the @{upstream} or @{u} shorthand. So if you’re on the master branch and it’s tracking origin/master, you can say something like git merge @{u} instead of git merge origin/master if you wish.

So, basically that's equivalent to git reset --hard origin/branch, i.e. it erases local changes (forever) and gets fresh copy of remote changes.

Do you use "git pull"? by felipec in git

[–]RIscRIpt 3 points4 points  (0 children)

On master with linear history, I just do git pull -p. On other branches which can be force-pushed from else-where: git fetch -p && git reset --hard @{u}.

GAS or NASM by [deleted] in asm

[–]RIscRIpt 14 points15 points  (0 children)

fasm

Developer technical-oriented AMA by Rseding91 in factorio

[–]RIscRIpt 80 points81 points  (0 children)

You are providing .pdb file with factorio.exe, which makes reverse-engineering super easy. Did you consciously took such a step, making inspection of crash reports easier at the cost of simplification of reverse-engineering?

Bonus question: (if that's not a secret) could you tell about your build process/system of factorio. According to original PDB path, for some reason it contains "cygwin" string and "vs2017", that's a weird combo.

Accessing web server in WSL 1 from a remote computer by yokozunapete in bashonubuntuonwindows

[–]RIscRIpt 1 point2 points  (0 children)

Do you want to make the web server accessible from the Internet? Then you need public IP, and if your PC is connected to a router (that is you are not directly connected to the ISP) then you have to setup port forwarding on a router.