79318572

Date: 2024-12-30 20:41:18
Score: 1
Natty:
Report link
../gradlew -q dependencies 

or

gradlew -q dependencies

depending on where you are at in your project structure. I use Intellij and it only seems to work in the Command Prompt in the local terminal

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

79318566

Date: 2024-12-30 20:38:16
Score: 3
Natty:
Report link

The feature is still missing within the Monitoring API.

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

79318565

Date: 2024-12-30 20:37:16
Score: 2.5
Natty:
Report link

@user.update(...) also works in rails 6 and it fully replaces @user.update_attributes(...) from rails 5 code. You don't need to convert it to a class instance aka User.update call where you can get later issues when updating nested models (while @user.update also works on nested models just like the deprecated method update_attributes did in rails 5).

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Walter Schreppers

79318562

Date: 2024-12-30 20:36:16
Score: 2
Natty:
Report link

For me, the issue was caused by activating multiple conda environments. And deactivating the first one will switch the ipython to the second environment version which solved the issue.

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

79318552

Date: 2024-12-30 20:31:15
Score: 2
Natty:
Report link

FYI as of 2024.12.30 web_usb 0.2.0 example does not compile. install instructions way too simple and no troubleshooting provided. expect to see: "Error: Type 'EventListener' not found" Target of URI doesn't exist: 'ledger_nano_s_page. dart'. etc..

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

79318546

Date: 2024-12-30 20:29:15
Score: 0.5
Natty:
Report link

I would suggest 2 options:

  1. Get the values from the table and construct an array of values where you can map later as in an Angular project. Check the links: getElementByTagName, get table cells

  2. Rconstruct the HTML element

Extra suggestion. Ask for a better API.

Reasons:
  • RegEx Blacklisted phrase (1): Check the links
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Stefani Toto

79318545

Date: 2024-12-30 20:28:14
Score: 1.5
Natty:
Report link

I was struggling with the same issue, there are plenty of online tools that will ''sort by length'' simple single cell/column of data...

But nothing that can process multiple rows of data, in CSV, TXT - comma-separated, or tab-delimited Excel/Sheet files that I have, so that ALL data is sorted according to specific ''ROW'' of data that I want to sort by length.

This online browser-based tool- https://chathelp.ai/tools/sort-csv-txt-column-by-character-length/

Was able to get the job done, it executed in the browser but still worked for my multi-row 40mb+ CSV files, as well as for single-line text files.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: jveritas

79318539

Date: 2024-12-30 20:23:13
Score: 6.5
Natty: 8
Report link

Does java 21 require drools 10?

Reasons:
  • 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: mike

79318538

Date: 2024-12-30 20:22:12
Score: 3.5
Natty:
Report link

2025ammarnakhostin2008

Gnueidjfjgjgngnnggngngnfnf Fbdbfbfjfbfbf Ffnffjuc9w919rydhwuwieif Fjffhdur8w9dubbxzjxxxssudud Sjdufufururdffguh8h9f9wuwhd Dudkeqhuetigijfhfsg Jcbsnwhdjakahfucwm w

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: ammar

79318532

Date: 2024-12-30 20:17:10
Score: 4.5
Natty:
Report link

You can directly Download it from here. https://web.archive.org/web/20220331130319/https://yann.lecun.com/exdb/mnist/

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

79318530

Date: 2024-12-30 20:15:10
Score: 3.5
Natty:
Report link

Can you please unblock my

whatsapp how to fix this

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Irena Herold

79318528

Date: 2024-12-30 20:15:10
Score: 0.5
Natty:
Report link

You can use the ryuk.container.image property to instruct testcontainer to use a ryuk image from your internal docker image registry. See more details on this documentation page.

Reasons:
  • Blacklisted phrase (1): this document
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: yuppie-flu

79318519

Date: 2024-12-30 20:10:08
Score: 1
Natty:
Report link

Make sure to put the commands at very top of the paogram as follows:

#define BLYNK_TEMPLATE_ID "xxxxxxx"
#define BLYNK_TEMPLATE_NAME "xxxxxxx"

and before the commands of #include

#include <WiFi.h>
#include <Blynk.h>
#include <BlynkSimpleEsp32.h>

to be like this order

 #define BLYNK_TEMPLATE_ID "xxxxxxx"
 #define BLYNK_TEMPLATE_NAME "xxxxxxx"
 #include <WiFi.h>
 #include <Blynk.h>
 #include <BlynkSimpleEsp32.h>

and everything will be fine : ) : )

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: ALI Mohammed

79318517

Date: 2024-12-30 20:09:07
Score: 3
Natty:
Report link

i've tried a litte bit.

My findings can be broken down into the following:
It's true JS can is not able to understand (?i) it can only be used globally. Therefore:

console.log(/(?i:[A-Z]{3})/.test("abcdefghijkl")); 
// should return an error 
// or false if (?i) is ignored

console.log(/(?i:[A-Z]{4})/.test("abcdefghijkl")); // same here

If {x} is between 0 and 3 it returns true otherwise it returns false this is true for firefox nightly, firefox, brave, opera, chrome and edge.

The reason why I believe this is a bug:

After using safari it throws an error

Invalid regular expression: unrecognized character after (?

Therefore I believe you are right this is a bug in chromium and firefox.

I hope this helps and if anything is unclear or incorrect please let me know! :)

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I hope this helps and if anything is unclear or incorrect please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Carl

79318510

Date: 2024-12-30 20:06:06
Score: 2.5
Natty:
Report link

If you are using phyton 3 the below should work

sudo -H pip3 install -U pipenv

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

79318505

Date: 2024-12-30 20:03:06
Score: 0.5
Natty:
Report link

