79131202

Date: 2024-10-27 18:12:47
Score: 13 🚩
Natty:
Report link

Hi @ngrigoriadis i'm currently working on implementing an sdi-12 sensor with a stm32f446re, and i have a similar problem as yours. I can't comment otherwise i would've instead of posting an answer and i thought contacting you via Linkedin wouldn't have been wise. I have a couple questions regarding your solution. First, how do you invert the idle line of UART, i can't seem to find a way; second, how did u implement the break signal and marking before sending the command? I've found in USART1->CR1 a 'send-break' bit which i've enabled, but i can't find a way of controlling the lenght of said signal and how to have a marking before my command. Any help would be deeply appreciated, if there's any other way i contact you let me know.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): i have a similar problem
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (1): can't comment
  • RegEx Blacklisted phrase (3): Any help would be deeply appreciated
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have a similar problem
  • Contains question mark (0.5):
  • User mentioned (1): @ngrigoriadis
  • Low reputation (1):
Posted by: Fabio Marsiglia

79131194

Date: 2024-10-27 18:09:46
Score: 2
Natty:
Report link

Had similar issue - right click on solution in explorer then select properties and then configuration - make sure you have ticks in the right place. I had release build unticked and no new changes I have introduced were showing

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

79131189

Date: 2024-10-27 18:06:45
Score: 4
Natty:
Report link

Looks like Bean not created. Similar issue i faced before , i clean the project and did the maven install . refresh the project and check the .class file .

Reasons:
  • RegEx Blacklisted phrase (1): Similar issue
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JEngineer

79131187

Date: 2024-10-27 18:04:45
Score: 2.5
Natty:
Report link

I hope you were able to find a solution considering it has been 7 months. However, if for any reason you were unable to, I would check if your CSS and HTML files are in the same folders. This could be another issue IF you are sure that both CSS and HTML files are correct.

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

79131177

Date: 2024-10-27 17:55:42
Score: 1
Natty:
Report link

I need more information to help you effectively. However, the problem seems to be in the relationship between the Job model and the Employer model. Make sure your Job model is defined like this:

class Job {

 public function employer()
 {
    return $this->belongsTo(Employer::class);
 }

}

Another thing to remember is that $job->employer can be null depending on the relationships in the database. So, it's important to validate it, like this: {{$job->employer->name ?? ''}}

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: André Araujo

79131146

Date: 2024-10-27 17:37:39
Score: 1.5
Natty:
Report link

Based on your comment, @mrchadmwood, it would appear the missing code would be something like :

resource "aws_cognito_user_pool_client" "client" {
  name = "client"

  user_pool_id = aws_cognito_user_pool.user_pool.id
  generate_secret = true
  allowed_oauth_flows_user_pool_client = true
  allowed_oauth_flows = ["code"]
  allowed_oauth_scopes = ["email", "openid", "profile"]
  supported_identity_providers = ["COGNITO"]
  callback_urls = ["https://example.com"] # One could add a local dev url like http://localhost:5001 during local dev phase for local testing only. In which case, you'd need to change the indexing in your output below
  logout_urls = ["https://example.com"]

}

output "hosted_ui_url" {
  value = "https://${aws_cognito_user_pool_domain.hosted_ui.domain}/login?response_type=code&client_id=${aws_cognito_user_pool_client.client.id}&redirect_uri=${aws_cognito_user_pool_client.client.callback_urls[0]}"
}

See: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cognito_user_pool_client#create-a-user-pool-client-with-cognito-as-the-identity-provider for canonical reference

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mrchadmwood
  • Low reputation (0.5):
Posted by: Mbuotidem Isaac

79131105

Date: 2024-10-27 17:18:35
Score: 2
Natty:
Report link

For anyone reading this, its totally fine to for useEffect to fire twice on development environment, but once in production. Reference here

If you feel confused, make sure you read the react docs and test it out like I did to confirm

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

79131092

Date: 2024-10-27 17:10:33
Score: 0.5
Natty:
Report link

You can follow opening stuation with a variable.

    opendrwr=0;//initial value

    <DrawerLayoutAndroid
      ref={drawer}
      onDrawerClose={()=>{opendrwr=0} }
      onDrawerOpen= {()=>{opendrwr=1} }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hakan

79131090

Date: 2024-10-27 17:10:33
Score: 1
Natty:
Report link

You can get the current location using the myLocation() function.

The function currentLocation() indeed returns Future<void> and moves the map to the current user location.

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

79131083

Date: 2024-10-27 17:07:32
Score: 0.5
Natty:
Report link

src/main.tsx is a source file. when you access files trough the webbrowser you are typically only able to access public files (the files in your dist/ folder when you do vite build)

the main.tsx file is not in there because the source code of your site is often sensative information that you dont want random people to be able to read

normally the compiler compiles the tsx files into raw html/js/css that is bundled together in minimized files. those files are the ones ending up being distributed in /dist/

if you (for some reason, not recommended) want that main.tsx file to be copied to your dist folder without being altered in name and content. you could use vite-plugin-static-copy. which is a plugin meant to copy static files into your build output

https://www.npmjs.com/package/vite-plugin-static-copy

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

79131072

Date: 2024-10-27 17:00:30
Score: 0.5
Natty:
Report link
INSERT INTO
  t2
SELECT
  prefix,
  fname,
  lname
FROM
  t1
WHERE
  prefix || fname || lname NOT IN (
    SELECT
      prefix || fname || lname
    FROM
      t2
  );

