79352227

Date: 2025-01-13 12:51:20
Score: 2
Natty:
Report link

I have found a solution to my problem.

Thanks to @itallmakescents, I was able to use the OpenXML Productivity Tool to compare the XML output of what my program generated vs. my expectations.

It turns out the first <w:rPr> tag is not a RunProperties tag, but a ParagraphMarkRunProperties tag instead. I needed to remove the FontSize instance belonging to the RunProperties tag, and change the FontSize of the ParagraphMarkRunProperties to 1pt.

My final solution can be seen here:

OpenXML.Table lastTable = oNewReportDoc.MainDocumentPart.Document.Body
    .Descendants<OpenXML.Table>()
    .Last();

OpenXML.Paragraph paraToEdit = lastTable.NextSibling<OpenXML.Paragraph>();


List<RunProperties> runProps = paraToEdit.Descendants<RunProperties>().ToList();

List<ParagraphMarkRunProperties> pMarkProps = paraToEdit.Descendants<ParagraphMarkRunProperties>().ToList();

foreach (RunProperties rp in runProps)
{
    rp.RemoveAllChildren<FontSize>();
    rp.Remove();
}

foreach (ParagraphMarkRunProperties prp in pMarkProps)
{
    prp.RemoveAllChildren<FontSize>();
    prp.AddChild(new FontSize() { Val = "2" });
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @itallmakescents
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jbrrr

79352225

Date: 2025-01-13 12:51:19
Score: 4
Natty:
Report link

Please can you explain why this is the case? - I can see what you are doing and that you don't want it change your method of doing this (i.e merging and unmerging) but getting an idea of why you are working like this might allow an answer that can give you a slight suggestion on tweaking your process.

While looking to answer this for you, i can see that excel counts a merge cell as one (which is probably what you have noticed) so it will not double count a merged cell, even if it covers a range of 2 cells.

I have added the image of what i think you have and the totals at the bottom. The totals at the bottom don't currently show what you would want.

A bit more information would be handy.

Set up

Set up background formulas

Reasons:
  • RegEx Blacklisted phrase (2.5): Please can you explain
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mikael Papantoniou

79352223

Date: 2025-01-13 12:50:19
Score: 2.5
Natty:
Report link

With the hint here: https://github.com/in2code-de/powermail/issues/1197

This works:

temp.emailA = CASE
temp.emailA {
    key.data = GP:tx_powermail_pi1|field|fieldA
    12345678 = TEXT
    12345678.value = [email protected]
    default = TEXT
    default.value = [email protected]
}

temp.emailB = CASE
temp.emailB {
    key.data = GP:tx_powermail_pi1|field|fieldA
    key.stdWrap.crop = 3 | | 0
    123 = TEXT
    123.value = [email protected]
    default = TEXT
    default.value = [email protected]
}

plugin.tx_powermail.settings.setup.receiver.predefinedReceiver.receivers1.email = COA
plugin.tx_powermail.settings.setup.receiver.predefinedReceiver.receivers1.email {
  10 < temp.emailA
  20 = TEXT
  20.value = ,
  30 < temp.emailB
}

Thanks to https://stackoverflow.com/users/6783328/julian-hofmann

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3759978

79352217

Date: 2025-01-13 12:45:17
Score: 10 🚩
Natty: 6
Report link

Did you ever get a solution to this problem? I have a similar problem where Waze will crash on my Android Auto when the Android System WebView updates automatically despite auto updates being disabled in Google Play.

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • RegEx Blacklisted phrase (3): Did you ever get a solution to this problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Matt Chiera

79352216

Date: 2025-01-13 12:45:17
Score: 1.5
Natty:
Report link

This problem is called "precoloring" and, like node coloring, is NP-hard. You can construct (possibly approximate) solutions to this problem by making modifications to the graph and then running a standard node colouring algorithm. I've included a screenshot of the relevant section of my book below, which explains how to do this.

Alternatively, the GCol Python library has functions for coloring graphs that have precolored nodes.

Reference: Lewis, R. (2021) A Guide to Graph Colouring: Algorithms and Applications (second ed.). Springer. ISBN: 978-3-030-81053-5

Precoloring problem

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rhyd Lewis

79352202

Date: 2025-01-13 12:40:16
Score: 2.5
Natty:
Report link

Following this issue comment on Github I managed to fix this error by updating python from 3.9.1 to 3.9.13 and running the code again

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

79352187

Date: 2025-01-13 12:34:14
Score: 2
Natty:
Report link

I recommend that you use an external API, because if you want to upload them directly to TikTok as public posts, not only do you need to create an app on TikTok, but they also have to audit your website and everything, which is a difficult process. I use upload-post.com, which is very affordable, and the integration is super simple.

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

79352183

Date: 2025-01-13 12:32:13
Score: 11
Natty: 7.5
Report link

any updates on this? Did you manage to solve the issue?

Reasons:
  • Blacklisted phrase (1): any updates on
  • RegEx Blacklisted phrase (3): Did you manage to solve the
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pierre Gerardi

79352181

Date: 2025-01-13 12:32:13
Score: 1.5
Natty:
Report link

When you use SET search_path, it applies only to the current session and does not persist across new connections. set search path for user and Database accordingly for example:

ALTER ROLE USER SET search_path TO "$user", public, extensions, gis;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you use
  • Low reputation (1):
Posted by: Gayu thulasi

79352180

Date: 2025-01-13 12:31:12
Score: 4.5
Natty: 4.5
Report link

I would love to know this too! How to protect the collector endpoints when client observability is desired?

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

79352179

Date: 2025-01-13 12:31:12
Score: 2
Natty:
Report link

Con .NET Framework 4.6 API y Angular 18, en el mismo sitio, a mi me funciono esto:

    <system.webServer>
       <security>
        <requestFiltering>
           <requestLimits maxAllowedContentLength="2147483648" />
           </requestFiltering>
     </security>
         <modules runAllManagedModulesForAllRequests="true" />
     <validation validateIntegratedModeConfiguration="false" />
     <handlers>
        <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
        <remove name="OPTIONSVerbHandler" />
        <remove name="TRACEVerbHandler" />
        <remove name="WebDAV" />
        <add name="ExtensionlessUrlHandler-Integrated-4.0" path="/api/*" verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
        <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" requireAccess="Script" />
         </handlers>
     <httpPlatform stdoutLogEnabled="true" stdoutLogFile="./node.log" startupTimeLimit="20" processPath="C:/Program Files/nodejs/node.exe" arguments="./server/server.mjs">
         <environmentVariables>
             <environmentVariable name="PORT" value="%HTTP_PLATFORM_PORT%" />
             <environmentVariable name="NODE_ENV" value="Production" />
         </environmentVariables>
     </httpPlatform>
  </system.webServer>
</configuration>
Reasons:
  • RegEx Blacklisted phrase (2.5): mismo
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Washington Lopez

79352175

Date: 2025-01-13 12:30:11
Score: 1
Natty:
Report link

Those are warnings that may need attention, or may not. That is NOT a problem and you can go on using INET.

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

79352168

Date: 2025-01-13 12:28:11
Score: 0.5
Natty:
Report link

Just increase the zIndex of the line series to a higher value, 1000 for example.

Demo: https://jsfiddle.net/BlackLabel/6qybs0Lt/

API reference: https://api.highcharts.com/highcharts/series.line.zIndex

{
    name: 'Average',
    type: 'line',
    data: [4, 2.67, 2.67, 3.33, 1.33, 2.67, 3.67, 3.00, 2.67, 2.33, 2.67, 3.00, 3.67, 4.00, 4.67, 4.00, 4.00, 3.00, 2.67, 2.00, 2.00, 2.00, 2.00, 1.67],
    zIndex: 1000
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy

79352164

Date: 2025-01-13 12:26:10
Score: 1
Natty:
Report link

To achieve this type of calculation in SQL, where you need a recursive dependency on previous rows, you can utilize a recursive common table expression (CTE). Here's how you can approach your problem step-by-step:

Steps: Base Case (Initialization): The first row will be computed directly since there's no prior week to reference.

Recursive Case: For subsequent rows, compute:

Stock: Add the order_amount from two weeks ago (based on delivery_time) to the current week's stock. Order Amount: Check if stock - needed < safety_stock. If true, an order is placed (order_amount is added to stock in the delivery week). Delivery Logic: Use the delivery_time column to identify when the order is delivered and update the stock accordingly.

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

79352161

Date: 2025-01-13 12:26:06
Score: 10.5
Natty: 7.5
Report link

I have the same problem and i tried this code but it doesn't work for me. Is it still up to date?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michal Černý

79352157

Date: 2025-01-13 12:24:05
Score: 4
Natty:
Report link

Figured this one out, you need to change recur_every from "Week" to "7Days".

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

79352156

Date: 2025-01-13 12:24:05
Score: 2
Natty:
Report link

Didn't get a workaround for this issue, but was able to modify my code to use the example app provided in the offical docs here, which worked for me.

Docs: https://github.com/microsoft/BotBuilder-Samples/blob/632217bae6846aa99c3d553e29f8f061dce1754b/archive/samples/python/54.teams-task-module/bots/teams_task_module_bot.py.

Hope this helps :)

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): Did
  • Low reputation (0.5):
