79267334

Date: 2024-12-10 07:30:17
Score: 1.5
Natty:
Report link

If you are sure about the firewall setting it's better to check the kernel changes, sometimes kernel update can change network default setting. If it's not necessary to you to update your kernel you can also roll back to previous kernel version this is a temporary solution.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Daryush

79267329

Date: 2024-12-10 07:28:16
Score: 1
Natty:
Report link

Check this doc

On iOS, use CocoaPods to add the native RNAsyncStorage to your project:

npx pod-install

Maybe this will help you to solve your issue.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Harsh Patel

79267328

Date: 2024-12-10 07:28:15
Score: 13 🚩
Natty:
Report link

I have the exact same problem at the exact same time. I reported it on Facebook Bug but they didn't find any solution. I am still waiting for them to find a solution. Have you found any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Have you found any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alperen Belet

79267313

Date: 2024-12-10 07:19:13
Score: 0.5
Natty:
Report link

PHP associative and indexed arrays are different.

Associative arrays uses named keys --- strings, to access the variable data. Your code generates an associative array, so using

var_dump($new_array[1]) // wont work
var_dump($new_array['ca']) // will work

Indexed arrays uses numeric values, just like a regular array would

Accessing your new array, we could:

foreach ($new_array as $key => $value) {
    var_dump($new_array[$key]);
}

I do not know if it would be useful but we can force an index array implementation using $array[] = ..

$new_new_array = [];
foreach ($new_array as $data) {
    $new_new_array[] = $data;
}
var_dump($new_new_array[1]); // this works

I can only manage to do this at the very end because your data processing requires the keys to be strings.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: lemon8de

79267303

Date: 2024-12-10 07:14:11
Score: 7 🚩
Natty:
Report link

I have same problem. Nextjs chunks url return SQL injection error

Reasons:
  • Blacklisted phrase (1): I have same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Izat Tilek uulu

79267299

Date: 2024-12-10 07:12:11
Score: 1
Natty:
Report link
  1. No. Git Hooks functionality is from Git itself, not GitLab.
  2. You can create a pre-commit file under your project (e.g, pre-commit.sh), create a symbolically link of it:
ln -s $PWD/pre-commit.sh .git/hooks/pre-commit
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lawrence

79267295

Date: 2024-12-10 07:11:10
Score: 0.5
Natty:
Report link

EF Core doesn’t automatically know how to save a List in the database. By default, it tries to use a database array type (text[] in PostgreSQL). However, this doesn’t match well with EF Core’s internal handling, especially when combined with default values.

    builder.Entity<User>()
.Property(u => u.PasswordHistory)
.HasConversion(
    v => JsonSerializer.Serialize(v, (JsonSerializerOptions?)null),
    v => JsonSerializer.Deserialize<List<string>>(v, (JsonSerializerOptions?)null) ?? new List<string>()
);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pavithra

79267291

Date: 2024-12-10 07:10:09
Score: 6 🚩
Natty: 6
Report link

@Jawoy did you manage to get this to work? I'm trying to same with .NET8 but the old log files are not getting deleted when I set the retainedFileTimeLimit config.

Following is the config value that I tried. "retainedFileTimeLimit": "00:05:00"

I could not find any serilog documentation around retainedFileTimeLimit feature which is very disappointing.

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to get this to
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Jawoy
  • Low reputation (1):
Posted by: Brian Perera

79267289

Date: 2024-12-10 07:09:08
Score: 4.5
Natty: 5
Report link

I've configured SSL on port 8443 (I saw Jetty set this), Carte service is working but there is no log in default pdi.log file. What should I set in order to create log entries in /logs/pdi.log file?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Péter Cserna

79267284

Date: 2024-12-10 07:07:07
Score: 11 🚩
Natty: 4.5
Report link

I have also same problem. Howeever, expo-camera/legacy is not working for me. Although I installed expo-camera, i get the error "Unable resolve 'expo-came/legacy'." I tried to download it as 'npm install --legacy-peer-deps expo-camera/legacy' and 'npm install expo-camera/legacy'. How to solve?

Reasons:
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve?
  • RegEx Blacklisted phrase (1): i get the error
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fatih CANAN

79267279

Date: 2024-12-10 07:04:06
Score: 1.5
Natty:
Report link

The python opcua library is no longer supported. There was a fix for this issue, but the pip package never got uppdated. So either use the current master from github. Or you switch to asyncua, which has a sync layer for easier porting, but i would recommend use it via async, if possible.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Schroeder

79267277

Date: 2024-12-10 07:03:04
Score: 6.5 🚩
Natty:
Report link

Did anyone resolved the issue of the battery status as Charging and Discharging in the GUI.

In my kernel the Charging and Discharging is happening perfectly.

logs from the kernel:-

phyboard_polis:/ # cat /sys/class/power_supply/ltc4155-battery/status
Charging phyboard_polis:/ # cat /sys/class/power_supply/ltc4155-battery/status
Discharging

but while i am updating the same in the hal as : vendor/nxp-opensource/imx/health/health.cpp in the method HealthImpl::UpdateHealthInfo

the updation of the status is happening quite delay may be for 30sec time .

Any idea how to reslove the issue to upadte the battery status immediately just after the kernel updates the status?

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone resolved the
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: Pritam srichandan Sahoo

79267268

Date: 2024-12-10 07:00:03
Score: 1.5
Natty:
Report link

Below are the step by step instruction on how to upgrade Apache Spark to V3.4.

Step 1:

Go to AzSynapseSparkPool Powershell from the Azure Portal enter image description here

Step: 2:

Upgrade Apache Spark pool using Update-AzSynapseSparkPool powershell cmdlet as shown below.

Check the version of the Apache Spark:

get-AzSynapsesparkpool -WorkspaceName <Synapseworkspacename>

Update the version of the Spark:

update-AzSynapseSparkPool -WorkspaceName <Synapseworkspacename> -Name <SparkPoolName> -sparkversion 3.4

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Faitus Joseph