if you have a large number of records to process I'd recommend indexing both tables on prefix || fname || lname.

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

79131068

Date: 2024-10-27 16:58:30
Score: 0.5
Natty:
Report link

I solved the problem, the problem was that I didn't download the loader version compatible with the processor, I got this warning when I tried to install it with loader-wizard. If you are using non-x86 processors, like a mac, you need to download the appropriate version for your processor from the link below.

https://www.ioncube.com/loaders.php

Reasons:
  • Blacklisted phrase (1): the link below
  • Whitelisted phrase (-2): I solved
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: BeycanDeveloper

79131066

Date: 2024-10-27 16:56:29
Score: 2.5
Natty:
Report link

For me what did the trick is ...

extern "C" { int _afxForceUSRDLL; }

Notice the single underline. Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ERic

79131056

Date: 2024-10-27 16:52:29
Score: 1.5
Natty:
Report link

These answers work, however if you're using Powershell, this is how you can do it:

echo "someKey=someValue" >> $env:GITHUB_OUTPUT
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jody Agana

79131039

Date: 2024-10-27 16:45:27
Score: 4
Natty: 4
Report link

While it's true that you may not be using all the memory that your card provides to you, perhaps your processes are using up all the memory that has been allocated to them. In other words, maybe giving them less memory was actually the opposite direction?

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

79131017

Date: 2024-10-27 16:39:24
Score: 2
Natty:
Report link

JetBrains Mono

JetBrainsMono Nerd Font

"editor.fontVariations": false,
"editor.fontLigatures": true,
"editor.fontSize": 14,
"editor.fontFamily": "JetBrains Mono, SF Mono, Menlo, Monaco, monospace"
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font"
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Clint Airé

79131013

Date: 2024-10-27 16:37:24
Score: 2
Natty:
Report link

I mean I don't know much about perl in windows environments, but I think it would greatly help you find the solution if you could pepper the code with prints to pin point exactly where the issue is.

is the script hanging on opening a file? is the loop just never ending?

i can't say on windows, but on linux if the file is a named pipe it will never reach EOF so you might see hanging on read