Posted by: Gagan Ganapathy

79352149

Date: 2025-01-13 12:20:05
Score: 2
Natty:
Report link

The first week begins on the first Monday (if running with %W), or the first Sunday (if running with %U).

Every day before the first Monday/Sunday is basically week 0.

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

79352142

Date: 2025-01-13 12:17:03
Score: 4
Natty:
Report link

Try to increase the value for timeout from 10 to 50.

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

79352130

Date: 2025-01-13 12:10:01
Score: 2.5
Natty:
Report link

Remove management.health.defaults.enabled=false or make it equal true.

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

79352126

Date: 2025-01-13 12:09:01
Score: 4
Natty: 4
Report link

Check your Proguard obfuscation rules

https://developer.amazon.com/docs/in-app-purchasing/iap-obfuscate-the-code.html#iap-and-code-obfuscation

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

79352124

Date: 2025-01-13 12:08:00
Score: 1
Natty:
Report link

Another error occurs in src/config.js, src/metadata/controller.js, and node_modules/webrtc-polyfill/lib/Blob.js

netlify/functions/api.js

import express from 'express';
import cors from 'cors';
import { envConfigFile, MONGODB_URL } from '../../src/config.js';
import validateEnvFile from '../../src/envValidation.js';
import connectToDatabase from '../../src/database.js';
import router from '../../src/routes.js';
import serverless from "serverless-http";

export const app = express();

const startServer = async () => {
    await validateEnvFile(envConfigFile, ['MONGODB_URL']);
    await connectToDatabase(MONGODB_URL);

    app.use(express.json({ limit: '5mb' }));
    app.use(cors());

    app.use('/api/v1', router);

    app.use((req, res, next) => {
        res.status(404).json('The requested resource was not found on this server');
    });
};

startServer();

export const handler = serverless(app);

src/config.js

   const __filename = fileURLToPath(import.meta.url); #9th line

src/metadata/controller.js (ignore)

   const __filename = fileURLToPath(import.meta.url);