:3: error: unclosed character literal PUBG (PlayerUnknown's Battlegrounds) ^ :3: error: not a statement PUBG (PlayerUnknown's Battlegrounds) ^ :3: error: ';' expected PUBG (PlayerUnknown's Battlegrounds) ^ :5: error: expected import javax.swing.; ^ :5: error: illegal start of expression import javax.swing.; ^ :6: error: illegal start of expression import java.awt.; ^ :6: error: expected import java.awt.; ^ :6: error: illegal start of expression import java.awt.*; ^ :7: error: illegal start of expression import java.awt.event.KeyAdapter; ^ :7: error: not a statement import java.awt.event.KeyAdapter; ^ :8: error: illegal start of expression import java.awt.event.KeyEvent; ^ :8: error: not a statement import java.awt.event.KeyEvent; ^ :9: error: illegal start of expression import java.util.ArrayList; ^ :9: error: not a statement import java.util.ArrayList; ^ :10: error: illegal start of expression import java.util.Random; ^ :10: error: not a statement import java.util.Random; ^ :12: error: illegal start of expression public class BattleRoyaleGame extends JPanel { ^ :51: error: : expected case KeyEvent.VK_UP -> playerY -= playerSpeed; ^ :51: error: illegal start of expression case KeyEvent.VK_UP -> playerY -= playerSpeed; ^ :52: error: : expected case KeyEvent.VK_DOWN -> playerY += playerSpeed; ^ :52: error: illegal start of expression case KeyEvent.VK_DOWN -> playerY += playerSpeed; ^ :53: error: : expected case KeyEvent.VK_LEFT -> playerX -= playerSpeed; ^ :53: error: illegal start of expression case KeyEvent.VK_LEFT -> playerX -= playerSpeed; ^ :54: error: : expected case KeyEvent.VK_RIGHT -> playerX += playerSpeed; ^ :54: error: illegal start of expression case KeyEvent.VK_RIGHT -> playerX += playerSpeed; ^ :119: error: reached end of file while parsing } ^ 26 errors

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

79318496

Date: 2024-12-30 20:00:05
Score: 0.5
Natty:
Report link

1) M365 Groups

2) Microsoft Teams

3) SharePoint and Permissions

4) OneDrive Permission and Data

5) Emails and Outlook

6) Workflow/Job Frequency

Additional Notes:

  • Documentation: Maintain clear documentation of when and why user accounts are disabled.
  • Communication: Inform users about the impact of disabling their accounts, especially regarding access to Private Teams.
  • Re-enabling Process: Establish a streamlined process for re-enabling accounts and re-adding users to necessary groups and teams.
  • Regular Reviews: Conduct regular reviews of disabled accounts to ensure they are re-enabled or deleted as appropriate.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Virendra Kumar

79318494

Date: 2024-12-30 19:58:04
Score: 0.5
Natty:
Report link

The first code block is incorrect. Match patterns like that only work when all the parameters to be matched on come after the colon. For example, the code block is equivalent to

    def length (α : Type) : List α -> Nat
    | List.nil => Nat.zero
    | List.cons y ys => Nat.succ (length α ys)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kyle Miller

79318488

Date: 2024-12-30 19:55:04
Score: 3
Natty:
Report link

Second @null's answer. The key is the Python extension. Deleting ~/.vscode-server works only if you don't install the Python extension.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @null's
  • Single line (0.5):
  • Low reputation (1):
Posted by: LillyH.

79318487

Date: 2024-12-30 19:54:04
Score: 3
Natty:
Report link

first cd into the project that you are currently working in ( type cd and the project name) then in terminal type "flutter pub add intl"

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

79318485

Date: 2024-12-30 19:53:03
Score: 1
Natty:
Report link

Another common workaround if available is to use git clone with Http(s) URIs instead of a SSH connexion, which is often possible with GitHub/Gitlab repos. You may ask to or configure your git server to be able to do so.

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

79318481

Date: 2024-12-30 19:53:03
Score: 3
Natty:
Report link

I don't know why the sender.currentTitle returns nil but you can upwrap it (better to not force an unwapring) and print the result

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

79318473

Date: 2024-12-30 19:48:02
Score: 0.5
Natty:
Report link

I encountered the same error, try the steps below.

  1. Add the following annotation in your application class @EnableR2dbcRepositories.

  2. Extend R2dbcRepository class instead of CoroutineCrudRepository class. Make sure your import is org.springframework.data.r2dbc.repository.R2dbcRepository

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

79318469

Date: 2024-12-30 19:47:02
Score: 1
Natty:
Report link

The following code allows you to print both, host and URI to the console:

Serial.print("Request: ");
Serial.print(webServer.hostHeader());
Serial.println(webServer.uri());
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NDB

79318466

Date: 2024-12-30 19:45:01
Score: 1.5
Natty:
Report link

You probably need to add:

android:exported="true"

to the declaration of the receiver in your AndroidManifest.xml.

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

79318462

Date: 2024-12-30 19:43:01
Score: 1
Natty:
Report link

I think you will have no problem useParams is not the react hook, it's officially provided by react-router-dom

So technically,it will process the slug with your component and provide it before that route code is loaded

you can do simple validation on backend or frontend

if(!slug) return

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

79318455

Date: 2024-12-30 19:36:59
Score: 0.5
Natty:
Report link

Not sure what database or SQL flavor you're using but array_contains works for querying an array of strings:

SELECT *
FROM table
WHERE ARRAY_CONTAINS(column_name, "string") = True;

Doing it this way generate the actual rows of data, not just a Boolean as shown in the documentation.

https://docs.data.world/documentation/sql/reference/functions/array_contains.html

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

79318446

Date: 2024-12-30 19:31:59
Score: 3
Natty:
Report link

This just could happend if u recently re-named a anything through entire solution could affect csproj file.

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

79318441

Date: 2024-12-30 19:29:58
Score: 1.5
Natty:
Report link

To answer this - Just copy the path of the folder that you are looking and write cd (path of the folder). It will work fine.

Hope it works

Reasons:
  • Whitelisted phrase (-1): Hope it works
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shivansh Gupta

79318438

Date: 2024-12-30 19:27:58
Score: 1
Natty:
Report link

There are two things in play here. First, as Eric pointed out, you're passing the address of name, not the contents (although you would use %p instead of %d to print that properly). But even if you cast and dereferenced the argument so as to interpret the contents of that array as an integral type (which might run into alignment issues: ints aren't necessarily allowed to start at any point in memory. They generally need to start at a word boundary), it wouldn't necessarily print the same as the other:

Some CPUs store the bytes of a multibyte object out of order. This is called the endianness of the representation. Intel chips are little-endian, where the least significant byte is stored at the front (as are most other modern systems. I think Apple used to use big-endian chips, but I'm not sure). So (for a 32-bit unsigned int), 0x00112233 would actually be stored as { 0x33, 0x22, 0x11, 0x00 }.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: Ray

79318425

Date: 2024-12-30 19:22:56
Score: 2
Natty:
Report link

With Edge it seems that persistent indexeddb is not possible. In the developer tools, Application/IndexedDB is shown as not persisted, and I don't see how this can be changed. On Chrome, open chrome://settings/content/siteData and either allow all web sites or just yours. And you need a secure context, as so often.

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

79318417

Date: 2024-12-30 19:17:55
Score: 0.5
Natty:
Report link

In my case, I put a form inside the DropdownMenu.Item of Radix Primitives' Dropdown Menu component, I was able to solve this by applying asChild={true} to it.

<DropdownMenuItem asChild={true}>
    <form>
    ...
    </form>
</DropdownMenuItem>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hao Zonggang

79318416

Date: 2024-12-30 19:17:55
Score: 0.5
Natty:
Report link

Thanks @Paulw11, now I understand. Execution just continues after the call to the Swift code, you need to just let the completion block do it's thing, and handle things from there.

The Objective-C code now is:

- (void) ReceiptValidatedWith:(int)validation_code
{        
    if (validation_code != 1) {
        ALog(@"AppStore receipt invalid, exiting.");
        [NSApp terminate:self];
    }
    else {
        ALog(@"AppStore receipt VALID, continuing.");
    }
}

- (void) validateReceipt
// Validating receipt now only possible via Swift, call method AppTransaction.shared in swift module.
// As that all is async code we need to jump through some hoops to get at the value of the validity code.
{
    ALog(@"validating receipt...");
    
    [self.receiptValidation getValidityOfAppStoreReceiptWithCompletionHandler:^(NSInteger validation_code, NSError *error) {
        [self ReceiptValidatedWith:validation_code];  // called on completion of the Swift code
    }];
}

Just for the heck of it the code to interface to Swift:

.h

// AppStore receipt validation module (Swift)
@property (nonatomic,strong) ReceiptValidation *receiptValidation;  // swift

.m

@synthesize receiptValidation;  // swift module

// AppStore receipt validation with swift module
self.receiptValidation = [[ReceiptValidation alloc] init];
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Paulw11
  • Self-answer (0.5):
Posted by: RickJansen

79318406

Date: 2024-12-30 19:11:54
Score: 0.5
Natty:
Report link

If you want to get only the numbers from the text, you can easily use:

"(\d+)"

When try it on regex101 platform, the results are: Regex

also, you can use Regex:

"\}?\{?(\d+)\\?\}?"

to skip all special & un-wanted characters, and the results should be as this: Regex

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Adel Alaa

79318388

Date: 2024-12-30 19:02:52
Score: 3
Natty:
Report link

I already had the same error and the problem comes from the Firefox browser. With Chrome there is no this error

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

79318381

Date: 2024-12-30 19:01:52
Score: 2.5
Natty:
Report link

I do not have the reputation to comment on any of the answers. But as of 2024, none of these methods work.

Windows recognizes that the ssh.bat file is not ssh.exe, with or without the echo (at least that is what I conclude from

The specified path "C:\Users\<user>\ssh.bat" is not a valid SSH binary
Checking ssh with ...

It works effortlessly with plink. I can, in the terminal, say plink user@hostname while I have a ticket in MIT Kerberos, and I can get in. But it just can't with the methods used for VSCode. It would be so nice if we could have the ability to, instead of ssh-ing into the remote through a native Windows SSH client, use Plink and get the same functionality as the Remote SSH extension gives us.

But I guess I'll be programming using the terminal now.

I would love to be told by someone that there is still a way out.

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): I do not have the reputation to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maddy

79318372

Date: 2024-12-30 18:55:49
Score: 9.5 🚩
Natty: 6
Report link

did you find a solution to this problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a solution to this
  • Low reputation (1):
Posted by: user28993690

79318369

Date: 2024-12-30 18:54:49
Score: 3
Natty:
Report link

Regret but this is completely wrong application of pointers. Just, separate two functions - write and read in two different source files and see for yourself.

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

79318362

Date: 2024-12-30 18:51:48
Score: 0.5
Natty:
Report link

It is possible to do so, but certainly not optimal or recommended considering your use case. It is not possible to predict the char range before AES encryption, so the main idea is that you could try to encrypt the message with a different key and/or a different IV instead, and do so until you detect programmatically that the ciphertext contains no special char before sending it over the network. Your service will then suffer another problem considering the security of key sharing and decryption unless you choose to work only with a new IV. Using Base64 encoding like TheNytangel answer will use less bandwidth over the network while tackle the initial problem more effectively.

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

79318343

Date: 2024-12-30 18:42:46
Score: 2
Natty:
Report link

Yes, you can run Geant4 in multi-threading mode, but it requires some preparations. You can learn about the built-in multi-threading support in Geant4 here for example CERN, Parallelism in GEANT4.

I have also encountered such CPU usage fluctuations, and not only with Geant4 programs. I'm not sure about reasons for this behaviour.

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

79318339

Date: 2024-12-30 18:41:45
Score: 1.5
Natty:
Report link
    ∇R←∆FI A
[1] R←'0' ⎕EA¨ (A≠' ')⊂A
    ∇

      ∆FI '23SKIDOO ¯12.4 .4 3J7 2.0J7d'
0 ¯12.4 0.4 3J7 0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brian McGuinness

79318334

Date: 2024-12-30 18:40:45
Score: 3
Natty:
Report link

موقع "https://aiafta.blogspot.com/2024/12/rule-based-learning.html" يحتوي على مقال حول "التعلم القائم على القواعد" (Rule-Based Learning)، ويمكن وصف المحتوى كما يلي: https://aiafta.blogspot.com/2024/12/rule-based-learning.html ملخص المقال

  1. تعريف التعلم القائم على القواعد.
  2. أنواع التعلم القائم على القواعد.
  3. خوارزميات التعلم القائم على القواعد.
  4. تطبيقات التعلم القائم على القواعد.
  5. مزايا وعيوب التعلم القائم على القواعد.
  6. أمثلة على التعلم القائم على القواعد.

المحتوى الرئيسي

  1. مقدمة التعلم القائم على القواعد.
  2. أنواع القواعد (قواعد افتراضية، قواعد استدلالية، قواعد تكرارية).
  3. خوارزميات التعلم (RIPPER، CN2، AQ، ID3).
  4. تطبيقات التعلم (التصنيف، التنبؤ، تحليل البيانات).
  5. مزايا التعلم (سهولة الفهم، دقة عالية، تطبيق متعدد).
  6. عيوب التعلم (صعوبة تحديد القواعد، الحساسية للبيانات الخاطئة).

الموارد

  1. روابط إلى مواقع تعليمية.
  2. كتب حول التعلم الآلي.
  3. مقالات ذات صلة.

الشكل العام

  1. تصميم بسيط وسهل القراءة.
  2. استخدام الصور والرسومات التوضيحية.
  3. توزيع المحتوى بشكل منظم.
  4. إمكانية التفاعل من خلال التعليقات.

الجمهور المستهدف

  1. طلاب العلوم والهندسة.
  2. باحثون في مجال التعلم الآلي.
  3. مطورو البرمجيات.
  4. المهتمون بالذكاء الاصطناعي.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Omar abhassan

79318325

Date: 2024-12-30 18:35:44
Score: 0.5
Natty:
Report link

I fixed this by adding quotes and an additional &: ssh -p 222 [email protected] "./path/to/start_server.sh& " &

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user28993465

79318323

Date: 2024-12-30 18:35:44
Score: 0.5
Natty:
Report link

In ASP.NET Core 8 MVC, if a model value is not passed back on a POST request, especially when dealing with inheritance or child class properties, the issue may stem from the way the model binding works. Let's break this down and address potential causes and solutions.

### Problem Context If you have a parent class and a child class in your model, and you're trying to bind values from a POST request (e.g., a form submission) to the child class, but the child class properties are not being passed correctly, there are a few things to check.

Possible Causes

  1. Incorrect Form Field Names: Model binding in ASP.NET Core depends on the names of the form fields matching the property names in the model. If the form field names don’t match the properties of the model (including inheritance properties), the model binding will fail.

  2. Missing @Html.EditorFor or @Html.InputFor: If you're using Razor views to generate form elements, ensure that you're using the correct helper methods to generate the input fields. For example, using @Html.EditorFor(model => model.Property) will ensure that the correct model property is bound.

  3. Model Binding and Polymorphism: If your model includes inheritance, model binding may not handle properties from the child class correctly. The POST data may be missing properties that belong to the child class because ASP.NET Core MVC may only recognize the properties in the parent class if the form doesn't explicitly include those properties.

  4. Explicit Model Type Casting: If the child class is not explicitly referenced in the form or the controller, it may cause issues with the model binding. You may need to explicitly cast the model in the POST action or ensure that the correct model type is used.

### Potential Solutions

1. Ensure Correct Property Names in the Form

Ensure that the form field names match the property names exactly, especially when dealing with inheritance.

For example, if you have the following model hierarchy:

public class ParentModel
{
    public string ParentProperty { get; set; }
}

public class ChildModel : ParentModel
{
    public string ChildProperty { get; set; }
}

The form in your Razor view should look like:

<form method="post">
    <input asp-for="ParentProperty" />
    <input asp-for="ChildProperty" />
    <button type="submit">Submit</button>
</form>

ASP.NET Core will bind ParentProperty and ChildProperty correctly if their names match.

2. Use the Correct HTML Helpers

Make sure you're using the correct HTML helpers for binding the properties to form fields. Use @Html.EditorFor, @Html.InputFor, or asp-for to generate the correct form elements.

Example:

<form method="post">
    <div>
        @Html.LabelFor(model => model.ParentProperty)
        @Html.EditorFor(model => model.ParentProperty)
    </div>
    <div>
        @Html.LabelFor(model => model.ChildProperty)
        @Html.EditorFor(model => model.ChildProperty)
    </div>
    <button type="submit">Submit</button>
</form>

Or using asp-for:

<form method="post">
    <div>
        <label for="ParentProperty">Parent Property</label>
        <input asp-for="ParentProperty" />
    </div>
    <div>
        <label for="ChildProperty">Child Property</label>
        <input asp-for="ChildProperty" />
    </div>
    <button type="submit">Submit</button>
</form>

3. Handle Inheritance and Model Binding

If you have polymorphism (i.e., a ParentModel and a ChildModel), you need to make sure the correct type is used in your POST method. You can either explicitly cast the model or use a view model that contains both the parent and child models.

For example:

public class MyController : Controller
{
    [HttpPost]
    public IActionResult Submit(ChildModel model)
    {
        // Handle the child model
        return View(model);
    }
}

Or you could define a view model that includes both the parent and child properties:

public class MyViewModel
{
    public ParentModel Parent { get; set; }
    public ChildModel Child { get; set; }
}

In the view:

<form method="post">
    <div>
        <input asp-for="Parent.ParentProperty" />
        <input asp-for="Child.ChildProperty" />
    </div>
    <button type="submit">Submit</button>
</form>

4. Debug the Form Data

If the data is still not binding correctly, you can debug the request by inspecting the form data. You can check the names of the form fields and compare them with the expected property names of the model. You can also use browser developer tools to inspect the actual data sent in the request.

5. Use [Bind] Attribute

Sometimes, if your model class is too complex or ASP.NET Core is not binding certain properties, you can explicitly specify which properties to bind using the [Bind] attribute.

Example:

[HttpPost]
public IActionResult Submit([Bind("ParentProperty,ChildProperty")] ChildModel model)
{
    // Handle model binding
    return View(model);
}

This approach ensures that both parent and child properties are explicitly bound during the form submission.

Conclusion

To fix the issue with the child class property not being passed back on a POST, ensure:

  1. The form fields use the correct names matching the model properties.
  2. You're using the appropriate HTML helpers (asp-for, EditorFor, etc.) for binding.
  3. Consider explicitly defining a view model that includes both parent and child class properties if needed.
  4. Debug the form submission to ensure the data is being sent correctly.

By following these steps, you should be able to resolve the issue and ensure that both parent and child properties are properly passed back during form submission.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: khanubais

79318321

Date: 2024-12-30 18:34:43
Score: 3
Natty:
Report link

open specific site folder,in properties to the Security tab.give full permission to IIS_IUSRS.and recycle app fool

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

79318320

Date: 2024-12-30 18:33:43
Score: 1.5
Natty:
Report link

You can try a workaround to set the permalink.

First, set the title of the new post to the custom slug you want. Then Publish your post, once the post is published you get the post url matching to your title. Then you can update the title to the desired title by fetching the post id and setting the title using code.

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

79318318

Date: 2024-12-30 18:32:43
Score: 2.5
Natty:
Report link

Looks like this code relies on @StepScope annotation which should create reader bean during spring batch job launching but reader bean creates during application starts instead.

One of the fix is to prevent JobLauncherApplicationRunner class trigger spring batch job when application starts by adding spring.batch.job.enabled=false to application.properties.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @StepScope
  • Low reputation (1):
Posted by: dev-blogs

79318315

Date: 2024-12-30 18:31:42
Score: 2
Natty:
Report link

You could try encoding the name of the wifi profile. f'netsh wlan show profiles name="Leonard’s iPhone iP15" key=clear\n'.encode('utf-8') When I paste that character in to my python shell it crashes. So it could just be t hat Python does not handle that character properly and a bug report shuold be filed.

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

79318313

Date: 2024-12-30 18:29:42
Score: 2
Natty:
Report link

That's absolutely correct!

In order to use only newly created credentials, the tag must be set to false within the Control Center config tag - the specifics on this can be found in the HiveMQ Control Center documentation here : https://docs.hivemq.com/hivemq/latest/control-center/configuration.html#user-configuration

XML Configuration Example

Feel free to let us know if you have any additional questions either here, or on the HiveMQ Community Forum - we are always happy

Best, Aaron from the HiveMQ Team

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

79318299

Date: 2024-12-30 18:21:40
Score: 3
Natty:
Report link

Script:

I would probably add logs to the code to debug and to verify everything. Maybe considering adding:

set -x

You could dryrun suspend and check if something is blocking suspend

sudo /usr/bin/systemctl suspend --dry-run

Work your way from there

Questions:

Not really sure about that please read this before implementing. But you can edit /etc/systemd/logind.conf

HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
IdleAction=suspend
IdleActionSec=10min

Since you already configured user drew to not need a password this souldnt be the problem.

autosuspend (Note: Its also open source)

If anything is unclear, misleading or if you have further questions please let me know :)

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Carl