79267260

Date: 2024-12-10 06:58:02
Score: 3.5
Natty:
Report link

Just use this repo, it will delete all the configurations on mac for Jetbrains products.

https://github.com/thanhdevapp/jetbrains-reset-trial-evaluation-mac

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alen Simonyan

79267257

Date: 2024-12-10 06:57:02
Score: 3
Natty:
Report link

Xcode has a checkbox for this these days. Use "Edit Scheme...", choose "Run" -> "Options", and there is "Persistent State" with a "Launch app without state restoration" checkbox. When checked, the next run will be without restoration.

Screenshot showing the "Launch app without state restoration"

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jan Holesovsky

79267245

Date: 2024-12-10 06:51:01
Score: 2
Natty:
Report link

This is easy to do it. Just go in File>Preferences>Settings then search for LINE NUMBERS and switch that to relative for character count there is no native support but you can download the extension for that word count by Microsoft only

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ayush Gupta

79267244

Date: 2024-12-10 06:50:01
Score: 1.5
Natty:
Report link

The Application Insights SDKs for .NET and .NET Core include a built-in feature called DependencyTrackingTelemetryModule that automatically tracks external calls your app makes, like database queries or API calls. For ASP.NET and ASP.NET Core apps, this feature is turned on by default when you set things up as explained in the official docs. It comes as part of the Microsoft.ApplicationInsights.DependencyCollector NuGet package, which is automatically added if you install the Microsoft.ApplicationInsights.Web or Microsoft.ApplicationInsights.AspNetCore packages. This doc will help you more : https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-dependencies

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kirankumar Bharsadiya

79267241

Date: 2024-12-10 06:48:00
Score: 2.5
Natty:
Report link

Check out hyparquet. It's actively maintained, supports all modern parquet files, is written in pure js with no dependencies. Confirmed that it works in the lambda runtime, node, and the browser.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: platypii

79267239

Date: 2024-12-10 06:47:00
Score: 1.5
Natty:
Report link

Overriding theme is not a good solution at all. You must handle border settings through ExpansionTile interface.