node_modules/webrtc-polyfill/lib/Blob.js:1:34:

[ERROR] Top-level await is currently not supported with the "cjs" output format
4:50:54 PM:     node_modules/webrtc-polyfill/lib/Blob.js:1:34:
4:50:54 PM:       1 │ const _Blob = globalThis.Blob || (await import('node:buffer')).Blob

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: John6602

79352122

Date: 2025-01-13 12:07:00
Score: 1
Natty:
Report link

As mentioned in https://github.com/JoshClose/CsvHelper/issues/1842, starting from version v27 Configuration.TypeConverterOptionsCache moved to Context.TypeConverterOptionsCache.. Apart from this change, Vladimir's answer is correct.

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

79352114

Date: 2025-01-13 12:03:59
Score: 3.5
Natty:
Report link

This was caused by a dodgy index on the table. Now the index has been corrected, the error no longer happens.

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

79352105

Date: 2025-01-13 12:00:58
Score: 2.5
Natty:
Report link

Enter =TRUE or =FALSE in the cell directly. This will store them as a boolean type in Excel.

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

79352100

Date: 2025-01-13 11:59:57
Score: 4.5
Natty: 4.5
Report link

"Hey Siri, skip next alarm" does the trick. I would imagine it is possible to script as well? But if siri can do it, do you need the script then?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Damogran72

79352095

Date: 2025-01-13 11:58:57
Score: 1
Natty:
Report link

As a point of interest, we can also say something similar in reverse. That is, all boolean expressions can be expressed as graph coloring problems.

To do this, take an arbitrary boolean expression (a satisfiability problem), and write it out in 3-conjunctive normal form. From this, we can convert the latter expression into a graph that is 3-colorable if and only if the original expression is satisfiable. This proves that the graph 3-coloring problem in NP-complete.

Here's an example based on the proof of Karp (1972). (Karp, M. "Complexity of Computer Computations", Reducibility Among Combinatorial Problems, pages 85–103. Plenum, New York, 1972.)

3-CNF Converted to 3-coloring

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

79352091

Date: 2025-01-13 11:56:56
Score: 8.5 🚩
Natty: 6.5
Report link

what route did you take? Were you able to use Delta Lake/Parquet files without using a spark pool and a synapse workspace?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: jonk

79352086

Date: 2025-01-13 11:55:55
Score: 3
Natty:
Report link

Your solution worked but now I'm getting:- keytool error: java.io.IOException: Invalid keystore format

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

79352076

Date: 2025-01-13 11:52:54
Score: 1
Natty:
Report link

As mentioned by milan above, it works for me too when I removed the option "-T". In my case was "-T 4".

I should also point out that it is building faster now that I removed that option.

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

79352070

Date: 2025-01-13 11:48:53
Score: 2
Natty:
Report link

You have created a c# script function, some of the nuget packages are not by default installed (refer to https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-csharp?tabs=functionsv2%2Cfixed-delay%2Cazure-cli#using-nuget-packages). The error message is clear that the 3 libraries are not installed via nuget.

For NuGet package, you can either use extension bundles or manually create extensions.csproj file in the site and remove the extensionBundle element from host.json. More details here:

https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=azure-portal%2Cto-premium#manually-install-extensions

My suggestion is to download the project to local and give it run before testing on func app.

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

79352068

Date: 2025-01-13 11:47:53
Score: 2.5
Natty:
Report link

env.JOB_NAME?.split('/')[0]

Works for me

Reasons:
  • Whitelisted phrase (-1): Works for me
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: user528322

79352054

Date: 2025-01-13 11:41:52
Score: 3
Natty:
Report link

If you have this problem and you are using Laravel Sail, then try restarting/recreating your containers after you created migration files. Helped for me.

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

79352052

Date: 2025-01-13 11:40:51
Score: 2
Natty:
Report link

I'm not familiar with abcpdf9, but you can probably try @media print in your CSS code (try without !important first) and make sure it doesn't get overridden, so put it at the end of your file if unsure:

@media print {
  #h5 {
    font-weight: bold !important;
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @media
  • Low reputation (1):
Posted by: sasos

79352049

Date: 2025-01-13 11:39:51
Score: 2
Natty:
Report link

Just simply use:

User.where({ [ :age, :score ] => [ [ 5, 6 ], [ 9, 12 ], [ 22, 44 ] ] })

Reference: https://github.com/rails/rails/pull/36003

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

79352044

Date: 2025-01-13 11:38:50
Score: 0.5
Natty:
Report link

I faced the same issue. If downgrading compileSdkVersion is not an option for you, try Upgrading Android Studio and upgrading Flutter to the latest version It helped me. Below are the versions that worked for me.

Android Studio Ladybug Feature Drop | 2024.2.2

Flutter version - 3.27.1

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: MubarakZade

79352036

Date: 2025-01-13 11:34:50
Score: 2.5
Natty:
Report link

SELECT '(' || SUBSTRING(phone FROM 1 FOR 3) || ') ' || SUBSTRING(phone FROM 4 FOR 3) || '-' || SUBSTRING(phone FROM 7 FOR 4) FROM table;

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

79352035

Date: 2025-01-13 11:33:49
Score: 0.5
Natty:
Report link

In my case the problem was the same name of the default webpack websocket and the mask in the proxy (/ws). Adding a new segment to the mask helped and instead of “/ws/**” I got “ws/api/**”.

{
    context: [
        "/ws/api/**",
        "/stream/ws/**"
    ],
    target: "wss://my-instance.com",
    ws: true,
    secure: false,
    changeOrigin: true,
},
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: feelingreat

79352032

Date: 2025-01-13 11:32:49
Score: 0.5
Natty:
Report link

You want the foldl' from Prelude (which works on lists), not Data.ByteString (which works on bytestrings). You don't have to import anything since Prelude is imported automatically.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Naïm Favier

79352027

Date: 2025-01-13 11:31:47
Score: 6 🚩
Natty:
Report link

I also have the same problem. Changing to Point3d didn't help

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I also have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: adizhol

79352025

Date: 2025-01-13 11:31:47
Score: 1
Natty:
Report link

When to Use WordPress Static Content Management: If your application has a significant number of static pages (e.g., About, Help, Contact) and content management is a priority. The admin interface allows non-developers to manage content easily. Plugins like page builders (e.g., Elementor) make designing static pages quick and flexible. User Management: WordPress has a built-in user registration and management system. If this aligns with your application's requirements, it can save development time. You can extend functionality using plugins like WooCommerce Memberships or custom coding. Quick Setup for Non-Core Features: For functionalities like SEO (using Rank Math or Yoast), caching, and contact forms, WordPress has mature plugins, reducing the need to build from scratch. Community and Extendibility: The WordPress ecosystem provides a wide range of plugins and themes, saving time on common features like authentication, page design, or search. When to Use CakePHP Application Complexity: If the core of your application involves a custom search engine using Sphinx and processing large datasets, CakePHP gives you the flexibility and control needed to optimize for performance. With CakePHP, you can design your database and queries specifically for your application's requirements without unnecessary overhead. Custom Logic and Scalability: CakePHP is ideal for building highly customized applications with complex logic. It's a better choice if you anticipate needing advanced functionality or scalability beyond what WordPress can efficiently handle. Developer Familiarity: If you’re already comfortable with CakePHP, you’ll spend less time building the dynamic features of your app. While WordPress can be customized for complex features, it has a steeper learning curve for PHP developers unfamiliar with its structure.

Hybrid Approach You can leverage both platforms by combining their strengths: Use WordPress for CMS Features: Manage your static pages and user authentication through WordPress. Use WordPress as a front-end or headless CMS (using the REST API). Use CakePHP for Dynamic Features: Build the search engine and other dynamic components in CakePHP. Integrate CakePHP with WordPress for seamless communication, using APIs or shared databases.

Conclusion Use WordPress if the ease of content management and user registration are primary goals, and the dynamic functionality is relatively simple or can be achieved through plugins. Use CakePHP if your project requires highly customized dynamic features and you want more control over performance and architecture. A hybrid approach could give you the best of both worlds if your application has distinct static and dynamic needs.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When to Use
  • Low reputation (1):
Posted by: Iflair Web Technologies

79352020

Date: 2025-01-13 11:28:44
Score: 6 🚩
Natty: 4
Report link

Have you found a way? I'm working on a project needing repetition removal too. Maybe we can join forces. So far I'm able to remove simple repetitions but not big chunks

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a way
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aris Favia

79352014

Date: 2025-01-13 11:26:43
Score: 0.5
Natty:
Report link

Your are commiting last offset by yourself. Try to remove code line 42 consumer.commitSync().

When you set enable.auto.commit to false, then you are responsible to commit by yourself and this is what you are doing with consumer.commitSync().

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vytautas Šerėnas

79352010

Date: 2025-01-13 11:24:42
Score: 8
Natty: 7
Report link

I do not understand where do I need to put your code. Please, can you explain where to add your code?

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): can you explain
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Heimat

79352001

Date: 2025-01-13 11:21:41
Score: 3
Natty:
Report link

Are you sure your element locator doesn't return something unexpected like a different type or a List[]?

print(str(driver.find_element(By.NAME, 'report_range')))
print(str(driver.find_element(By.ID, 'repDateRange')))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Bernd Hohmann

79352000

Date: 2025-01-13 11:20:41
Score: 2
Natty:
Report link

In your custom security manager code that you created, you can add the following code after the logout functions

session.clear()

You need to make sure you have included the session element of flask at the top of your code: from flask import ( redirect, request, session )

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

79351996

Date: 2025-01-13 11:19:40
Score: 2.5
Natty:
Report link

I recommend use an external api for this, beacause if you want to publish in tiktok publish videos (not only private), need to pass a audit and is so difficult, so I recommend use upload-post.com api is so easy the ingration

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

79351981

Date: 2025-01-13 11:13:39
Score: 2.5
Natty:
Report link

This seems flawed to me - Do I understand correctly that Justin is saying I could have a cluster of 100 servers and if only the primary and the backup it is connected to die at the same time then the cluster is down and I loose data? So Artemis is NOT high availability

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user3183111

79351978

Date: 2025-01-13 11:13:38
Score: 4.5
Natty: 4
Report link

Or just use this script

https://github.com/maxbakhub/winposh/blob/main/WindowsDesktopManagement/RemoveOldDuplicateDrivers.ps1

replace the last command # Invoke-Expression -Command "pnputil.exe /remove-device $Name" with this

Invoke-Expression -Command "pnputil.exe -f -d $Name"

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: TStoner

79351971

Date: 2025-01-13 11:08:37
Score: 3.5
Natty:
Report link

this component can't be used in Expo Go. You have to convert it into custom development build or use prebuild.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Átila de Freitas

79351969

Date: 2025-01-13 11:08:37
Score: 1
Natty:
Report link

With svelte 5.0, the way of mounting component into js has been changed. Now it looks like that:

import { mount } from "svelte";
mount(Component, {target: targetNode});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bugthefifth

79351968

Date: 2025-01-13 11:08:37
Score: 3.5
Natty:
Report link

Whats the situation of CefGlue in 2025? Like I have seen the Official repo on Gitlab which seems to be dead. Also for CefGlue on linux there aren't many thing.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: idk

79351966

Date: 2025-01-13 11:07:37
Score: 2
Natty:
Report link

You can open the menu on the side of the Device Toolbar and select "Add device type", you will then have an additional option in the toolbar to change between mobile and desktop with or without touch.

DevTools Device toolbar menu

Option for Device type

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

79351958

Date: 2025-01-13 11:04:36
Score: 2.5
Natty:
Report link

this can be solved using

box-sizing: border-box;

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

79351952

Date: 2025-01-13 11:03:36
Score: 1
Natty:
Report link

Taking the question literally

array= [11 22 33]

csl = regexprep(strip(sprintf('%d, ', array)), ',+$','')

ans =

    '11, 22, 33'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: craigB

79351943

Date: 2025-01-13 11:00:35
Score: 2
Natty:
Report link

I had my hands on the user's phone today, turns out Display Zoom was also turned on. Disabling it fixes the issue.

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

79351939

Date: 2025-01-13 10:58:35
Score: 2
Natty:
Report link

It sounds like there might be an issue with how the trivia game is validating the answers. Ensure the comparison logic is correct (case sensitivity, exact match, etc.), and check if the array data is being accessed properly. Debugging might help identify any inconsistencies. strong texthttps://cricscoops.com/laser-247-com/

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

79351938

Date: 2025-01-13 10:58:35
Score: 3
Natty:
Report link

Best answer so far is from Filip Seman above mine.

(Could not vote or comment yet, sorry)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tripple Moon

79351936

Date: 2025-01-13 10:57:34
Score: 2
Natty:
Report link

In fact, as @peter-kriens explained, the tool is showing you an empty instance, which is a valid solution in the sense that having no member and no tool is allowed by your spec.

But the message is indeed misleading: there's no hiding issue in this case; the Visualizer should rather tell you that the instance is empty.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @peter-kriens
  • Low reputation (0.5):
Posted by: Grayswandyr

79351931

Date: 2025-01-13 10:56:34
Score: 1.5
Natty:
Report link

After ages I've finally solved it. I hadn't imported CommonModule into my component so it looks like ngFor wasn't working. No indication/highlighting from VSCode for some reason.

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

79351926

Date: 2025-01-13 10:53:33
Score: 3.5
Natty:
Report link

I have a page where the different scenarios can be tested:

https://hakanols.github.io/spel/AwaitTopLevel/index.html

iOS browsers is managing even worse.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Håkan Olsson

79351919

Date: 2025-01-13 10:51:33
Score: 1.5
Natty:
Report link
Sub call_my_script
 Shell("~/my_script.sh")
End Sub

No need to instantiate session or to call RunApplication(), as simple as it has to be :-)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Denis M

79351917

Date: 2025-01-13 10:50:31
Score: 9 🚩
Natty: 5.5
Report link

Did you find the answer? What's the trading application url?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the answer
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the answer
  • Low reputation (1):
Posted by: Laur Matache

79351910

Date: 2025-01-13 10:47:30
Score: 1.5
Natty:
Report link

One can use DavideViolante plugin for Chart.js version 4+. It is forked from emn178/chartjs-plugin-labels

Chart.js Plugin Labels for Chart.js v4+

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

79351909

Date: 2025-01-13 10:47:30
Score: 2
Natty:
Report link

Set the boxshadow to null or none !important and set the scale value to 2, it will work. but if you want box shadow again after downloading the image, then store it in a variable before downloading it and set the boxshadow to null, then download the image and set the boxshadow value from the variable you have set after download.

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

79351905

Date: 2025-01-13 10:46:27
Score: 6 🚩
Natty:
Report link

I have the same issue and don't understand why the problem occurs. After realizing that I had turned on my browser VPN, I found it was the main reason. :)

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: RandeView

79351898

Date: 2025-01-13 10:42:26
Score: 2.5
Natty:
Report link

In Laravel, the Controller is a central component of the MVC (Model-View-Controller) pattern, responsible for handling user requests, orchestrating logic, and returning responses. To properly use a Controller in Laravel, follow these guidelines

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

79351878

Date: 2025-01-13 10:37:25
Score: 1
Natty:
Report link

More recent information FCM: sending FCM messages at scale

Quota Tokens, Token Buckets, and Refills: When sending messages against the FCM HTTP v1 API, each request consumes an allotted Quota Token in a given time window. This window, called a "Token Bucket", refills to full at the end of the time window. For example: the HTTP v1 API allots 600K Quota Tokens for each 1-minute Token Bucket, which refills to full at the end of each 1-minute window.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Markus Frauenfelder

79351867

Date: 2025-01-13 10:34:24
Score: 3
Natty:
Report link

I have also faced this issue and been trying to recreate the official docu use case for many hours, and finally found a solution.

Keep in mind that I'm also a beginner to Wix, so if anyone has any improvements feel free to add.

1- You need to download or copy the WixUI_InstallDir.wxs file from the official github repository into your project file.

2- Then you need to change the ids of the UIs in the file:

<UI Id="WixUI_InstallDir_Custom_$(WIXUIARCH)">
...
<UI Id="WixUI_InstallDir_Custom_ExtendedPathValidation_$(WIXUIARCH)">
...
<UI Id="file WixUI_InstallDir_Custom">

Also change the Id in the package file:

<ui:WixUI Id='WixUI_InstallDir_Custom' InstallDirectory='INSTALLFOLDER'/>

3- If you try to build your project now, you may face an error saying: The identifier 'WixUI:WixUI_InstallDir' is inaccessible due to its protection level. and pointing to the first UIRef in the file. You just need to also change it to the new custom name:

<UIRef Id="WixUI_InstallDir_Custom" />

I'm not sure why it only points to the first reference.

4- Now if you try to build you'll face the same error you mentioned above: The primary key 'BrowseDlg/OK/SetTargetPath/[_BrowseProperty]/1' is duplicated in table 'ControlEvent'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
To Fix this, You just need to comment out the publish statements related to _BrowseProperty in the WixUI_InstallDir_Custom UI.

5- You will then face the same error but this time pointing to the EndDialog event for the BrowseDlg. Like before just comment out the publish statement related to it.

<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" />
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="3" />
<!--<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1" />-->
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2" />

<!--<Publish Dialog="BrowseDlg" Control="OK" Event="SetTargetPath" Value="[_BrowseProperty]" Order="3" />-->
<!--<Publish Dialog="BrowseDlg" Control="OK" Event="EndDialog" Value="Return" Order="4" />-->

6- Now you will face another error related to the license page, but since you and I don't need it, we can just remove it just like in the offical docu, and edit the next and back attributes for the WelcomeDlg and InstallDirDlg:

<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Condition="NOT Installed" />
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" />

7- You can now build it and the license page is no more. You can also now add your custom dialog with no issues, put its Id in the next and back attributes in the same way as the official docu.

This is how my WixUI_InstallDir.wxs file looked by the end:

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?foreach WIXUIARCH in X86;X64;A64 ?>
<Fragment>
    <UI Id="WixUI_InstallDir_Custom_$(WIXUIARCH)">
        <Publish Dialog="BrowseDlg" Control="OK" Event="CheckTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" />

        <Publish Dialog="InstallDirDlg" Control="Next" Event="CheckTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" />
        <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4" />
    </UI>

    <UIRef Id="WixUI_InstallDir_Custom" />
</Fragment>
<?endforeach?>

<?foreach WIXUIARCH in X86;X64;A64 ?>
<Fragment>
    <UI Id="WixUI_InstallDir_Custom_ExtendedPathValidation_$(WIXUIARCH)">
        <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="1" />
        <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="2" Condition="WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;" />

        <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="1" />
        <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="2" Condition="WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;" />
        <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4" Condition="WIXUI_INSTALLDIR_VALID=&quot;1&quot;" />
    </UI>

    <UIRef Id="WixUI_InstallDir" />
</Fragment>
<?endforeach?>

<Fragment>
    <UI Id="file WixUI_InstallDir_Custom">
        <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
        <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
        <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />

        <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />

        <DialogRef Id="BrowseDlg" />
        <DialogRef Id="DiskCostDlg" />
        <DialogRef Id="ErrorDlg" />
        <DialogRef Id="FatalError" />
        <DialogRef Id="FilesInUse" />
        <DialogRef Id="MsiRMFilesInUse" />
        <DialogRef Id="PrepareDlg" />
        <DialogRef Id="ProgressDlg" />
        <DialogRef Id="ResumeDlg" />
        <DialogRef Id="UserExit" />

        <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" />

        <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Condition="NOT Installed" />
        <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Condition="Installed AND PATCH" />


        <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" />
        <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="3" />
        <!--<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1" />-->
        <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2" />

        <!--<Publish Dialog="BrowseDlg" Control="OK" Event="SetTargetPath" Value="[_BrowseProperty]" Order="3" />-->
        <!--<Publish Dialog="BrowseDlg" Control="OK" Event="EndDialog" Value="Return" Order="4" />-->

        <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1" Condition="NOT Installed" />
        <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2" Condition="Installed AND NOT PATCH" />
        <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2" Condition="Installed AND PATCH" />

        <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg" />

        <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg" />
        <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg" />
        <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg" />

        <Property Id="ARPNOMODIFY" Value="1" />
    </UI>

    <UIRef Id="WixUI_Common" />
</Fragment>

and my package file only has the simple reference:

<ui:WixUI Id='WixUI_InstallDir_Custom' InstallDirectory='INSTALLFOLDER'/>
Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): face the same error
  • Low reputation (1):
Posted by: Solsen165

79351858

Date: 2025-01-13 10:31:24
Score: 0.5
Natty:
Report link

The GeneratedRegexAttribute has a constructor that accepts matchTimeoutMilliseconds, you can just use that like

[GeneratedRegex("...", RegexOptions.IgnoreCase, 1000 /* Or whatever value */)]
private static partial Regex Pattern();
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: MindSwipe

