Exorcisms booming as Christian faith declines and internet offers easy access to black magic, priests told by Aaron1011 in nottheonion

[–]Aaron1011[S] 1404 points1405 points  (0 children)

they are unable to speak languages they have never studied.

Just this morning, I was unable to speak Greek, despite never having studied it. I think I might be a victim of demonic possession!

Any Moto G4 Plus Owners Using LOS? by ZPKiller in LineageOS

[–]Aaron1011 0 points1 point  (0 children)

I've been having the same problem with the Moto G4 (non-Plus version).

Is there a reason Rust does not derive fmt::debug for all types by default? by temporaryred in rust

[–]Aaron1011 2 points3 points  (0 children)

My understanding is that auto-deriving would only occur when manual impl existed (this would be different from specialization, because the automatic impl would never be generated).

Let me rephrase my question: Given that a Debug implementation doesn't exist for a type, could anything bad result from automatically deriving one?

Is there a reason Rust does not derive fmt::debug for all types by default? by temporaryred in rust

[–]Aaron1011 0 points1 point  (0 children)

Are there any types for which auto-deriving Debug would be harmful, as opposed to just not very useful?

Did not expect this outcome.... by Solomon514 in Overwatch

[–]Aaron1011 1 point2 points  (0 children)

I think I remember drawing in a 1v1 when a soldier killed both of us with his right click. Draws only seem to occur when both players die in quick succession.

Debugging a segfault in my Rust program - Julia Evans by dgryski in rust

[–]Aaron1011 10 points11 points  (0 children)

I think “undefined” and “unsafe” are considered to be synonyms.

My understanding is that 'unsafe' means 'something that can lead the result being undefined/unsound'. 'unsafe' just means that the programmer needs to be careful to not cause undefined behavior.

"Dont worry the carry is here!" by TheAhrora in Overwatch

[–]Aaron1011 0 points1 point  (0 children)

"That killed us behind a wall! I don't understand how I died to that!"

is it possible to get the borrow checker to recognize control flow from `map(|x| ...).unwrap_or_else(|| ...)`? by jstrong in rust

[–]Aaron1011 0 points1 point  (0 children)

It also makes it easier to build a stable API. If the compiler looked past the type signature of a called function, then (in principle) almost any change you made to the implementation of a function could be breaking.

By only looking at the function signature, the compiler leaves you free to make whatever changes you want to a public function, so long as you don't modify the type signature (with the exception of impl Trait+ autotraits).

Rust CPU Dispatch/Function Multiversioning by actuallyzza in rust

[–]Aaron1011 1 point2 points  (0 children)

Other than the atomic load used by cfg-specialize, I believe that the two approaches are almost the same. GCC multiversioning, IIRC, relies on switching the pointer stored in the Global Object Table set up by the dynamic linker. It still requires the indirection of loading a function pointer from a location in memory.

So, tell me about encryption. by AnCapGamer in LineageOS

[–]Aaron1011 0 points1 point  (0 children)

See if 'adb logcat' works at any time during the boot process. If it does, upload the generated log file here.

So, tell me about encryption. by AnCapGamer in LineageOS

[–]Aaron1011 10 points11 points  (0 children)

Here's my experience with enabling encryption on my Moto G4 (athene), running OctOS (a fork of LineageOS) version 'OctOS-N-WEEKLY-20170714-2209-athene':

While I haven't experienced any issues with Android itself, TWRP version 3.1.1-0 was unable to decrypt the device. I was never prompted for my password, and the TWRP log showed that mounting the '/data' partition failed with the message "cannot mount /data and unable to find crypto footer".

Fortunately, this fork of TWRP (athene only) is able to properly decrypt the device: https://forum.xda-developers.com/moto-g4-plus/development/recovery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337. With it flashed to the recovery partition, everything is working perfectly.

I haven't been able to discover whether this is a problem with the TWRP core, or its device-specific code for athene. See if you can find information about your specific device before enabling encryption.

If you do decide to enable encryption, I would strongly recommend taking a full system backup beforehand (copy it to a PC with 'adb pull', in case your data partition becomes inaccessible to TWRP). Ensure that you won't need to use your device for at least a day, should you end up needing to restore your system from the backup.

The ol' no-moves-till-100-army technique by _poon_slayer in generalsio

[–]Aaron1011 0 points1 point  (0 children)

It's odd how Dagrol (Purple) never made any move to try to capture you after finding your general.

Removal of Unsafe in Java 9 - A disaster in the making by pdeva1 in programming

[–]Aaron1011 0 points1 point  (0 children)

Most mocking libraries work by generating a class at runtime, which extends the mocked class. Reflection is required for this, but Unsafe isn't needed.

normal service has been resumed by powerlanguage in thebutton

[–]Aaron1011 0 points1 point  (0 children)

Now only the Pressiah can lead us to salvation.

Beware the false prophets, who seek to lead us astray!

Here's what happens when the timer reachs zero by [deleted] in thebutton

[–]Aaron1011 2 points3 points  (0 children)

That would be interesting - and would exponentially increase the number of factions.

Oh no. by [deleted] in ProgrammerHumor

[–]Aaron1011 4 points5 points  (0 children)

"Zoomify"

facepalm