79318298

Date: 2024-12-30 18:21:40
Score: 2.5
Natty:
Report link

Using the example found at this link provided by @margusl, I was able to get this working. https://rstudio.github.io/websocket/#websocket-proxy

library(httpuv)
library(httr)

s <- startServer("0.0.0.0", 8080,
                 list(
                   call = function(req) {
                     
                     res <- GET(paste0("http://127.0.0.1:4040", req$PATH_INFO))
                     
                     content_type <- if (grepl("\\.css$", req$PATH_INFO)) {
                       "text/css"
                     } else if (grepl("\\.js$", req$PATH_INFO)) {
                       "application/javascript"
                     } else {
                       "text/html"
                     }
                     
                     list(
                       status = 200L,
                       headers = list(
                         'Content-Type' = content_type,
                         'X-Forwarded-Host' = req$HTTP_HOST,
                         'X-Forwarded-For' = req$REMOTE_ADDR
                       ),
                       body = content(res, type = "raw")
                     )
                   },
                   onWSOpen = function(clientWS) {
                     serverWS <- websocket::WebSocket$new("ws://127.0.0.1:4040")
                     
                     msg_from_client_buffer <- list()
                     # Flush the queued messages from the client
                     flush_msg_from_client_buffer <- function() {
                       for (msg in msg_from_client_buffer) {
                         serverWS$send(msg)
                       }
                       msg_from_client_buffer <<- list()
                     }
                     
                     clientWS$onMessage(function(binary, msgFromClient) {
                       if (serverWS$readyState() == 0) {
                         msg_from_client_buffer[length(msg_from_client_buffer) + 1] <<- msgFromClient
                       } else {
                         serverWS$send(msgFromClient)
                       }
                     })
                     
                     serverWS$onOpen(function(event) {
                       serverWS$onMessage(function(msgFromServer) {
                         clientWS$send(msgFromServer$data)
                       })
                       flush_msg_from_client_buffer()
                     })
                   }
                 )
)
Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @margusl
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mosk915