ExpansionTile(
    shape: LinearBorder.none,
    ...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Yousefi

79267235

Date: 2024-12-10 06:43:59
Score: 1.5
Natty:
Report link

Your configuration has some issues, you should configure it like this below.

export default defineNuxtConfig({
  devServer: {
    port: 3030
  },
})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jack ma

79267224

Date: 2024-12-10 06:40:59
Score: 1
Natty:
Report link

:facepalm:

Only personal apps support eco. I had my apps in a team.

Transferring app ownership back to my user account allowed me to select eco.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: dtbaker

79267222

Date: 2024-12-10 06:39:59
Score: 1
Natty:
Report link

Multi-Agent Systems (MAS) are far from mere hype—they represent a profound paradigm in problem-solving and computational intelligence that is gaining recognition as technology evolves. Here’s a thought-provoking breakdown:

MAS as a Paradigm, Not a Buzzword: MAS isn't a transient trend; it’s a robust framework for addressing decentralized and collaborative decision-making problems. Its principles are rooted in distributed artificial intelligence (DAI) and autonomous systems, with applications ranging from robotics (e.g., Mars rovers and robotic soccer) to resource allocation and supply chain optimization. Dismissing it as hype undermines its foundational role in solving inherently distributed problems.

The Elegance of Distributed Solutions: While some problems may seem solvable with centralized approaches, MAS shines where modularity, adaptability, and local autonomy are crucial. Its architecture allows agents to operate semi-independently, bringing diverse perspectives to complex tasks. For example, MAS frameworks enable systems where autonomous agents can collaborate to refine code, optimize routes, or simulate social behaviors—tasks where centralized solutions might struggle with scalability or complexity.

MAS and Emerging AI Synergies: The current advancements in AI, such as reinforcement learning (RL), deep neural networks (DNNs), and generative models, complement MAS rather than replace it. MAS provides a structure for integrating these technologies into cohesive systems. For instance, a MAS framework could enable specialized agents powered by distinct AI techniques to work collaboratively, leveraging the strengths of each. This synergy is already visible in multi-agent reinforcement learning (MARL) applications.

Beyond Toolkits to Innovation: While it’s true that MAS incorporates design elements, such as distributed algorithms and communication protocols, it transcends the scope of a mere "design pattern." It represents a methodology for conceptualizing and solving problems involving interaction, negotiation, and cooperation among multiple entities. Calling MAS a design pattern risks oversimplifying its depth and breadth.

Practical Applications Highlight Its Necessity: The utility of MAS is evident in domains where decentralization is intrinsic—such as swarm robotics, energy grid management, and peer-to-peer systems. Moreover, as AI adoption grows in fields like healthcare, finance, and logistics, MAS frameworks can orchestrate interactions among specialized agents, enhancing both efficiency and robustness.

MAS and the Future of Decision-Making: Pioneering systems like Klover.ai’s Artificial General Decision Making™ (AGD™) demonstrate the untapped potential of MAS. By employing an ensemble of AI systems at its core, Klover.ai enables sophisticated, multi-perspective decision-making that mirrors real-world complexity. This aligns with the strengths of MAS in fostering diverse viewpoints and modular adaptability.

Addressing the Question: To claim that everything MAS offers can be achieved with simpler solutions misses the essence of the paradigm. MAS isn't just about the solution—it’s about how we approach distributed, dynamic, and cooperative problems. Simpler solutions may sometimes suffice, but they often fail to scale, adapt, or capture the nuance of multi-agent collaboration. When applied appropriately, MAS transforms how we conceptualize and solve problems.

In summary, MAS isn’t hype—it’s a foundational framework that continues to evolve with advancements in computing and AI. The real question isn’t whether MAS is necessary, but how we can further leverage its principles to unlock new frontiers in automation and intelligence.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28710126

79267218

Date: 2024-12-10 06:37:58
Score: 3
Natty:
Report link

And I solve it.

There was a misconfiguration.

Threat intels was not enabled!!!

Just enrichment configurations was working.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Majid Mortazavi

79267217

Date: 2024-12-10 06:37:58
Score: 0.5
Natty:
Report link

I adjusted a similar answer

css:

.footer-signature {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    text-align: center;
    margin-top: 2em;
}

.signature-space {
    margin-top: 4em;
}

html:

 <div class="footer-signature">
    <div>
        <div>Pemohon</div>
        <div class="signature-space">
            (..........................................)
        </div>
    </div>

    <div>
        <div>Petugas</div>
        <div class="signature-space">
            (person name)
        </div>
    </div>

    <div>
        <div>Operator</div>
        <div class="signature-space">
            (person name)
        </div>
    </div>
</div>

I changed the flex direction to row and grouped text in divs, thus giving you this look:

Output image

space-between sets the three elements far apart, you may change this by different justify-content values, 'center' with proper margin / spacing looks the most similar to what you want.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: lemon8de

79267216

Date: 2024-12-10 06:36:57
Score: 0.5
Natty:
Report link

I found the Galois library to do this:

import galois
GF2 = galois.GF(2)
x = GF2([[0, 0], [1, 1]])
y = GF2([[0, 1], [1, 0]])
x @ y

Gives the correct answer,

GF([[0, 0],
    [1, 1]], order=2)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Gavin Wahl

79267215

Date: 2024-12-10 06:35:57
Score: 3
Natty:
Report link

The problem turned out to be that the System.Drawing.Common was installed implicitly and was outdated, as a result, the explicit installation of 9.0.0 helped solve some of the cleaning problems, but alas, the text is still not deleted on all files

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qivorch Velix

79267207

Date: 2024-12-10 06:32:56
Score: 0.5
Natty:
Report link

Simply wraping the async call using Task { } did the trick for me.

.refreshable {
        Task {
            await vm.loadPopularTeachers()
            await vm.loadExpertTeachers()
        }
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MD. Shakhawat Hossain Shahin

79267201

Date: 2024-12-10 06:28:55
Score: 3.5
Natty:
Report link

I stored main data in backend and products data in 1c. then i sync them.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ilkhom Tashkulov

79267200

Date: 2024-12-10 06:28:55
Score: 5.5
Natty:
Report link

strong textenter link description here

Blockquote

කියලා තමා කියන්න වෙන්නේ... 😁😂

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Blacklisted phrase (1): 😂
  • Low length (1):
  • No code block (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: champika dilshan

79267193

Date: 2024-12-10 06:24:53
Score: 0.5
Natty:
Report link

Steps to Resolve [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'

Switch to the Oracle User
Ensure you're logged in as the Oracle user:

su - oracle

Navigate to the Oracle Inventory Configuration Directory Move to the directory containing the cvu_config file:

cd $ORACLE_HOME/cv/admin

Edit the cvu_config File Open the cvu_config file using a text editor like vim:

vim cvu_config

Add or Update the CV_ASSUME_DISTID Variable Add the following line (or update it if it already exists), replacing OEL* with the appropriate version of Oracle Linux (e.g., OEL7, OEL8, etc.):

CV_ASSUME_DISTID=OEL*

The * acts as a placeholder for your Linux distribution's version.

Save and Exit the File In vim, press ESC, type :wq, and press ENTER to save and exit.

Re-run the Oracle Installer Now, run the Oracle installer again, and it should bypass the OS compatibility check:

./runInstaller

That's all! enjoy Thanks Rana (alias rana10cse)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sohel Rana

79267191

Date: 2024-12-10 06:24:53
Score: 0.5
Natty:
Report link

If anyone interested... I've created this shell script gist to automatically detect connected Android devices (or emulators) using ADB (Android Debug Bridge) and set up reverse port mapping. This allows your mobile apps to safely access local machine APIs via http://localhost:$PORT during development.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Mauro Aguilar

79267188

Date: 2024-12-10 06:23:52
Score: 3.5
Natty:
Report link

Make two variables int and string with the same values check if both are equal or not. If equal the print that both are equal otherwise convert them and make them equal.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muhamamdharis

79267182

Date: 2024-12-10 06:21:52
Score: 3.5
Natty:
Report link

i install @rsdoctor/webpack-plugin to anylyze. it shows fork-ts-checker-webpack plugin takes much time. because i use ts in this repo

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: greenbird

79267178

Date: 2024-12-10 06:18:51
Score: 0.5
Natty:
Report link

It will be resolved by Reset the model when you click on the close button:

$('#yourModalID').on('hidden.bs.modal', function () {
    $(this).find('#error, #success').hide(); 
    $(this).find('#content').show(); 
    $(this).find('form')[0].reset();
});

#yourModalID = Add your model id

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Developer Nilesh

79267175

Date: 2024-12-10 06:13:50
Score: 3
Natty:
Report link

After actual verification, the above solution is feasible, thank you very much

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: joyful lee

79267174

Date: 2024-12-10 06:12:50
Score: 1
Natty:
Report link

The error you're encountering (tlsv1 alert internal error) typically indicates a problem with the TLS handshake between the client and the broker. First, ensure that both the broker and client are properly configured for TLS 1.2, as you're already specifying with tls_version tlsv1.2 and mosquitto_tls_opts_set(mqtt, 1, "tlsv1.2", NULL). Double-check the paths to your certificates (server.crt, server.key, ca.crt) and ensure they are correct and accessible by both the client and broker. The broker is set to require client certificates (require_certificate true), so make sure the client is presenting a valid certificate. Permissions on the certificate files should also be correct, as improper file access can cause issues. To help debug, increase the logging verbosity on the broker to gather more detailed error messages and consider testing the connection with OpenSSL's s_client to further investigate the SSL/TLS handshake. If there is still a problem, verify that your OpenSSL versions on both the client and broker support TLS 1.2 and that the cipher suites are compatible.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sameer

79267172

Date: 2024-12-10 06:11:49
Score: 4.5
Natty:
Report link

brew services restart mongodb-community

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tazim Karim Madre

79267170

Date: 2024-12-10 06:08:49
Score: 1
Natty:
Report link

A stack is a LIFO data structure, so when you iterate over it (e.g., with String.Join), the elements are accessed in reverse order of insertion.

so If you want the elements in the order they were added you need to reverse the stack before joining. Like..

String.Join("/", stack.Reverse());
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Harshini

79267163

Date: 2024-12-10 06:07:48
Score: 0.5
Natty:
Report link
$seen = [];
$i = 0;
foreach ($array as $data) {
    $number = $data['number'];
    $a = $data['values']['a'];
    $b = $data['values']['b'];

    if (isset($seen[$number])) {
        $output[$seen[$number]]['values']['a'] += $a;
        $output[$seen[$number]]['values']['b'] += $b;
    } else {
        $output[] = $data;
        $seen[$number] = $i; 
    }
    $i++;
}

checking result

print_r($output);

gives me this

Array ( [0] => Array ( [number] => 1 [values] => Array ( [a] => 1 [b] => 2 ) ) [1] => Array ( [number] => 2 [values] => Array ( [a] => 6 [b] => 6 ) ) [2] => Array ( [number] => 3 [values] => Array ( [a] => 2 [b] => 4 ) ) )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: lemon8de

79267158

Date: 2024-12-10 06:05:48
Score: 0.5
Natty:
Report link

I was just asked about this from someone that was misled by an answer above.

In the description you have written that you don't want to do compression so all you need to do is call writer.write(image); and not writer.write(null, image, iwp); which is trying to compress a png which is a lossless format.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yoseph

79267157

Date: 2024-12-10 06:04:47
Score: 10 🚩
Natty: 6.5
Report link

Have you found any solution? I'm in the same situation

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Have you found any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Xavier Rincon Rico

79267146

Date: 2024-12-10 05:56:44
Score: 0.5
Natty:
Report link

The error message you're encountering, indicates that your access to the SharePoint resource is being restricted by Conditional Access policies set within your organization. These policies may require specific conditions to be met, such as device compliance or multi-factor authentication (MFA), which can prevent token issuance when using non-interactive authentication methods.

AADSTS53003: Access has been blocked by Conditional Access policies.

By addressing the Conditional Access policies and potentially using app-only authentication, you should be able to resolve the access issues you're facing.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Xyza_MSFT

79267140

Date: 2024-12-10 05:54:44
Score: 1.5
Natty:
Report link

My Python script used to run on both machines (Windows/Mac), but today it suddenly works on Windows but not on Mac. The error on Mac was a 'no module' error. I spent a long time researching the issue, and finally, I realized it was because the Python versions in the two IDEs were different.

In the end, my solution was to uninstall and reinstall the Python extension in VS Code on Mac, and that solved the problem.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: qi weiwei

79267125

Date: 2024-12-10 05:48:42
Score: 2.5
Natty:
Report link

I just fixed this with this exact same technique, added a random comment to my api (for info the comment was #this should not have to be the solution)

And it worked. The Lambda - Appsync queries run now. How is this still a solution 10 years later?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: HardBurn

79267123

Date: 2024-12-10 05:47:42
Score: 0.5
Natty:
Report link

UWP doesn't have a Windows product key. UWP apps are primarily distributed through the Microsoft Store. When a user installs an app from the Store, the licensing information is managed by the Store itself.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Junjie Zhu - MSFT

79267118

Date: 2024-12-10 05:44:41
Score: 0.5
Natty:
Report link

Am I getting this error because I am making a request from a secure site to a non-secure (SSL) location

The short answer is: no.

If you are using HTTP, there is no encryption in the request. So whether or not your process is a site that uses inbound SSL is not a factor. You can turn it off and try it to confirm.

What is really going on? A couple possibilities. You should manually send the request from curl or wget with verbose mode, and also look at the receiving server's logs.

Since you are using HTTP, you can also use telnet, if you are feeling very hands-on.

Reasons:
  • RegEx Blacklisted phrase (1): I getting this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: benc

79267103

Date: 2024-12-10 05:32:39
Score: 2.5
Natty:
Report link

LoadModule rewrite_module modules/mod_rewrite.so

The above line was commented out in my httpd.conf for MAMP

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Khadijah Celestine

79267096

Date: 2024-12-10 05:29:38
Score: 6
Natty: 7
Report link

A favor, I would want to consult about the following: on that a7670sa board, the pins UTX and URX working with 3.3v or 1.8V?.

How work the pins PWR-R and SLEEP?.

I thank you so much in advance for your help.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (3): thank you so much in advance
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user20602609

79267094

Date: 2024-12-10 05:28:37
Score: 2.5
Natty:
Report link

I just remove @Lob and its works

@Column(name = "media", columnDefinition = "bytea", nullable = true)
 private byte [] media;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Lob
  • Low reputation (1):
Posted by: Akdev

79267092

Date: 2024-12-10 05:27:37
Score: 3.5
Natty:
Report link

hello vijay kumar kya kar rhe ho apna kam kar lo

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: webvire vire

79267085

Date: 2024-12-10 05:25:36
Score: 3.5
Natty:
Report link

You can store claims in AspnetUserClaims table in database.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mechael

79267080

Date: 2024-12-10 05:23:36
Score: 0.5
Natty:
Report link

Recent versions of Firebase require at least Xcode 15.2.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Paul Beusterien

79267078

Date: 2024-12-10 05:21:35
Score: 1.5
Natty:
Report link

You can use this for any websites:

window.location.href = window.location.href.split('?')[0] + '?cacheBuster=' + new Date().getTime();

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kishan Patel

79267076

Date: 2024-12-10 05:20:35
Score: 2.5
Natty:
Report link

Hi Instead of log4j2 appender, i have installed aws cloudwatch agent on ec2 instance and pushed spark application logs on ec2 instance to Cloudwatch.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Karthik

79267075

Date: 2024-12-10 05:20:35
Score: 1
Natty:
Report link

I had this exact same issue and solved it by using a entrypoint.sh executable file as follows: #!/bin/sh set -e # Exit immediately if a command exits with a non-zero status

echo "Running migrations..." python manage.py migrate

echo "Collecting static files..." python manage.py collectstatic --noinput

echo "Starting the application..." exec gunicorn sgrat_dms.wsgi:application --bind 0.0.0.0:8000

The trick here was that the Start Command in the Additional Configuration section of the AWS App Runner service had to be blank so that it would default to the entrypoint.sh file. The problem is that if you have already set this, it can't be unset. I had to create a new service and keep the Start Command blank and deploy from the original image. This actually worked and now runs migrations when a new container is deployed.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Edward Condon

79267068

Date: 2024-12-10 05:17:35
Score: 1
Natty:
Report link

For users from an external provider, the username that works for me in admin_get_user is f"{identity provider ID}_{email}". It can also be seen in the username in the list of users in AWS Console's Cognito.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mionnaise

79267065

Date: 2024-12-10 05:15:34
Score: 1.5
Natty:
Report link

On my side it was something really simple, after cleaning the project, in run -> tomcat server -> Deployment, check the application context, often when creating deployment from scratch the context take _war_exploded prefix, so finally the deployment is done but you try to access with wrong application context

enter image description here

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: cyril

79267048

Date: 2024-12-10 05:04:32
Score: 1.5
Natty:
Report link

It appears that your project does not allow ES6+ imports. Try specifying "type": "module" in your package.json

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: beloyar

79267044

Date: 2024-12-10 04:57:30
Score: 3
Natty:
Report link

provider in laravel 11 change to directory bootstrap/providers.php

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andi Tenroaji Ahmad

79267037

Date: 2024-12-10 04:51:30
Score: 0.5
Natty:
Report link

To answer my own question,

This was the right method, however, ffmpeg needs a lot of input data to start receiving the stream and the test files were simply not long enough.

So for testing I have changed from test files to test desktop captures.

I will now describe the new process.

On my monitor, I have two web pages with gifs playing in a loop.

I capture these using ffmpeg ddagrab functionality example : -filter_complex "ddagrab=...

and they are cropped using the crop function example : crop=649:461:16:475

Here are the two full transmitter command lines, transmitting to udp://239.0.0.1:9991 and udp://239.0.0.1:9992

ffmpeg -hide_banner -filter_complex "ddagrab=framerate=30:output_idx=1:video_size=3840x2160,hwdownload,format=bgra,crop=649:461:16:475,scale=1280:720[out]" -map "[out]" -colorspace bt709 -chroma_sample_location left -c:v h264_nvenc -preset p1 -tune ull -bufsize 600k -g 15 -pix_fmt nv12 -flags low_delay -f mpegts udp://239.0.0.1:9991

ffmpeg -hide_banner -filter_complex "ddagrab=framerate=30:output_idx=1:video_size=3840x2160,hwdownload,format=bgra,crop=649:461:16:1500,scale=1280:720[out]" -map "[out]" -colorspace bt709 -chroma_sample_location left -c:v h264_nvenc -preset p1 -tune ull -bufsize 600k -g 15 -pix_fmt nv12 -flags low_delay -f mpegts udp://239.0.0.1:9992

I have also prepared two receiver test windows using ffplay as follows

ffplay -hide_banner -fflags nobuffer -flags low_delay -probesize 32 -analyzeduration 0 -max_delay 0 "udp://239.0.0.1:9991

ffplay -hide_banner -fflags nobuffer -flags low_delay -probesize 32 -analyzeduration 0 -max_delay 0 "udp://239.0.0.1:9992

and lastly the ffmpeg concatenation command as previously described

ffmpeg -hide_banner -i "udp://239.0.0.1:9991" -i "udp://239.0.0.1:9992" -filter_complex "[0:v:0][1:v:0]hstack=inputs=2" -c:v libx264 -preset ultrafast -f mpegts "udp://239.0.0.1:9990"

This command is being run on a separate computer on the same LAN, L2 segment

lastly, another ffplay command listening on udp://239.0.0.1:9990 will receive the final product


A demonstration of this process can be observed here

https://youtu.be/lVSAH_58VR4

Here are a few observations

1 It takes a while to start

2 Latency is high (multiple seconds)

3 Once started, if either of the streams goes out, the full stream is out

4 If you accidentally send two stream in port 9991, as I did at the beginning, the stream will alternate but still work a little and not crash, impressive !

5 And the worst part, when the stream stops because one input is stopped, the working stream will remain in buffer. This will increase delay and the stream will be permanently be desynced as the buffer is never dropped

Please supply alternative answers to alleviate these shortcomings

thanks !

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): youtu.be
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Shodan

79267036

Date: 2024-12-10 04:50:29
Score: 1
Natty:
Report link

This issue affects PC's using Bitdefender Advanced Threat Defense and Gradle version greater than 8.5

The workaround involves

No other changes were necessary

This is all discussed on the Gradle issue tracker here.

One user suggests creating a separate version of Java, but since Android Studio ships with its own implementation it seems to be overkill (please correct me if that is incorrect)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RatherBeSailing

79267030

Date: 2024-12-10 04:45:28
Score: 4.5
Natty: 4
Report link

Spreadsheet.getSheetById(gid) this exist now

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dev_osaka

79267026

Date: 2024-12-10 04:44:27
Score: 1
Natty:
Report link

Update your Program.cs or Startup.cs to add Newtonsoft.Json support

builder.Services.AddControllers()
.AddNewtonsoftJson(options =>
{
    options.SerializerSettings.ContractResolver = new 
    CamelCasePropertyNamesContractResolver();
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raza Sarwar

79267024

Date: 2024-12-10 04:43:27
Score: 1.5
Natty:
Report link

In my case, I forgot to add the database connection strings to the .env file I hope it will help

Reasons:
  • Whitelisted phrase (-1): hope it will help
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JOEGREEN

79267005

Date: 2024-12-10 04:25:23
Score: 4.5
Natty: 5
Report link

answered here: https://bettersolutions.com/excel/formulas/return-the-value-from-the-cell-above.htm

=INDIRECT(ADDRESS(ROW() - 1, COLUMN() ) )

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Guest

79267001

Date: 2024-12-10 04:23:22
Score: 1.5
Natty:
Report link

Does a single-indexed DataFrame use hash-based indexing?

ans No, Pandas does not use hash-based indexing for single-indexed DataFrames. Instead, it relies on array-based lookups or binary search when the index is sorted. If the index is unsorted, Pandas performs a linear scan, which is less efficient.

ans 2 :
If the DataFrame is sorted using sort_index(), Pandas can leverage a binary search to achieve faster lookups. Without sorting, lookups default to a linear scan.

ans 3: Hash-based indexing is more challenging for multi-indexes due to the hierarchical nature of the index. Instead, Pandas relies on binary search (for sorted indexes) or linear scan (for unsorted indexes) because these methods handle hierarchical indexing efficiently. Hash-based indexing would introduce additional overhead and complexity when working with multiple levels.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harshiddhsinh Vaghela

79266999

Date: 2024-12-10 04:21:22
Score: 1
Natty:
Report link

I encountered this one today, it was because something had uninstalled the SSM agent, but since the existing processes were still running, I could still attempt to connect.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Phil

79266996

Date: 2024-12-10 04:19:21
Score: 2
Natty:
Report link

try using share_plus , Easy to use

Function crossed out , That is, it is no longer used or is about to be removed. Must be careful in use

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: naphapen

79266980

Date: 2024-12-10 04:05:17
Score: 6 🚩
Natty: 5.5
Report link

I cant get this to work in viewer versión 7, can anyone help?

I have build my app on nextJS 14, but i have also forced dynamic rendering

Reasons:
  • RegEx Blacklisted phrase (3): can anyone help
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gabriel Jordan

79266974

Date: 2024-12-10 04:00:16
Score: 2
Natty:
Report link

Can it help? This is my code:

class Person {
    public var attachValue: Any?
    func setAttachValue<T>(_ obj: T) {
        self.attachValue = obj
    }
    func getAttachValue<T>() -> T? {
        return attachValue as? T
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can it help
  • Low reputation (1):
Posted by: Weizhen Liu

79266970

Date: 2024-12-10 03:57:15
Score: 4
Natty:
Report link

Make sure you have synced your project with the gradle files first.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Phecda.S

79266968

Date: 2024-12-10 03:56:15
Score: 2.5
Natty:
Report link

use conda solve my problem on macos: conda install cairo pango

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 吴高升

79266967

Date: 2024-12-10 03:56:15
Score: 3
Natty:
Report link

I installed Mozilla Firefox for Android off the Google Play Store. The first pdf opens without a download prompt without any tweaking.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joseph Candava

79266964

Date: 2024-12-10 03:54:14
Score: 3.5
Natty:
Report link

did you see 'the output is truncated' below your current output? just click the link near that, then you might see the summary of ARIMA/SARIMAX.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: szumin

79266947

Date: 2024-12-10 03:46:13
Score: 1
Natty:
Report link

set template True e.g:


class MenuBarApp(rumps.App):
    def __init__(self):
        super(MenuBarApp, self).__init__("App Name", icon='icon.png', template=True)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mustafa Candan

79266945

Date: 2024-12-10 03:39:12
Score: 1
Natty:
Report link
  1. WebClient considers response with error status codes (eg: 4xx, 5xx) as an exception.
  2. Because of throwing an exception (in this case), the exception handler of spring will return status code 500.

If you want to handle a specific WebClient response status code, use ExchangeFilterFunction to customize it with your exception type. (see this)

Then define the exception handler (scope spring) for this exception. (see this)

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Anthony Nguyen

79266937

Date: 2024-12-10 03:32:10
Score: 0.5
Natty:
Report link

The delayed update and timestamp issue in Google Sheets you experienced while in China could have been caused by several factors, primarily related to network connectivity, restrictions, and syncing mechanisms. Here’s a breakdown of the possible causes:

  1. Internet Restrictions (Great Firewall of China): Google services, including Google Sheets, are often blocked or heavily restricted in China. If you accessed Sheets through a VPN or proxy, it may have caused delays due to: Unstable or throttled connections. Difficulty establishing a continuous link to Google servers.
  2. Network Connectivity Issues: Weak or inconsistent internet connectivity can prevent real-time updates in cloud-based services. Changes made offline are typically queued and synced when the connection stabilizes. This syncing could have taken longer due to connectivity challenges.
  3. Offline Mode in Google Sheets: If you enabled offline access, your edits would be saved locally and synced to the cloud when you regained internet access. The delay in syncing could have caused the changes to appear with a delayed timestamp once the update reached Google’s servers.
  4. Time Zone Discrepancy: If your device or Google account settings were in a different time zone than the Google Sheets file's default timezone, the timestamps might reflect the server's time when the update was received, not when it was made.
  5. Google Servers or App-Specific Delays: Temporary issues with Google's syncing services or server processing times could cause updates to be delayed. Suggestions to Prevent Such Issues: Use a Reliable VPN:

Ensure you have a high-quality VPN if accessing Google services in regions with restrictions. Verify Offline Access:

Enable offline editing in Google Sheets before traveling, so edits are saved and synced seamlessly. Stable Internet Connection: Use a stable and reliable network to minimize syncing delays.

Check Time Zone Settings: Ensure your Google account and Sheets file are set to the same or desired time zone to avoid timestamp confusion. Would you like help troubleshooting or preparing for future use cases like this?

Here are actionable steps to ensure smoother usage of Google Sheets and other cloud-based services while in restricted regions like China:

Before Traveling to China:

Enable Offline Access in Google Sheets: Open Google Drive or Google Sheets. Go to Settings > General > Turn on Offline. This allows you to edit files offline, and changes will sync automatically when you're back online.

Set Up a Reliable VPN: Research and subscribe to a VPN known to work in China (e.g., NordVPN, ExpressVPN, or Surfshark). Install and test the VPN on all your devices before traveling. Configure the VPN for auto-connect on startup to avoid interruptions.

Check Time Zone Settings: Update your Google account timezone under Google Account Settings > Personal Info > Date & Time. Verify the spreadsheet’s timezone under File > Settings in Google Sheets.

Download Mobile Apps: Ensure the Google Sheets app is installed and up-to-date on your phone or tablet. Install additional tools, such as Google Drive, for better file management. While in China: Use the VPN:

Connect to your VPN before accessing Google Sheets. Select a server location near China but outside its borders (e.g., Hong Kong, Japan).

Avoid Public Wi-Fi:

Public networks may have stricter blocks or unstable connections. Use mobile data or a personal hotspot when possible. Keep Files Small:

Avoid working on large or heavily collaborative sheets, as syncing might be slower in restricted environments. Backup Data Locally:

Regularly download a copy of your spreadsheet (e.g., in Excel or CSV format) as a backup. To do this: File > Download > Microsoft Excel (.xlsx) or Comma-separated values (.csv). After Returning or Reconnecting: Force a Manual Sync:

Open Google Sheets and ensure the VPN is active. Reload the page or app to trigger a sync. Check the Last Edit Details to confirm all changes were successfully synced. Resolve Conflicts:

If you edited a file offline, and someone else also worked on it online, Google Sheets may prompt you to merge changes. Carefully review the conflict resolution prompts to avoid overwriting critical edits.

Verify Timestamp Accuracy:

Review the Version History in Google Sheets (File > Version History > See Version History) to ensure all edits are recorded properly. Long-Term Solution: Consider using an alternative service that operates without restrictions in China, such as Microsoft Excel with OneDrive or Zoho Sheets, which may face fewer connectivity issues in restricted regions. Would you like a walkthrough of setting up offline editing or using VPNs? Or perhaps assistance with any other tools?

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tech Tycoone

79266932

Date: 2024-12-10 03:28:09
Score: 3.5
Natty:
Report link

The code in the top-voted answer doesn't work for me. So I want with @HadiAkbarzadeh's answer, which is "handle playback-stopped and play again."

Here's how that looks with NAudio; note that you need to "rewind" the stream to position zero to replay. (Sorry, it's pseudocode-ish, for berevity.)

_waveOut = new WaveOutEvent();
_reader = new VorbisWaveReader("path/to/someAudioFile.ogg");
_waveOut.PlaybackStopped += (sender, args) => {
    _reader.Seek(0, SeekOrigin.Begin);
    _waveOut.Play();
};

That's it! It seamlessly replays after the audio completes.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @HadiAkbarzadeh's
  • Low reputation (0.5):
Posted by: nightblade9

79266931

Date: 2024-12-10 03:28:09
Score: 0.5
Natty:
Report link

I think I found the way to meet my needs.

  1. Since the build host is opensuse, the first thing to remove optimize options is to modify /usr/lib/rpm/rpmrc,find lines related to your build host arch and modify the flags as below:
optflags: x86_64 -O0 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
optflags: amd64 -O0 -g
  1. I noticed that while building the output shows that an Makefile.PL was run before make so I modified spec file. Add OPTIMIZE="-g3 -O0" at the end of lineperl Makefile.PL --bundled-libsolv

After these 2 steps, you can see the optimization level is set to 0. But where to find the default option for perl module ExUtils::MakerMaker is sitll unknown

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mr.D

79266930

Date: 2024-12-10 03:26:09
Score: 2
Natty:
Report link

I want to say more, but essentially I've found the following project provides a great recipe for Dask + Django integration:

https://github.com/MoonVision/django-dask-demo

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: blong

79266926

Date: 2024-12-10 03:23:08
Score: 4
Natty:
Report link

Caching and read-replica are different technologies that solve similar problems. Their nuances and pros/cons dictate when to use what.

In general,

This article sums it up nicely:

https://medium.com/@avishek1210/database-cache-or-read-only-replicas-choosing-the-right-approach-for-your-project-0b92cec7b985#:~:text=Heavy%20Analytical%20Queries%3A%20Offload%20resource,ideal%20for%20real%2Dtime%20systems.

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Avishek Kumar

79266925

Date: 2024-12-10 03:21:07
Score: 2
Natty:
Report link

This is very vital information to Traders who have been scammed before, my advice is for you to be wise before you invest in any binary options trade or broker, I was scammed for $122,000USD by an online broker but at last, I found someone who helped me to recover all my lost funds back from a scam that shocked my capital with an unregulated broker, If you need assistance with regards of your lost funds from your broker or maybe your broker manager is asking you to make more deposit before you could make a withdrawal or your account has been manipulated by your broker manager or your broker has blocked your account just because they need you to make more deposit to your account. If you're interested in getting all your lost funds back kindly get in contact with Recovery Expert, He was the one who helped me to bring back my lost funds, contact him Via email:(recoveryexpert326 at Gmail dot com ) He will guide you on the steps I took in getting all my refunds and bonuses back. Good Luck to you

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: robert webb

79266921

Date: 2024-12-10 03:20:06
Score: 4
Natty: 4
Report link

In VBA stop the macro and the References option will be available.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: HM69

79266908

Date: 2024-12-10 02:59:03
Score: 1
Natty:
Report link
Route::middleware(['auth:sanctum', 'can:view customers'])->group(function () {
    Route::get('/customers', [CustomerController::class, 'index'])->name('customer.index');
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: PHPer

79266898

Date: 2024-12-10 02:50:01
Score: 0.5
Natty:
Report link

For anyone landing here late, If you're using type script you can add it to a globa type definition

//global.d.ts
declare module '*.cypher' {
  const content: string;
  export default content;
}

then you can just do

import cypher from './mycypher.cypher'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fridaystreet

79266896

Date: 2024-12-10 02:46:01
Score: 1
Natty:
Report link

if you are just deleting all data in some tables in postgresql ...

you can truncate the 2 tables together like :

truncate table table1, table2;

otherwise you can see the other answers

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed_Moulla

79266888

Date: 2024-12-10 02:37:59
Score: 0.5
Natty:
Report link

Using Excel 365 (not sure if it's going to work for other versions):

=IF(SUM(IF((B4:E4="D")*(OFFSET(B4:E4,0,-1)="D"),1,0))>0,"Demotion","n/a")

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Michal

79266876

Date: 2024-12-10 02:28:58
Score: 1.5
Natty:
Report link

As suggested by Simon Urbanek, this problem may be solved by changing the default font:

CairoFonts(regular="sans:style=Regular")

https://github.com/s-u/Cairo/issues/49

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jiansen Lu

79266875

Date: 2024-12-10 02:27:57
Score: 1.5
Natty:
Report link

I think Tim's answer will handle your specific use case. There are additional recipes for adding and changing spring property values and these recipes will make changes to both properties and yaml formatted files.

The best way to get an idea of how these recipes work is to take a peek at the tests:

AddSpringPropertyTest

ChangeSpringPropertyTest

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tyler Van Gorder

79266867

Date: 2024-12-10 02:20:55
Score: 5.5
Natty:
Report link

Please check this issue and try again. https://github.com/ionic-team/capacitor/issues/7771

Reasons:
  • Blacklisted phrase (1): Please check this
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bá Dũng

79266857

Date: 2024-12-10 02:14:54
Score: 1
Natty:
Report link

Instead of iterating over all queries for every item in idx, iterate through qs as the outermost and only for loop, adding each query to toc[q.title[0]] (and creating the list if needed).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: tenuki

79266856

Date: 2024-12-10 02:12:53
Score: 3
Natty:
Report link

I answered here (using jQuery): https://stackoverflow.com/a/79266686/11212275

It works with React as well; just copy the "responsive" array.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Luis Lobo

79266854

Date: 2024-12-10 02:10:52
Score: 4
Natty: 4
Report link

If your laptop is connected to a vpn, disconnect and retry it.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bart

79266843

Date: 2024-12-10 02:03:51
Score: 2.5
Natty:
Report link

Alternatively, add .npmrc file at the root of the project (same level you expecting to run 'npm install') and add the:

registry=https://registry.npmjs.org

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AJ S

79266832

Date: 2024-12-10 01:55:48
Score: 0.5
Natty:
Report link

What I'm guessing is going on (but can't know without seeing the data) is that your explanatory variables are highly correlated with each other. The significance of each variable is calculated based on how much additional variance is explained when you add that variable to a reduced model with all the variables except that one. So if your explanatory variables are collinear, adding another one isn't going to explain much variance that the others haven't.

Also, definitely too many predictors for the data you have. That could, quite possibly, be the sole reason your explained deviance is so high. For only 12 data, you probably don't want more than one or two predictors (though read elsewhere for other opinions).

One possible way forward would be to do a principal component analysis of your explanatory variables, or of a subset of your explanatory variables that would naturally group together. If one or two principal components explain a large proportion of the variance in your explanatory variables, then use those principal components as your predictors instead.

Another possibility would be to jettison any predictors that seem less important a priori (emphasis on the a priori part).

Also, you will probably get better answers than this on Stats.SE.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Eonema

79266830

Date: 2024-12-10 01:52:48
Score: 1
Natty:
Report link

When moving diagonally, you're applying an offset of magnitude speed in two directions at once for a total diagonal offset of sqrt(speed^2 + speed^2) = sqrt(2) * speed ≈ 1.414 * speed. To prevent this, just normalize the movement to have a magnitude of speed. You can store the offset in a vector and use scale_to_length to do so, or you can just divide the x and y offsets by sqrt(2) if a horizontal and vertical key are both pressed.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: tenuki

79266828

Date: 2024-12-10 01:50:47
Score: 0.5
Natty:
Report link

For Postfix regexp_table(5):

/^From: DHL <.*@([-A-Za-z0-9]+\.)*[Dd][Hh][Ll]\.[Cc][Oo][Mm]>$/i  DUNNO
/^From: DHL </i                                                   REJECT

For postfix pcre_table(5):

/^From: DHL <.*@(?!(?i)([-a-z0-9]+\.)*dhl\.com>$)/i  REJECT
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fumiyas

79266827

Date: 2024-12-10 01:48:47
Score: 2
Natty:
Report link

I did exactly the same thing that all the responses to this post are saying.

But I achieved a solution with a simple command, in addition to the previous solutions

In the script you need to put "--files"

"scripts": { "dev": "ts-node-dev --respawn --env-file=.env --files src/index.ts",

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brian Chiastellino

79266810

Date: 2024-12-10 01:22:41
Score: 1
Natty:
Report link

So many years without right answer... Of course, you can!

Just stop PG, make copy of your cluster data directory (PGDATA) with thoroughly saved permissions and change in your PG`s postgresql.conf "data_directory" parameter pointing to the new location, start PG.

I.e.

/etc/postgresql/11/main/postgresql.conf

data_directory = '/mnt/other_storage/new_cluster_location'

It was tested many times under Debian and Ubuntu environments without any problems. Just works as it expected: fast and reliable (PG versions 9-16).

data_directory in pg_catalog->pg_settings changes automatically after server restarts.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eugene Zakharenko

79266807

Date: 2024-12-10 01:21:41
Score: 2.5
Natty:
Report link

Have a look at selectize input that will start searching for the options that partially match the string typed.

enter image description here

As mentioned, best to just have the search value i.e. select one or more of; 'setosa', 'versicolor', 'virginica'. I would add slider inputs to filter numeric columns

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Zekiye