79351857

Date: 2025-01-13 10:30:22
Score: 6 🚩
Natty: 5
Report link

Me parece genial tu idea , el.detalle sería el desarrollo node_modules/function-bind/implementation.js para reducir el tiempo y mejorar los return , saludos cualquier duda estoy de nuevo el línea.

Reasons:
  • Blacklisted phrase (1.5): saludos
  • Blacklisted phrase (2): estoy
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joan Hernández

79351856

Date: 2025-01-13 10:30:22
Score: 1.5
Natty:
Report link

Sorry I didn't investigate well on this problem before posting the question. It turned out that the qrcode received from the plc device is invalid. It contains only \0 while claiming length is 1. The problem is reproduced and fixed by checking c-style string end in the qrcode.

Thanks all who looked at the problem.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: AIMIN PAN

79351851

Date: 2025-01-13 10:29:22
Score: 1
Natty:
Report link

MacBook Pro M1, had the same problem with kubectl - plain reboot helped.

Will have in mind the brew reinstall path though next time it happens.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bolesław Denk

79351850

Date: 2025-01-13 10:28:21
Score: 1
Natty:
Report link

You can mock ResizeObserver globally in your Jest test setup to avoid this error.


global.ResizeObserver = jest.fn().mockImplementation(() => ({
    observe: jest.fn(),
    unobserve: jest.fn(),
    disconnect: jest.fn(),
}))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bhumi Gangani