79318296

Date: 2024-12-30 18:21:40
Score: 2.5
Natty:
Report link

By utilizing the ping test suggested by @jarmod and @Naresh, I was able to establish that the instance was unable to ping ec2.us-east-2.amazonaws.com.

The problem was that the EC2 Launch Template was not set to auto-assign a public IP address.

The 'auto-assign public IP' EC2 Launch Template option is located in: Network settings : Advanced network configuration : Auto-assign public IP

To enable EC2 user data to associate an Elastic IP address, set the 'Auto-assign public IP' option to: Enable

Reasons:
  • No code block (0.5):
  • User mentioned (1): @jarmod
  • User mentioned (0): @Naresh
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Douglas Hackney

79318295

Date: 2024-12-30 18:19:40
Score: 2
Natty:
Report link

We had a similar issue with 'synch/mutex/aria/PAGECACHE::cache_lock' on MariaDB RDS.

We were fetching and sorting 200k+ rows, and changing the following parameters helped us: tmp_table_size max_heap_table_size

Also there were queries in 'Converting HEAP to Aria' status in the processlist table

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

79318287

Date: 2024-12-30 18:14:38
Score: 1
Natty:
Report link

I ran into the same error message while trying to run podman in a minimal debootstrap image. I was able to run podman containers by switching the runc runtime.

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