as far as your script goes i would replace else { if (...){... with elsif(...){... just because it's cleaner (but i acknowledge that is out of the scope of your question)

if you find that the file you're trying to read is just huge you might be able to speed things up by breaking out of the loop (last) once you have read the line you need.

outside of the perl script maybe the file might get to be too large if it is being appended to, instead of overwriten?

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

79131005

Date: 2024-10-27 16:35:23
Score: 6
Natty: 7
Report link

What is the problem with backup and restore?

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

79131001

Date: 2024-10-27 16:33:22
Score: 1
Natty:
Report link

In a data store, RAG (Retrieval-Augmented Generation) serves as a solution for implementing advanced retrieval and generation tasks. You can utilize services like Cloud Run or Cloud Functions to deploy custom RAG implementations using tools such as LangChain, Python, Gemini, and vector search techniques within the retrieval process. By mapping appropriate links and structuring a well-defined solution, you can achieve highly descriptive and functional outcomes. However, proficient knowledge of Python is essential to execute this effectively.

1.https://cloud.google.com/blog/products/ai-machine-learning/rags-powered-by-google-search-technology-part-1

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

79130989

Date: 2024-10-27 16:26:20
Score: 0.5
Natty:
Report link

This is the correct syntax for combining min-width and max-width using "and". Let me know if this doesn't fix the issue.

    '@media screen and (min-width: 481px) and (max-width: 768px)': {
      backgroundAttachment: 'scroll',  
      backgroundSize: 'cover', 
    },
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Parmesh

79130978

Date: 2024-10-27 16:21:17
Score: 6.5 🚩
Natty: 5
Report link

Helloo TikTok support team unfortunately I have forgot my TikTok account password I can't login my account I have 't email access to linked it so please help me to recover my TikTok account .. [email protected]

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me to
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Imad Khan

79130975

Date: 2024-10-27 16:19:16
Score: 1.5
Natty:
Report link

An alternative option is to utilise FILTER function - create dummy worksheet for this purpose, use FILTER and reference the whole worksheet where your source data sits. The result of the FILTER function is an array, which can be fed to Power Query without converting to table. The worksheet with FILTER function can be hidden, as it's sole purpose is to keep live connection to source and convert it to an array that feeds into Power Query.

I sometimes use this method with additional benefit of being able to apply filters in excel function before feeding to PQ (e.g. when I know I'm only interested in nonempty cells in a column). There's a downside to this method though - the filtered range cannot contain an error, since this will result in the whole array returning an error...

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

79130970

Date: 2024-10-27 16:17:15
Score: 4
Natty:
Report link

Model::query()->latest()->get(); model::query()->latest()->take(10)->get();

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Viva Hadi

79130956

Date: 2024-10-27 16:10:13
Score: 0.5
Natty:
Report link

A way to do it is by using FractionallySizedBox as follows:

FractionallySizedBox(
  widthFactor: 0.5,
  heightFactor: 0.5,
  child: Image.asset('lib/assets/xyz.jpeg',fit: BoxFit.cover,)
),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Amine Dakhli

79130948

Date: 2024-10-27 16:07:12
Score: 4.5
Natty:
Report link

I think I've had this problem before, have you checked the directory where you're running the compiler?

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

79130947

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

Array bounds: your loop for (int i = 0; i <= n; ++i) is going to cause you all sorts of trouble because you're accessing out of bounds on xi and yi. arrays in c++ are zero-indexed, so you should loop from 0 to n-1. Like this: for (int i = 0; i < n; ++i).

This fixes the issue.

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

79130942

Date: 2024-10-27 16:01:11
Score: 2.5
Natty:
Report link

1 #include 2 using namespace std; 3 4 int main() { 5 string name; 6 cout>>"enter your name: "; 7 cin>>name; 8 returm 0;

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

79130932

Date: 2024-10-27 15:57:10
Score: 5.5
Natty: 5
Report link

If you're still interested...here is the link https://learn.microsoft.com/en-us/answers/questions/519505/xamarin-adm-unable-to-create-device-says-avdmanage

Reasons:
  • Blacklisted phrase (1): here is the link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ганфайтер

79130931

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

I used carousel_slider 5.0.0 in my pubspec.yaml and the problem resolved

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: ListenSoftware Louise Ai Agent

79130921

Date: 2024-10-27 15:53:09
Score: 2
Natty:
Report link

A new search string slipped past my chemobrain this morning: "animated gif tcl/tk". It worked. I found anigif.tcl by Ryan Casey at https://cardtable.sourceforge.net/tcltk/

It looks like a simple package I can just slip right into JStrack (with credit, obviously). And it will work---I just finished testing it. All I need to do is get the actual size of the image from GOES EAST and set the height/width of the label widget it uses to the satellite image's dimensions.

So thanks anyways, but this seems to have solved itself once chemobrain let one get away. :-)

Seems every site is different...do I need to mark this solved or does it just time out?

Thanks,
--jim

--
From my days in 16th Special Operations Wing Intelligence:

AN EXERCISE is a situation in which you stop what you're doing
in order to simulate doing what you were doing so you can show
someone else that you can simulate what you were doing as well
as you were doing it before you were interrupted.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: GTbrewer

79130918

Date: 2024-10-27 15:53:09
Score: 3
Natty:
Report link

https://learn.microsoft.com/en-us/dotnet/core/additional-tools/xml-serializer-generator

Hope it helps, for everyone facing this issue in .Net Core apps and using reflection

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tarunjarvis5

79130910

Date: 2024-10-27 15:50:08
Score: 2
Natty:
Report link

I would say that this is because implication doesn't exist in assembly language, in opposite to or, and, xor and not

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

79130909

Date: 2024-10-27 15:49:08
Score: 5
Natty:
Report link

In below 2 minutes video we have explained and resolved error with simple solution. https://www.youtube.com/watch?v=s7uSST5rfH0&t=7s

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Error Owl

79130902

Date: 2024-10-27 15:46:07
Score: 2
Natty:
Report link

It’s likely that the issue you’re encountering is due to incompatibilities between some of your packages and Python 3.12, which is used by default on Heroku. From what I understand, numpy=1.19.5 and pandas=1.1.5 are compatible only up to Python 3.9.

Have you tried specifying python-3.9.18 in your runtime.txt file?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: sori

79130896

Date: 2024-10-27 15:43:06
Score: 2
Natty:
Report link

YES. You can convert your python project that uses tkinter into a standarlone executable app which includes dependencies inside. py2app is one of the popular methods to make python apps.

This article might help you ---> 𒅌𒋨 (Remember to include your packages inside the package list before running the build process!)

After that, you can upload the .app or .exe file to your website for the public. If you wanna publish it in Apple's AppStore, there is some more regulations. Eg. your age has to be 18+.

As clarification to @Abdelmasieh Baselious's answer, MacOS allows apps from unknown sources.

Reasons:
  • Blacklisted phrase (1): This article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Abdelmasieh
  • Low reputation (1):
Posted by: Jacky

79130894

Date: 2024-10-27 15:42:06
Score: 2.5
Natty:
Report link

It seems that you are still using Twilio trial account and Twilio trial accounts can only send messages to verified numbers (as the error is clearly mentioning that yours is a trial account). Did you verify the number you are trying to send the message?

From Twilio - "If you are using a Twilio Trial Account, you need to verify any non-Twilio phone numbers you wish to send SMS, Voice, or WhatsApp OTP messages."

Please follow this link.

Reasons:
  • Blacklisted phrase (1): this link
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Anadi

79130891

Date: 2024-10-27 15:41:06
Score: 1
Natty:
Report link

This code compiled with gcc 10.5.0 both as C or C++ gives expected results:

7 8
res = 2, a = 7, b = 8
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: arcadius

79130879

Date: 2024-10-27 15:31:04
Score: 3.5
Natty:
Report link

This is a bit tricky. For me, I had to ensure that the app registration for which I was generating the token via az cli - Get-AzAccessToken -ResourceUrl "api://$CLIENT_ID" - included in the list of authorized apps - under "Expose an API" - included the first-party app "Microsoft Azure PowerShell" by id - specifically 1950a258-227b-4e31-a9cf-717495945fc2. See this link to get a list of all such first party apps.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): See this link
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: siddarfer

79130866

Date: 2024-10-27 15:23:02
Score: 3
Natty:
Report link

(struct book*) is pointer typecasting 0 here, so, it doesn't matter it's 0 or 'a' or something else, the end result will always be a pointer to a instance of struct book.

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

79130863

Date: 2024-10-27 15:21:59
Score: 6.5 🚩
Natty: 5.5
Report link

How can you effectively use a JSON array of objects in JavaScript to store and manipulate data for a web application? Please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can you
  • Low reputation (1):
Posted by: Tom Jim

79130861

Date: 2024-10-27 15:20:58
Score: 1
Natty:
Report link

The following post (https://github.com/dotnet/efcore/issues/33442) has the answer.

public static bool IsModified(this EntityEntry entry)
{
    if (entry.State == EntityState.Added || entry.State == EntityState.Deleted) return false;
    if (entry.State == EntityState.Modified) return true;

    var tableName = entry.Metadata.GetTableName() ?? "";

    var hasInnerChanges = entry.Context.ChangeTracker.Entries()
                            .Any(x => x.State != EntityState.Unchanged &&
                                        x.Metadata.GetTableName() == tableName &&
                                        x.Metadata.IsOwned() &&
                                        x.Metadata.IsInOwnershipPath(entry.Metadata));

    return hasInnerChanges;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Display Name

79130854

Date: 2024-10-27 15:17:58
Score: 0.5
Natty:
Report link

Port 445 is bound to the System process and managed by the kernel-mode networking stack rather than a typical user-mode service process like svchost.exe because:

  1. The Windows kernel (via ntoskrnl.exe) directly binds to certain ports at startup, including 445, for performance and security reasons. This enables it to handle SMB traffic efficiently at the kernel level rather than depending on a user-mode service to open the port.

  2. In Windows, networking is handled through the NDIS framework. NDIS has kernel-mode drivers that manage incoming network requests, which includes setting up ports at the kernel level. Port 445 remains bound to the System process even if LanmanServer (SMB server) is disabled because the NDIS framework keeps the port open at the kernel level, ensuring availability if the service is later enabled.

  3. The LanmanServer service doesn’t directly open port 445. Instead, it relies on the kernel to listen on this port and route SMB-related requests to it. Disabling LanmanServer doesn’t close the port because the System process maintains the port binding, awaiting any future SMB requests if the service is re-enabled.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ShakeThe.net

79130853

Date: 2024-10-27 15:17:58
Score: 3
Natty:
Report link

I guess using a conda environment is the issue. Created a virtual environment instead with the same version of libraries and the error goes away.

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

79130841

Date: 2024-10-27 15:08:56
Score: 3
Natty:
Report link

Ahnaf Shahriyar Hussain Cl to connect android

Nub team to connect android 7d&af_cost_currency you very much formula But they buy 90867856× 74 *8.0 *

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

79130836

Date: 2024-10-27 15:03:55
Score: 3.5
Natty:
Report link

will not help you any of these answers. just follow the go_router example https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/others/custom_stateful_shell_route.dart#L455

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

79130835

Date: 2024-10-27 15:02:55
Score: 4
Natty:
Report link

Upgrading to Synapse Spark Pool version 3.4 solved the issue.

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

79130833

Date: 2024-10-27 15:01:54
Score: 1
Natty:
Report link

This problem actually has not much to do with Docker. Python's psutil reads the /proc pseudo-filesystem for each process - but for these permissions are set so only the user that's running the process can get all information. In other words: you can only see information (including sockets and therefore ports) of processes of the same user the script is running as.

There are AFAIK two ways to directly find out information about open ports, and all other tools like netstat and ss are just using these:

  1. Open an NETLINK_SOCK_DIAG socket to directly ask the kernel API for information. This is what the ss Tool is doing, performant but as there seems to be no Python library it's hard to work with.
  2. Parse e.g. the /proc/net/tcp to get the open TCP sockets, filter for rem_address 00000000:0000 to only get listening, the port is in local_address (hexadecimal). There are also Python scripts and libs doing that.

However, both ways will only get you the inodes of the file descriptors, and you can only find the process owning those by going through /proc/<process>, which runs into the same issue you already have. So unless something from there like the UID helps you, these will not help you - and Tools like netstat and ss have the same problem.

The quick-and-dirty fix is to run as root, but there are good reasons to not do that.

So it's propably better to turn this all around - the docker container is not randomly choosing a port to run, so instead of searching for that, try to have it known wherever the healthcheck is running.

Your question implies, that the check would be inside the container, but then I wonder why you are changing ports at all: multiple processes in different containers can all open the same port, and then you just map it to different ports of the host "outside".

I suppose your health check is running outside of the container - but than that's the same outside, as where the container port is mapped to the host port, so it would be better to check and parse that mapping. Or have that set in the health check the same way as it's set there.

If that's really not an option for some reason, you can use docker inspect, to check all the port mappings of your docker containers (NetworkSettings -> Ports). Python Docker SDK exposes these through attrs of Container objects (doc), so you should be able to query and parse that:

import docker
client = docker.from_env()

ports = list()
for container in client.containers.list():
    ...  # Add check whether this actually is a container you are interested in!
    for insideport, outsideports in container.attrs["NetworkSettings"]["Ports"].items():
        if outsideports is None:
            continue  # Port is not mapped to the outside
        for bind in outsideports:
            # Maybe you want to check bind["HistIp"] as well for IPv4/IPv6 or something
            ports.append(bind["HostPort"])

You could e.g. add labels to containers to check which containers you are interested in or something, otherwise this code will give you all open ports of all docker containers. (Add exception handling, note that it has to connect to the docker socket!).

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Filler text (0.5): 00000000
  • Low reputation (1):
Posted by: Tim

79130825

Date: 2024-10-27 14:59:53
Score: 2.5
Natty:
Report link

I did try this because I have had the same problem for a week now, it did work, adding http://localhost. Thank you so much

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pablo Brasero Martínez

79130819

Date: 2024-10-27 14:56:52
Score: 5
Natty:
Report link

I’ve run into the same error and here’s what I think the problem is:

If you were to manually attempt to delete a file such as C:\test.txt, you’d get the following error message:


File Access Denied

You’ll need to provide administrator permission to delete this file


So when excel VBA tries to delete a file in the root directory, I think it also gets an error message.

For me, at least, that seems to be the cause of the problem.

If anyone out there knows how to programmatically give VBA permission to delete a file in the root directory, I’d be grateful.

Hopefully, this post will help to get us all on the right track.

Regards,

Kellog

Reasons:
  • Blacklisted phrase (1): Regards
  • RegEx Blacklisted phrase (2): be grateful
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kellog

79130808

Date: 2024-10-27 14:48:50
Score: 3.5
Natty:
Report link

Has anyone used amazon_cognito_identity_dart_2 with the Federated Google login for Flutter Web?

E.g. Use case 19. Using this library with Cognito's federated sign in on mobile devices. Use flutter_webview (https://pub.dev/packages/webview_flutter) to navigate to Cognito's authorize URL.

However webview_flutter is mobile only so that won't work. How to do this with Flutter Web?

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

79130804

Date: 2024-10-27 14:47:50
Score: 4
Natty: 4
Report link

I need your help because i can't callback the value from the function

look my example:

var data = askQuestion('Are you sure want to continue without adding a server', function(val){
return val; });

console.log(data);

function askQuestion(msg, callback){ $.confirm({

                      title: '',
                      content: msg,
                      type: 'dark',
                      theme: 'light',
                      animation: 'none',
                      animateFromElement: false,
                      columnClass: 'medium',
                      onContentReady: function () {
                          
                      },
                      buttons: {
                          ok: {
                              text: 'Συνέχεια',
                              btnClass: 'btn-dark float-right',
                              action: function(){
                                      
                                    callback(56);
                                    
                              }//end action
                          },//end ok
                          close: {
                                text: 'Ακύρωση',
                                 btnClass: 'btn-dark float-left',
                                 action: function(){
                                      
                                    callback(59);
                                    
                              }//end action
                          }
                        
                      }
                      
            });   

}

How i can to return val into "data" variable and print after that in console.log?

console.log now is not working callback;

i want to check variable 56 or 59 and ONLY if i have result 56 or 57 to continue my code.

Please little help

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2): I need your help
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28010850

79130794

Date: 2024-10-27 14:41:48
Score: 2
Natty:
Report link

If anyone else having the same problem finds this: I solved the problem with Iconv by adding a LD FLAG before running the configure command, like this:

export LDFLAGS="-L/usr/local/opt/libiconv/lib"
./configure ...

Through this I was able to compile php 8.3.13 on Mac OS Ventura 13.7.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lasse

79130790

Date: 2024-10-27 14:41:48
Score: 5
Natty:
Report link

In below 2 mins youtube video we have explained and resolved error with simple solution. https://www.youtube.com/watch?v=s7uSST5rfH0&t=41s

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Error Owl

79130789

Date: 2024-10-27 14:40:48
Score: 1.5
Natty:
Report link

React has a virtual DOM which will maintain the states and the re-renders on state changes. Using this approach it can have track of the components connected to the provider. It is a kind of subscriber pattern. If the child component is out of the provider then it is not subscribed. In case it falls inside, then it is subscribed.

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

79130784

Date: 2024-10-27 14:38:47
Score: 6
Natty: 7
Report link

Do anybody know if this is possible on Flutter Web?

Reasons:
  • Blacklisted phrase (1): anybody know
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Boni Machado

79130777

Date: 2024-10-27 14:33:46
Score: 1.5
Natty:
Report link

That's a null reference error. Your event is not defined so accessing its length property by events.length will throw an error.

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

79130769

Date: 2024-10-27 14:28:45
Score: 4.5
Natty:
Report link

I have the same problem... the image is in public : storage/images/image.png and the route is(http://127.0.0.1:8000/dashboard/category) whenn I try to Do this

success:function(response){
                        
                       =
                        $.each(response.res,function(key, subcat){
                            $('#table').append('<div  class="flex min-w-10 items-center justify-start gap-2 py-2"}`>\
               <img src="/storage/assets/images/subcat/'+subcat.image+')" class="w-16" alt="image">\);

not working bcs I got this as a url http://127.0.0.1:8000/dashboard/category/storage/assets/images/subcat/image.png and it's an 404 error

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Amin ED-Doryani

79130752

Date: 2024-10-27 14:19:42
Score: 1.5
Natty:
Report link

The issue was that in fetch request, I was actually setting stream to true.

after setting it to false, I was able to get the json & actual response

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

79130747

Date: 2024-10-27 14:18:42
Score: 3
Natty:
Report link

I'm also working on the same thing. I really wish this can be added to djoser out of the box. Your code looks good. I will sir on it and see how it works

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

79130742

Date: 2024-10-27 14:13:40
Score: 3.5
Natty:
Report link

if you have a route with the same name and another http verb, change their places.

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

79130734

Date: 2024-10-27 14:08:40
Score: 2
Natty:
Report link

I can't still comment so, i only can give another solution. The solution from arrmani88 is correct but, in order to avoid problems, you should follow the next instructions to install the new old emulator: https://developer.android.com/studio/emulator_archive

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

79130731

Date: 2024-10-27 14:07:39
Score: 2
Natty:
Report link

I want to look and er diagram for my topic Each semester, each student must be assigned an advisor who counsels students about degree requirements and helps students register for classes Each student must register for classes with the help of an advisor, but if the student's assigned advisor is not available, then the student may register with any advisor. We want to keep track of students, the assigned advisor for each, and the name of the advisor with whom the student registered for the current term.

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

79130730

Date: 2024-10-27 14:07:37
Score: 8 🚩
Natty: 4
Report link

did you find a solution? i also experienced the same thing but with a different protocol, ISO14230 KWP2000 and haven't found a solution yet.

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • RegEx Blacklisted phrase (1): haven't found a solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a solution
  • Low reputation (1):
Posted by: Neoraxs

79130723

Date: 2024-10-27 14:03:36
Score: 1.5
Natty:
Report link

DocumentsUI.apk to /system/priv-app/DocumentsUI/DocumentsUI.apk chmod 744 /system/priv-app/DocumentsUI chmod 644 /system/priv-app/DocumentsUI/DocumentsUI.apk chown 0.0 /system/priv-app/DocumentsUI chown 0.0 /system/priv-app/DocumentsUI/DocumentsUI.apk chcon u:object_r:system_file:s0 /system/priv-app/DocumentsUI chcon u:object_r:system_file:s0 /system/priv-app/DocumentsUI/DocumentsUI.apk

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

79130710

Date: 2024-10-27 13:54:34
Score: 1.5
Natty:
Report link

I was facing the same problem, finally I found wireless data was turned off for the app, if turn it on, the issue disappeared. you can check the setting at:

Setting-->Apps--><your app name>-->wireless data

enter image description here

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

79130704

Date: 2024-10-27 13:51:33
Score: 0.5
Natty:
Report link

If you're manually setting up Inertia in your Laravel project (without using a pre-configured boilerplate), you might run into issues with accessing Laravel named routes in JavaScript. Here’s how to make sure your routes work properly:

  1. Add the Ziggy package to your Laravel project. Ziggy enables using Laravel named routes in JavaScript.
composer require tightenco/ziggy
  1. Use the @routes Directive in Your Layout In your main layout file which is usually app.blade.php, include the @routes directive. This will generate JavaScript versions of your Laravel routes. Your layout should look something like this:
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    
    <!-- Include Laravel routes in JavaScript -->
    @routes
    @viteReactRefresh
    @vite('resources/js/app.jsx')
    @inertiaHead
  </head>
  <body>
    @inertia
  </body>
</html>

Common issue If you see that @routes isn’t recognized and instead renders as plain text, try using it with parentheses like this:

@routes()
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @routes
  • User mentioned (0): @routes
  • User mentioned (0): @routes
  • Low reputation (1):
Posted by: ilyas mohetna

79130702

Date: 2024-10-27 13:49:32
Score: 4.5
Natty:
Report link

As stated by @codenanda, I was using the wrong file format. The current version of the OpenAI API only supports JSON files.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @codenanda
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gabriela

79130697

Date: 2024-10-27 13:45:32
Score: 0.5
Natty:
Report link

I know why!!!

The reason why seems obviously.

I misuse the flag to create a java.text.SimpleDateFormat instance (occurred in /HealthHelper/src/main/java/util/gson/deserializer/JsonDeserializerForSqlDate.java) so that the java.sql.Date parsing is wrong.

In this statement

SimpleDateFormat dateFormat = new SimpleDateFormat(SqlDatePattern.sqlDatePattern);

the static field SqlDatePattern.sqlDatePattern is assigned to yyyy-MM-DD.

I change it into yyyy-MM-dd.

I also change SqlTimePattern.sqlTimePattern from hh:mm:ss to HH:mm:ss

in the following statement.

SimpleDateFormat timeFormat = new SimpleDateFormat(SqlTimePattern.sqlTimePattern);

Then I test it again, getting expected result.

In console in Eclipse, it prints

Ready to deserialize.
dietDiary:DietDiary [diaryId=2, userId=2, createDate=2022-05-05, createTime=12:00:00, totalFat=2.52, totalCarbon=2.3, totalProtein=2.1, totalFiber=2.1, totalSugar=1.2, totalSodium=1.1, totalCalories=1.21]
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 黃奕捷

79130695

Date: 2024-10-27 13:45:32
Score: 4
Natty: 4.5
Report link

https://developer.android.com/reference/android/Manifest.permission#DUMP

pm grant com.maxmpz.equalizer android.permission.DUMP

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

79130682

Date: 2024-10-27 13:37:30
Score: 2
Natty:
Report link

i have other idea : if you remove ViewController in storyboard and cant redo it . you can paste any other ViewController and make CMD + Z to until find it work with me>

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

79130681

Date: 2024-10-27 13:36:29
Score: 0.5
Natty:
Report link

You should be aware that MySQL does not support schema. There, schema and database are synonyms. Therefore, using the schema parameter in the @Table(name = "users", schema = "nutzer") annotation is pointless. This may be the cause of the error you encountered.

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

79130662

Date: 2024-10-27 13:21:27
Score: 4.5
Natty: 4
Report link

i have the same problem, after trying many solution proposed, i fixed this by download recent jar file and i renamed it with the same name of version that generate the error and it worked.

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Blacklisted phrase (1.5): any solution
  • Whitelisted phrase (-2): i fixed
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: AGA

79130660

Date: 2024-10-27 13:21:27
Score: 2.5
Natty:
Report link

All I needed was:

set ylabel "Number of configurations" offset -1.5,0
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: coderodde

79130657

Date: 2024-10-27 13:20:26
Score: 4
Natty:
Report link

thanks all, it work the issue is that i was using forward slashes but backward slashes are required

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nauman Yaseen

79130655

Date: 2024-10-27 13:18:26
Score: 1
Natty:
Report link

You can use a cloud base code editor like Codesandbox

That being said, I highly recommend learning to use Git, as it is an industry standard for version control.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Valentin Menoret

79130653

Date: 2024-10-27 13:17:26
Score: 3
Natty:
Report link

i just use application properties or i use .env files or i set them up manually uisng terminal

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

79130651

Date: 2024-10-27 13:16:25
Score: 1
Natty:
Report link

Found it. Csharp needed to pull

byte[] certder = cert.GetRawCertData();

while java needed to pull

byte[] certder = certs[i].getEncoded();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user2023577

79130647

Date: 2024-10-27 13:15:25
Score: 3
Natty:
Report link

you need to pack the label. That's why is not running. Label.pack()

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

79130641

Date: 2024-10-27 13:10:23
Score: 1.5
Natty:
Report link

So the way i was doing it i was sending a list of all planets position to the fragment shader but instead i needed to send them individualy and the list of all the planets why? Simple because for each planet we need to check if there is an intersection within their ray direction so ultimately my theory was to check where the ray would intersect with the UV coordinates but later i find out that it was because of the computation t += dist looks susceptible to floating point inaccuracies.

vec3 computeShadow(in vec3 lightPos) {
    float t = 0.0;
    vec3 ro = lightPos;
    vec3 rd = normalize(sphereOrigin - lightPos);

    float maxDistToSphere = length(lightPos - sphereOrigin) - sphereRadius;

    for (int i = 0; i < 100 && t < maxDistToSphere; i++) {
        vec3 p = ro + t * rd; // Position along the ray
        float minDist = 1e9;

        // Check to each sphere (planet)
        for (int k = 0; k < planetCount; k++) {
            vec3 toPlanet = normalize(spheresOrigin[k] - lightPos); 

            // Check if the planet is roughly in the ray direction
            if (dot(rd, toPlanet) > 0.99) { // Allowing a slight tolerance
                float dist = SDF(p, spheresOrigin[k], spheresRadius[k]);
                minDist = min(minDist, dist);
            }
        }

        // If the ray is close enough to a surface, consider it in shadow
        if (minDist < 0.01) return vec3(t / float(80) * 4.0); // Soft shadow effect
        
        t += minDist; // Step forward along the ray
    }
    
    // If no shadow encountered, return light
    return vec3(1.0);
}

the maxDistToSphere is the length between the sun and a planet point in the sphere and in the if condition here if (dot(rd, toPlanet) > 0.99) we check the direction of those planets if they align with the planet that we are currently checking if they are perfectly align we calculate their distance and return soft shadow if t reaches a distance higher than maxDistToSphere so no planet were in the same direction

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (0.5): why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sengeki

79130637

Date: 2024-10-27 13:07:23
Score: 3.5
Natty:
Report link

The problem is filling the space between the interpolated points. Catmull or bezier is not an answer for the question. They will not help to create a smooth surface. Drawing only the two axes may show it like it is smooth but the data will be still with dots (sparse).

Reasons:
  • Blacklisted phrase (1): not an answer
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28009762

79130632

Date: 2024-10-27 13:04:22
Score: 3.5
Natty:
Report link

If you press F11, Anaconda will exit full screen mode.

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

79130616

Date: 2024-10-27 12:54:20
Score: 3.5
Natty:
Report link

I believe you need to save it. If it is just a print statement should be fine.

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

79130615

Date: 2024-10-27 12:54:18
Score: 6 🚩
Natty:
Report link

did you restart vscode already?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (0.5):
Posted by: Rene Smit

79130613

Date: 2024-10-27 12:53:18
Score: 2
Natty:
Report link

You can try with Visual Studio Live Share, i haven't used it but it's suitable in your case i think!

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Whitelisted phrase (-1): in your case
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tonny

79130608

Date: 2024-10-27 12:51:17
Score: 3.5
Natty:
Report link

See about overriding the onTaskRemoved method

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

79130597

Date: 2024-10-27 12:47:16
Score: 1
Natty:
Report link

If one or both A and B is sync op, then they may be serialized - I said "may" because not all forms of sync op wait on both sides.

If both are action ops, then they're out-of-order - they're only in-order with respect to the sync ops that happen before or after them. That's why action ops are mentioned alongside sync ops.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: DannyNiu

79130596

Date: 2024-10-27 12:45:16
Score: 1
Natty:
Report link

Please can somebody clarify the real limits of an identifier? Because in one text passage there is a limit, in the other text passage not really.

You are not reading the first source correct.

It starts with :

The implementation shall be able to translate and execute at least one program that contains at least one instance of every one of the following limits:

And after the list there is a footnote:

  1. Implementations should avoid imposing fixed translation limits whenever possible.

That means, this section does not define any limit. It just demands the the compiler must support at least these numbers and there should not be any limit if possible. If you have sufficient memory to compile a program, then you should not fail to do so just because some identifier is rather long.

As a conclusion, this part

Currently I don't know which limits are useful.

can be answered by:

Your RAM is the limit. But make sure that you can handle at least the numbers given in the standard.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please can somebody clarify
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Gerhardh

79130577

Date: 2024-10-27 12:33:13
Score: 1
Natty:
Report link

Sorry I don't know python, but why is your SL negative? This is how I modify a trade to use a trailing stop

{
    "command": "tradeTransaction",
    "arguments": {
        "tradeTransInfo": {
            "cmd": 1,
            "order": xxx,
            "symbol": "GBPUSD",
            "type": 3,
            "volume": 0.2,
            "price": 1.29954,
            "sl": 1.29707,
            "offset": 15
        }
    }
}
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user20271414

79130571

Date: 2024-10-27 12:30:13
Score: 3.5
Natty:
Report link

Another reason why is that your WRDS account is disabled (I don't even know why this is happening although I am working on my Master's degree thesis involving the use of WRDS datasets). It's just not helpful.

Reasons:
  • RegEx Blacklisted phrase (0.5): why is that
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: chan

79130568

Date: 2024-10-27 12:27:12
Score: 3
Natty:
Report link

A workaround or solution would be to edit the README.md file on GitHub and drag and drop the video.

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

79130566

Date: 2024-10-27 12:27:12
Score: 1
Natty:
Report link
if you're trying to test this on as server use siege https://your_domain -c 255 -t 5m

-c = number of concurrent connections

-t = the amount of time per concurrent connections
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Onyedikachi Oko - Dexter

79130561

Date: 2024-10-27 12:24:11
Score: 3
Natty:
Report link

By using Swaggy-Swagger, a cutomized Swagger, you can order controller methods as you want.
You can see https://github.com/Swaggy-Swagger for more details.

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

79130558

Date: 2024-10-27 12:23:11
Score: 1
Natty:
Report link

I use RapidSVN on Ubuntu, it is free, in the store, has a good GUI and is very easy to install. I understand it is also available for windows at https://download.cnet.com/rapidsvn/3000-2352_4-75182502.html although I have not used this version. I first needed to get into SVNs as a result of creating a WordPress plugin. WordPress require you to publish your plugin via their SVN. I was completely baffled and had no idea. There is a selection of tutorials at https://diversify.me.uk/how-to-use-the-wordpress-svn-quick-start-tutorial/ which not only deal with the basics of SVNs, but RapidSVN in particular and using it with the WordPress SVN.

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

79130556

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

try this

python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jungunshj

79130551

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

All that I can say is - make sure that your vairable doesn't include a space, if you need to seperate use an underscore(_).

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

79130550

Date: 2024-10-27 12:19:10
Score: 3
Natty:
Report link

Can someone give me an example on what cannot be achieved when the parameter look like this Function<T, U> keyExtractor ?

Given the following classes and interfaces to illustrate the example:

interface Vehicle { Engine getEngine(); }

class Car implements Vehicle { public Engine getEngine(){ return new CombustionEngine(); } }

abstract class Engine implements Comparable<Engine> {
    int power; public int compareTo(Engine o){ return Integer.compare(power, o.power); }
}

class CombustionEngine extends Engine {}

What cannot be achieved if ? super T would be just T ?

Suppose I have a keyExtractor function implemented for Vehicle and I need a Comparator for Car.

Function<Vehicle, Engine> extractor = v -> v.getEngine();
Comparator<Car> comparator = comparing(extractor);

here T must be inferenced as Car since we want a Comparator<Car> but we passed a Function<Vehicle, Engine> to comparing and since Car != Vehicle the code will not compile giving the following error:

error: incompatible types: inference variable T has incompatible equality constraints Car,Vehicle

having Function<? super T, ? extends U> keyExtractor solves this issue since Vehicle is a superclass of Car so the compiler is happy with that.

What cannot be achieved if ? extends U would be just U ?

Suppose we write our generic types explicitly when calling comparing (e.g. for code convention purposes):

Function<Vehicle, CombustionEngine> combustionExtractor = v -> (CombustionEngine)v.getEngine();
Comparator.<Car, Engine>comparing(combustionExtractor);

here we are explicitly stating that U must be inferenced as Engine but we passed a Function<Vehicle, CombustionEngine> to comparing and since Engine != CombustionEngine the code will not compile giving the following error:

error: incompatible types: Function<Vehicle,CombustionEngine> cannot be converted to Function<? super Car,Engine>

having Function<? super T, ? extends U> keyExtractor solves this issue since CombustionEngine is a subclass of Engine so the compiler is happy with that.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Can someone give me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can someone give me an
  • Low reputation (0.5):
Posted by: pochopsp

79130546

Date: 2024-10-27 12:16:09
Score: 3.5
Natty:
Report link

libffi is the tools for python to do what you intend to: check here

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the to
  • Low reputation (0.5):
Posted by: TingQian LI

79130544

Date: 2024-10-27 12:16:09
Score: 4.5
Natty:
Report link

There is a project here https://github.com/chaseastewart/fhir-converter that I used to convert custom json to FHIR R4 with liquid templates

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

79130543

Date: 2024-10-27 12:15:08
Score: 1.5
Natty:
Report link

To build educational coding sites, there are some useful online APIs. For example, I just find out this: https://sphere-engine.com/compilers.

I think that this option is valid because the site provides also a nice documentation and tutorial about how to integrate their compilers in your site, for example using Javascript SDK.

Important: it is necessary to sign up to the site.

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

79130535

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

I assume you're using discord.py? I'm still on v2.0.0 but do give this a try.

import discord

intents = discord.Intents.default()
intents.message_content = True
DISCORDbot = discord.Client(intents=intents)

def DiscordBot_run():
   DISCORDbot.run("<bot-key-here>")

if __name__ == "__main__":
   DiscordBot_run()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: kazcfz