79351849

Date: 2025-01-13 10:28:21
Score: 1
Natty:
Report link

Simply do this

import { Routes as Switch } from 'react-router-dom';

In this way there is no need to make change to multiple places.

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

79351845

Date: 2025-01-13 10:27:21
Score: 1
Natty:
Report link
const config = {
  plugins: [
    // Some plugins, like tailwindcss/nesting, need to run before Tailwind,
    tailwindcss(), //Maybe tailwindcss is wrong
    // But others, like autoprefixer, need to run after,
    autoprefixer,
  ],
};

tailwindcss() instead of tailwindcss

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

79351842

Date: 2025-01-13 10:27:21
Score: 5
Natty: 5
Report link

What's the process that you use to have argocd drop the pull secret in every namespace it manages?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What's the
  • Low reputation (0.5):
Posted by: jblack

79351834

Date: 2025-01-13 10:25:20
Score: 5
Natty: 7
Report link

bonjour jais le même problèmes avec FIFA Editor Tool pour importer un trophy mesh fbx lod bin value cannot be null. ('parameter nodes') ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: stanester Hbib

79351829

Date: 2025-01-13 10:23:19
Score: 2
Natty:
Report link

4 years later: I have run into a similar problem where I want to train a multi-label classification model using lightgbm/ xgboost. To the best of my knowledge, there still isn't one for lightgbm but you can implement it on xgboost: https://xgboost.readthedocs.io/en/stable/tutorials/multioutput.html