79318284

Date: 2024-12-30 18:11:37
Score: 1
Natty:
Report link

I was able to get the solution.

second_bar = bar_index - ta.valuewhen(AB_crossover==true and nz(AB_crossover[1], false)==false, bar_index, 1)

third parameter is key.

0: last condition
1: last second condition
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: QuantPilot

79318279

Date: 2024-12-30 18:06:37
Score: 0.5
Natty:
Report link

Use the glyphs property on the Map style. Use this URL for free fonts:

glyphs: "https://fonts.undpgeohub.org/fonts/{fontstack}/{range}.pbf",

The list of fonts to use are available here:

https://github.com/UNDP-Data/fonts/tree/main/docs/fonts

On the layer, specify the font you want to use. Example:

'text-font': [
    'Roboto Regular'
],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gustavo Gonçalves

79318275

Date: 2024-12-30 18:05:36
Score: 2
Natty:
Report link

I think the problem might be with your fstab not your system image, make sure that you modify fstab to support the new system file system ie ext4 beside erofs.

You can also use RO2RW flashable zip/magisk module to do do that

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

79318269

Date: 2024-12-30 18:02:36
Score: 2
Natty:
Report link

Go to this link: https://github.com/settings/tokens

then copy the token and prepare following command and run it into bash

git clone https://<username>:<token>/<username>/<reponame>.git
Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Biddut

79318267

Date: 2024-12-30 18:01:34
Score: 7.5 🚩
Natty: 4
Report link

have you solved this yet? I'm facing the exact same issue.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved this yet?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the exact same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Gabriel Lins

79318264

Date: 2024-12-30 18:00:34
Score: 1
Natty:
Report link

Use the ncols keyword:

df.plot(column="NAME", cmap="tab20", legend=True, figsize=(8,8))

enter image description here

df.plot(column="NAME", cmap="tab20", legend=True, figsize=(10,10), 
        legend_kwds={"ncols":2, "loc":"lower left"})

enter image description here

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

79318258

Date: 2024-12-30 17:58:32
Score: 4
Natty:
Report link

Well you could try age=str(34)

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

79318241

Date: 2024-12-30 17:50:30
Score: 1
Natty:
Report link

I have found a temp walkaround, after manually delete the:

~/.vscode/extensions/ms-python.vscode-pylance-2024.12.1/dist/bundled/stubs/django-stubs folder

Pylance is picking up the right definition. It's likely a django-stubs configuration error on my side.

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

79318215

Date: 2024-12-30 17:37:27
Score: 0.5
Natty:
Report link

simply add suppressHydrationWarning={true} into your html tag

 <html lang="en" suppressHydrationWarning={true}>
      <body
        className={`${geistSans.variable} ${geistMono.variable} antialiased`}
      >
        {children}
      </body>
    </html>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Myrat

79318209

Date: 2024-12-30 17:33:27
Score: 2.5
Natty:
Report link

For responsiveness, I prefer responsive_framework, explore it too. And in my opinion setting the limits is better so use of SingleChildScrollView is a good thing.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abdullah Ahmed Soomro

79318199

Date: 2024-12-30 17:29:25
Score: 3.5
Natty:
Report link

every finite language is regular language but every regular language is not finite

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

79318192

Date: 2024-12-30 17:27:25
Score: 1
Natty:
Report link

try this@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities';

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Prakash kumar

79318174

Date: 2024-12-30 17:15:22
Score: 0.5
Natty:
Report link

Just use GRPC:

  1. fully supported in .NET
  2. fast
  3. binary serialization
  4. automatic source generation

https://learn.microsoft.com/en-us/aspnet/core/grpc/basics?view=aspnetcore-9.0

For your case schema is absolutely simple :-D

message Wheel{
    double diameter = 1;
    string tireSize = 2;
    string boltPattern = 3;
}

message Car{
    int32 year = 1;
    string name = 2;
    repeated Wheel wheels = 3;
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Alexei Shcherbakov

79318170

Date: 2024-12-30 17:13:22
Score: 3.5
Natty:
Report link

Math.max(0, yourVar)

dis should work :)

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: pascal chen

79318168

Date: 2024-12-30 17:13:22
Score: 2
Natty:
Report link

Ok so this is 4 years later, but I noticed that ->get()->random()->take(4)->all() might give you seemingly random resuts but its much less random then ->inRandomOrder()->take(4)->get()->all();

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

79318165

Date: 2024-12-30 17:10:21
Score: 1
Natty:
Report link

Another approach would be to add a readonly class to the parent element containing all input or textarea fields that need to be made readonly; and add the following in the css:

.readonly textarea,
.readonly input {
  pointer-events: none;
  background-color: gray;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rehan

79318149

Date: 2024-12-30 17:03:20
Score: 0.5
Natty:
Report link

I thought you should add the postgres driver name in the application.properties file.

spring.datasource.driver-class-name=org.postgresql.Driver

I Hope this helps!!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ganesh Karunanidhi

79318142

Date: 2024-12-30 16:59:18
Score: 4.5
Natty:
Report link

We were having a similar issue where we had an embedded YouTube video for our current live stream and it was showing video unavailable even though we had the enableEmbed set to true.

This issue was fixed for us by changing the YouTube account setting found here: Settings -> Channel -> Advanced Settings Tab -> Do you want to set your channel as made for kids? this needs to be NO otherwise YouTube embedding will not work and will show Video is unavailable. Once this change was made our embedded videos were working as expected for live streaming

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having a similar issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Samantha

79318140

Date: 2024-12-30 16:59:18
Score: 0.5
Natty:
Report link

You can also convert the df to a list of records and check that way. Each record is a row, represented by a dictionary of {col names: values}

records = df.to_dict(orient="records")
a = np.array([2, 3])
a_record = dict(zip(df.columns, a))
a_record in records
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bloukanov

79318126

Date: 2024-12-30 16:51:16
Score: 2
Natty:
Report link

Bonjour J'eesaie d'initialiser les roles et de creer un admin dans ApplicationDbContext

Une idée ? Merci pour votre aide

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Clotilde CHERQUI

79318125

Date: 2024-12-30 16:51:16
Score: 2.5
Natty:
Report link

Your time tormat in the output is hh:mm not hh:ss. I would extract the minutes and then divide 60 by minutes. Attach the result to the hours.

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

79318119

Date: 2024-12-30 16:46:15
Score: 2.5
Natty:
Report link

I'm facing same issue. When I try to create table through spark.sql I'm getting the same "schema not found" message.

Configuration is basically the same:

spark.jars.packages io.unitycatalog:unitycatalog-spark_2.12:0.2.0,io.delta:delta-spark_2.12:3.2.1
spark.sql.extensions io.delta.sql.DeltaSparkSessionExtension
spark.sql.catalog.spark_catalog io.unitycatalog.spark.UCSingleCatalog
spark.sql.catalog.t_clean io.unitycatalog.spark.UCSingleCatalog
spark.sql.catalog.t_clean.uri http://localhost:8080
spark.sql.defaultCatalog t_clean
spark.sql.catalog.t_clean.token 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm facing same issue
  • Low reputation (1):
Posted by: Lucas Porto

79318114

Date: 2024-12-30 16:44:15
Score: 0.5
Natty:
Report link

I use vite-plugin-mkcert for a HTTPS dev server with vite/sveltekit. This plugin handles the certification for you. See npmjs.com/vite-plugin-mkcert

Your vite.config.ts should contain these options:

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import mkcert from 'vite-plugin-mkcert';

export default defineConfig({
    plugins: [
        sveltekit(),
        mkcert()
    ],
    server: {
        https: {},
        proxy: {}, // workaround to get dev server working
    }
});

I believe others have given answers regarding the secure cookies, but there is also some documentation for working with mobile devices on the plugin page linked earlier.

Reasons:
  • Blacklisted phrase (1): This plugin
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sam020

79318110

Date: 2024-12-30 16:41:14
Score: 0.5
Natty:
Report link

Building on top of the very good answer by @mark-amery:

A simpler way to maintain compatibility between Node.js versions is to use require, which supports JSON files:

import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);

const siblingModule = require(configPath); 

Node.js also caches what's require'd, making this version more consistent with the equivalent import method.

This is supported by all Node.js versions since v12.2.0 and is the solution used by import-from-esm.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @mark-amery
Posted by: Pierre Cavin

79318107

Date: 2024-12-30 16:39:14
Score: 0.5
Natty:
Report link

Fixed it. The issue was in the look up.

