2,574 questions
2
votes
1
answer
95
views
How to fix the now deprecated assert_options?
Consider this code:
// Make assertions throw exception
assert_options(
ASSERT_CALLBACK,
function ($file, $line, $code, $desc = null) {
$dest = $...
5
votes
2
answers
1k
views
Flutter 3.35.2: What is the replacement for deprecated groupValue and onChanged in Radio widget?
I recently upgraded my project to Flutter 3.35.2 (Dart 3.9.0), and I’m seeing deprecation warnings when using the Radio widget.
Here is the simplified code:
Radio(
splashRadius: 0,
value: value,
...
4
votes
2
answers
150
views
Is assigning string literal to mutable char* legal on newer language revisions or just warned against by compilers?
Related to Is it bad to declare a C-style string without const? If so, why? , but that question is about best practise, while mine is more language lawyer. Similar questions have been asked, but for C+...
5
votes
2
answers
613
views
How can I achieve the same effects as rememberSystemUiController since it has been deprecated?
I was upgrading my version of libraries in my Android project and I saw that rememberSystemUiController() is deprecated.
I was doing like this to make the status and navigation bar green:
val ...
0
votes
1
answer
31
views
Why is clEnqueueWaitForEvents deprecated? It seems indispensible
I'm looking at the clEnqueueWaitForEvents() OpenCL API function.
As I see it, this is a real boon. You see, almost all clEnqueueXXX functions take an array-of-events, and the size of that array, to ...
0
votes
0
answers
36
views
Having issues with implementing Google Drive sign-in with AndroidX‑Credentials/Identity - Simple android notes app
Im at my wits end with implementing the syncing functionality to my simple notes app for android that I created using kotlin and jetpack compose.
So Im a total beginner on coding and have ...
3
votes
1
answer
84
views
Obsolete marking for members about to become abstract?
The ObsoleteAttribute can be used in .NET to indicate that a given member or type is going to be removed in a future version. It will trigger compiler warning 612 or 618 on the code that uses the ...
0
votes
1
answer
193
views
How to replace the deprecated plugin function with the apply function in Gradle
The Android Studio's Empty Activity default configuration calls the plugin function in two places:
in the FirstEmpty/build.gradle.kts script:
import org.gradle.kotlin.dsl.support....
6
votes
3
answers
6k
views
How to resolve "Synthetic package output (package:flutter_gen) is deprecated" warning in Flutter 3.29.0?
After upgrading Flutter to version 3.29.0 and Dart to version 3.7.0, I started seeing the following warning in the console when running my app on both Android and iOS:
Synthetic package output (...
-1
votes
1
answer
91
views
Safe alternative for mcrypt_get_iv in current situation [closed]
I ran into a client that is running on PHP 5.6, and it looks like it was made back, right when encryption was starting to be a thing but supported decryption for passwords. Now, they do NOT need ...
8
votes
1
answer
617
views
C wasm debugging does not work in Chrome 133
I'm building a C wasm app using emscripten. I'm using emscripten 3.1.45. I was able to debug the C wasm modules in Chrome, and I could see the C source files in the "Sources" tab of Chrome ...
3
votes
1
answer
2k
views
Warning appears after starting jest - Importing "setup-jest.js" directly is deprecated
After starting Jest (in my case version 29.7.0), the following message appears:
Importing "setup-jest.js" directly is deprecated. The file "setup-jest.js" will be removed in the ...
0
votes
0
answers
15
views
Handlebars site unable to locate files with all references confirmed correct
I am a new developer. I have been working with Handlebars and have come across a problem that AI can't seem to solve. After creating and testing several forms successfully, eventually I create a form ...
80
votes
9
answers
45k
views
Why is withOpacity deprecated in Flutter 3.27.0, and what is its recommended replacement?
I'm upgrading my Flutter project to version 3.27.0, and I noticed that the withOpacity method is marked as deprecated. I'm using it in my code as follows:
SizedBox(
height: 55,
width: 50,
...
2
votes
1
answer
1k
views
gradle how to substitute a deprecated method [LenientConfiguration.getArtifacts(Spec)]
I am working quite newly with Gradle using SpringFrameWork and came upon the compilation error:
The LenientConfiguration.getArtifacts(Spec) method has been
deprecated. This is scheduled to be removed ...