So the answer to your question 1 is yes, for lightgbm the labels have to be mutually exclusive.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ishigami

79351823

Date: 2025-01-13 10:21:18
Score: 0.5
Natty:
Report link

What worked for me was:

  1. Uninstalling all Docker apps from Homebrew
  2. Updating MacOS to the latest version (in my case from 14 to 15.2)
  3. Installing Docker Desktop from the website and not via Homebrew

I'm on Mac Silicon M1 chip. In my case, Docker did start, but this 'Docker will damage your computer pop-up kept haunting me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: FOR_SCIENCE

79351820

Date: 2025-01-13 10:20:18
Score: 2.5
Natty:
Report link

Both times I was modifying checkout.php were for features I either had not enabled or had not clicked "accept terms and service" for. In the php logs Stripe tells you as much.

For collecting emails, I had to accept the terms here

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

79351818

Date: 2025-01-13 10:19:17
Score: 2
Natty:
Report link

No, the ConcurrentDictionary<K,V>.TryRemove method doesn't release all allocated memory. It releases the memory associated with the removed key (a Node), but it doesn't shrink the array where the nodes are stored. The amount of memory wasted by a partially filled ConcurrentDictionary<K,V> is significantly less than the amount of memory wasted by a partially filled Dictionary<K,V>, and that's why currently (.NET 9) the ConcurrentDictionary<K,V> is not equipped with an API similar to the Dictionary<K,V>.TrimExcess.

Adding the TrimExcess to the ConcurrentDictionary<K,V> has been proposed in this GitHub proposal, but it didn't go anywhere and it was eventually closed. Quoting from this proposal:

ConcurrentDictionary stores its data differently than does a Dictionary; the vast majority of memory it consumes is stored in nodes per element, rather than one large array.

ConcurrentDictionary._tables._buckets is a Node array, whose length can be even greater than the number of elements, and this array will not shrink when the elements are removed.

Yes, but all it stores are the node references; with Dictionary, each entry stores both the TKey and the TValue and additional state (a hash code and next link).

The references also occupy a lot of memory. On 64-bit systems, for simple key/value, e.g. ConcurrentDictionary<int, int>, a reference takes about 40% memory of a Node.

A reference is 8 bytes on 64-bit. Can you please share code for the scenario that's causing you to want such a method?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share code
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Theodor Zoulias

79351814

Date: 2025-01-13 10:15:16
Score: 2.5
Natty:
Report link

2025 now.

After a lot of testing with c++ and c# I concluded that you need to use a lot of advanced methods in both languages.

That said I think optimising for c# to get already amazing performance was a little easier and faster results.The C# compiler is also really great and multithreading was also more straight forward. Did not use SIMD.

But!! I've also used Halide Lang for some processing of array's. It's a DSL in c++ and if done right it edges out c# by a big margin. It manages SIMD, multithreading and algorithm optimising for a specific architecture for you. The learning curve is rather steep as with everything in c++ when optimising.

Conclusion: always test and benchmark... if you want results faster and don't want to go too deep in a rabbit hole use c#. If it is still to slow and the budget permits it go to c++. I highly recommend Halide Lang as it does a lot of voodoo for you. You can built a DLL and link in C# if needed.

And to answer the question, yes, c++ is potentially (a lot) faster. But is it worth the time and money?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dodgy Programmer

79351813

Date: 2025-01-13 10:14:15
Score: 4.5
Natty:
Report link

there is a bug for Redis.from_url() as singlton , see the issue: https://github.com/redis/redis-py/issues/2638

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

79351802

Date: 2025-01-13 10:10:14
Score: 1.5
Natty:
Report link

You are right, action masking is an established concept, but only for discrete action spaces.

There are also ways to enforce hard constraints for continuous actions. For 1d actions spaces (which I think your problem is?), this is pretty straight forward, since you can just clip the actions in the way you described.

However, for more complex action constraints in higher dimensional spaces, the problem becomes more difficult. To address this, we have published a paper on continuous action masking with convex sets in the 2024 NeurIPS conference.