If(
!IsBlank(Dropdown_Employee_New.Selected) && Slider_Days.Value > 0,  // Ensure a valid employee and positive days

// Update the TotalLeave in EmployeeLeaveBalances
Patch(
    EmployeeLeaveBalances,
    LookUp(EmployeeLeaveBalances, EmployeeEmail = Dropdown_Employee_New.Selected.EmployeeEmail),
    {
        TotalLeave: LookUp(EmployeeLeaveBalances, EmployeeEmail = Dropdown_Employee_New.Selected.EmployeeEmail).TotalLeave 
                    - Slider_Days.Value  
    }
);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stanners

79318097

Date: 2024-12-30 16:36:13
Score: 1.5
Natty:
Report link

I wrote a custom CSS.

 <table class='table borderless'>
 </table>


<style>
 .borderless tr td {
     border: none !important;
     padding: 0px !important;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: premod suraweera

79318095

Date: 2024-12-30 16:35:12
Score: 1
Natty:
Report link

This error even occurs on a virgin/clean generated project with only Hello World by Xcode 16.2 on several simulators with iOS 18.2. So I suggest to ignore it completely as it has no impact on the performance of the apps.

It points to a connection Performance Power Tools failure, but the CPU, Memory, Disk & Network performance is working correctly in the debugging session

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

79318094

Date: 2024-12-30 16:34:12
Score: 2.5
Natty:
Report link

I could not access the article but from what I understood give it a try:

var integer = 1 var decimal = Double.valueOf(integer) print(integer) print(decimal)

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

79318093

Date: 2024-12-30 16:34:12
Score: 0.5
Natty:
Report link

Use https://jwt.io/ to generate bearer token. Use this: Algorithm: ES256 Header: { "alg": "ES256", "kid": "[your key id]", "typ": "JWT" } Payload: { "iss": "[your issuer id]", "iat": 1734613799, "exp": 1734614999, "aud": "appstoreconnect-v1" } Note that 'exp' should be less than 1200 seconds from 'iat'. Insert your private key as entire text from downloaded p8 file into 'verify signature' field. Copy generated bearer token from the 'encoded' field.

POST https://api.appstoreconnect.apple.com/v1/authorization use your bearer token. It works for me.

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

79318076

Date: 2024-12-30 16:25:10
Score: 2.5
Natty:
Report link

messages or messages where role is "user" could be None

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

79318072

Date: 2024-12-30 16:23:09
Score: 14
Natty: 8
Report link

I have the same issue occuring how did you solve this ?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): did you solve this
  • RegEx Blacklisted phrase (1.5): solve this ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: emscic

79318068

Date: 2024-12-30 16:22:09
Score: 2
Natty:
Report link

You're intervening deep into the event stack of the framework. kernel level event's have a higher priority and are getting executed first.

Try:

#[AsEventListener(event: OAuth2Events::TOKEN_REQUEST_RESOLVE, priority: 256)]

See the following: https://symfony.com/doc/current/event_dispatcher.html#creating-an-event-listener

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

79318066

Date: 2024-12-30 16:21:09
Score: 2
Natty:
Report link

I tried method mentioned by merv but that didn't work even if I tried to force install wand (got the same error: imagemagick, which does not exist)

pip install (after activating a specific conda environment) did the trick as mentioned by API, after installing imagemagick from their site (https://imagemagick.org/script/download.php#windows)

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

79318056

Date: 2024-12-30 16:18:08
Score: 1
Natty:
Report link

People have reported that on some devices NFC won't work at the same time as the camera especially on Samsung devices.

It is believed that this is a choice by the Hardware manufacturer, may be the NFC radio waves interfere with the very large and sensitive Camera chips?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Andrew

79318046

Date: 2024-12-30 16:14:07
Score: 3
Natty:
Report link

One more obstacle: It turns out that IndexedDB is not persistent in an insecure context. And setting #unsafely-treat-insecure-origin-as-secure has no effect on this. If I had not learned about ngrok thanks to nneonneo, I would have a real problem now.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Uhlenberg

79318040

Date: 2024-12-30 16:09:06
Score: 0.5
Natty:
Report link

credits to medium user , on this one

  const onClick = async () => {  
    const popup = window.open(''); 
    const { popupUrl } = await requestPopupUrl();    
    popup.location.href = popupUrl; setInterval(() => {  
        console.log(popup); // returns a WindowProxy object as you expected  
    }, 1000);  
  };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ilan weissberg

79318035

Date: 2024-12-30 16:08:05
Score: 4.5
Natty:
Report link

After many days, I found the problem, you need to build in "release" mode instead of "debug" mode. It's not related to the audio_players darwin plugin. You will have the same problems for others publings.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Olivier Griffet

79318033

Date: 2024-12-30 16:07:04
Score: 0.5
Natty:
Report link

i have connect my mariaDB using docker yaml file

version: "3"

services:
  flarum:
    image: mondedie/flarum:stable
    container_name: flarum
    env_file:
      - ./flarum.env
    volumes:
      - ./assets:/flarum/app/public/assets
      - ./extensions:/flarum/app/extensions
      - ./storage/logs:/flarum/app/storage/logs
      - ./nginx:/etc/nginx/flarum
    ports:
      - "81:8888"
    depends_on:
      - mariadb

  mariadb:
    image: mariadb:10.5
    container_name: mariadb
    environment:
      - MYSQL_ROOT_PASSWORD=root_password
      - MYSQL_DATABASE=flarum
      - MYSQL_USER=flarum
      - MYSQL_PASSWORD=flarum_password
    volumes:
      - ./mysql/db:/var/lib/mysql

docker compose up -d

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

79318028

Date: 2024-12-30 16:05:04
Score: 3
Natty:
Report link

first setup Vuetify coreclty and then update treeShake: true

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

79318020

Date: 2024-12-30 16:01:03
Score: 3
Natty:
Report link

I got the same error, It resolved for me when I removed comments in my style sheet

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

79318010

Date: 2024-12-30 15:57:02
Score: 2
Natty:
Report link

Just a note for anyone passing from here, if you have a /mypath/slug:slug/ in your urls.py, pay attention that any path with /mypath/[something] may give the 405 error because it tries to interpret it as a slug, while it is another path. Pay attention to ordering and put any real path above slugs in urls.py

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

79318009

Date: 2024-12-30 15:56:01
Score: 0.5
Natty:
Report link

A simple method using apply:

out["Top"] = out.apply(lambda row: 1 + np.argmax(row["Score_1":"Score_5"]) , axis=1)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: rehaqds

79318006

Date: 2024-12-30 15:54:01
Score: 1.5
Natty:
Report link

you should not do factorization manually, use param ortho=True

import statsmodels.tsa as sm

model = sm.vector_ar.var_model.VAR(endog = df)
fitted = model.fit(maxlags=8, ic='aic')
irf= fitted.irf(10)
irf.plot(orth=True)
plt.show()

for lutkepohl_data you'll get such result

enter image description here

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

79318005

Date: 2024-12-30 15:54:01
Score: 1.5
Natty:
Report link

Answer 1:

The problem was in my nginx file it is mandatory to use some proxy headers for websockets.

here is my updated nginx file code snippet

location /ws/ {
        proxy_pass http://app-development-asgi/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

But now I get 500 error while testing on postman: Container log error:

IP:36032 - - [XX:XX:XX] "WSCONNECTING /chat/1/" - - ERROR Exception inside application: No route found for path 'chat/1/'. My requirements.txt

django-cacheops==7.0.1
django-cors-headers==3.14.0
django-debug-toolbar==4.0.0
django-environ==0.4.5
django-mysql==3.9.0
django-ninja==0.22.2
django-redis==5.3.0
django-simple-history==2.12.0
django-storages==1.10
Django==5.0.4
djangorestframework_simplejwt==5.3.1
djangorestframework==3.14.0
psycopg2-binary==2.9.9
pillow==10.4.0
channels==4.1.0
channels_redis==4.2.0
daphne
drf-yasg==1.21.8
firebase-admin==6.6.0
pytz
gunicorn==23.0.0

Answer 2:

The second problem was because of nginx which was treating /ws/ differently, when I tried ws/ws/ 2 times it worked. Now for the final solution I have removed ws/ in asgi.py so I don't have to make any changes in my frontend.

my final asgi.py

application = ProtocolTypeRouter({
    "http": application,
    "websocket": JWTAuthMiddleware(
        URLRouter([
            path('chat/<str:room_name>/', ClubFeedConsumer.as_asgi()),
            path('location/<str:ride_id>/', RideLocationConsumer.as_asgi()),
        ])
    ),
})

Hope this helps if anyone is facing the same problem even after years. Have a nice day :)

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1): I get 500 error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sultan Muhammad

79318000

Date: 2024-12-30 15:51:00
Score: 1
Natty:
Report link

Simple 2 step process:

First install bootstrap

npm install bootstrap

Then include this just above the last line in your App.vue file

@import'~bootstrap/dist/css/bootstrap.css'

Like this: Image showing where to insert the above line

Then use bootstrap classes as usual in your html code!

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

79317995

Date: 2024-12-30 15:49:00
Score: 0.5
Natty:
Report link

I had a similar issue when I wanted to delete an entity from the new CoreData model version(SQLite error code:1, 'there is already another table or index with this name: Z_33TAGS'). There were no attribute or relationship tags in this entity, also when I tried to remove other similar entities everything worked fine. I managed to fix this removal by first adding a new version where I renamed this entity and then adding one more where I removed it.

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