You can find our paper here https://openreview.net/forum?id=yVzWlFhpRW&noteId=LISF9Uv6j6
Also feel free to reach out if you have any questions about it.

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

79351792

Date: 2025-01-13 10:07:14
Score: 2.5
Natty:
Report link

I wrote iabs2rel pypi-package for this

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

79351778

Date: 2025-01-13 10:02:11
Score: 4
Natty:
Report link

You can refer to https://code.visualstudio.com/docs/devcontainers/attach-container#_attached-container-configuration-reference and add "remoteUser" in your Named Container Configuration File

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ming-3364

79351743

Date: 2025-01-13 09:47:08
Score: 0.5
Natty:
Report link

Not a 'deepthroat' programmer at all here, but, couldn't sth like this also work?:

MYPATH="/could/you/please/let/me/keep/the/last/word/ofthis/line"

MYPATHLAST=$(echo "${MYPATH}" | sed -r "s/^(.*)([/])(.*)$/\3/")

echo "${MYPATHLAST}"

Maybe a bit extensive, this, and maybe out of context, but, often useful, sed. It literally takes any last word/part at the end of the given line '(.*)', referenced by group-id 3.

My 'context' is a bash script with zenity '--file-selection --directory' of which the output goes to this rsync:

rsync -rauW --delete --inplace --no-compress --info=progress2 ${EXCL} --mkpath ${SOURCE}/ ${DESTINATION}

(Nevermind the (unquoted) EXCL var, it references possible exludes also rendered through zenity.)

The problem is that '--mkpath' does create a dir by means of a bash script without zenity but not bmo a bash script with zenity --file-selection. You would have to type the new dir at destination from zenity --file-selection, if it doesn't exist. If rsync would create the new dir (the last word of the path-line), I could just select one destination dir upwards with zenity --file-selection to create the new dir with the same name as source dir within it.

So I'm looking for a way to first create the dir with the same name at destination (mkdir -p probably) and then run rsync on it.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: suahuab

79351742

Date: 2025-01-13 09:47:08
Score: 1
Natty:
Report link

you should be able to use this:

cy.get("@api.all").should("have.length", 0);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Ako

79351730

Date: 2025-01-13 09:44:06
Score: 1
Natty:
Report link

I am able to resolve the issue. When using Angular Material components like mat-datepicker or mat-date-range-picker, the values may appear in the DOM even if the reactive form values are not persisted after duplicating a tab. This happens because these components often bind their values directly to the DOM input element as part of their internal behavior, which can interact with browser features like autofill or caching. Angular Material components like mat-date-range-picker use MatInput to synchronize the value with the underlying DOM element. When you duplicate a tab:

  1. If the browser preserves the DOM state (e.g., due to caching or autofill), the input's value will persist.
  2. This is separate from the state of Angular's reactive form.

So I just added autocomplete=off in my html as

<input matStartDate formControlName="start" autocomplete="off" placeholder="Start date" id="startDate" #startDateInput>

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

79351726

Date: 2025-01-13 09:43:06
Score: 1
Natty:
Report link

Had similar issue. The problem seemed to be that we where stil using java files not kotlin. (MainApplication.java => MainApplication.kt, MainActivity.java => MainActivity.kt). Also do not forget to add "apply plugin: "org.jetbrains.kotlin.android" at the top of your app/build.gradle file.

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

79351724

Date: 2025-01-13 09:42:05
Score: 2
Natty:
Report link

Each item returned by the ArrayList object's enumerator is of type object. var is still determined at the compile time.

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

79351718

Date: 2025-01-13 09:41:05
Score: 1.5
Natty:
Report link

Had to talk with an organization-wide admin who could re-enable Inheritance for the branches in question, and remove explicit Deny settings.

Once we got in there, it was blocked like this: Blocked

After explicit Deny was removed, the branch could inherit repository security.

TL;DR: Always implement principle of least priviledge.

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

79351717

Date: 2025-01-13 09:41:05
Score: 2.5
Natty:
Report link

I have found only paid solution https://lsadecrypt.online/, but it's able to decode lsa images with watermark and lsav in lower quality than original for registered users.

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

79351715

Date: 2025-01-13 09:40:04
Score: 4
Natty: 4
Report link

AWS Aurora Serverless v1 to v2 Upgrade: Key Configuration Changes, v1 vs v2 Comparison, and Migration Guide with CloudFormation

https://medium.com/@umairf17iiui/aws-aurora-serverless-v1-to-v2-upgrade-key-configuration-changes-v1-vs-v2-comparison-and-702dbf899bfe

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Umair Khan

79351712

Date: 2025-01-13 09:39:04
Score: 3.5
Natty:
Report link

I changed "badge.background" to fix it

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Raymond R

79351707

Date: 2025-01-13 09:37:03
Score: 3
Natty:
Report link

After updating to Version: 1.96.2 The NPM Script Explorer is now available in 'Views' menu in the Explorer in all folders.

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

79351705

Date: 2025-01-13 09:36:03
Score: 3
Natty:
Report link

You have to mention connection name in glue connection configuration in job details section. After that it will work

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

79351703

Date: 2025-01-13 09:35:02
Score: 11 🚩
Natty: 6
Report link

also the same problem, did u solved it?

Reasons:
  • RegEx Blacklisted phrase (3): did u solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29175041

79351702

Date: 2025-01-13 09:34:02
Score: 2.5
Natty:
Report link

I have discovered the cause for this. When I disconnect the Ethernet connection to my MacBook the issue does not happen. So WiFi connection alone to the corporate network works. Although I am happy I have resolution, I don't understand the conflict here.

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