79492319

Date: 2025-03-07 12:32:02
Score: 3
Natty:
Report link

I know this question is quite old but I managed to find a solution for Nuxt 3 and posted my answer here. Maybe it's still valuable to someone

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

79492313

Date: 2025-03-07 12:29:01
Score: 2
Natty:
Report link

Similar new issue resurfaced in 2025.

This time is due to the incompatibility with NumPy 2.x.

Simply downgrade to NumPy 1.26.x:

pip install numpy==1.26.4
or
conda install numpy==1.26.4 

This will solve the Invalid property for colour.

Regards,

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: John Wu

79492307

Date: 2025-03-07 12:27:01
Score: 1.5
Natty:
Report link

By the bottom left panel of the remix interface you will see the plugin tool,
click it and search for "CONTRACT VERIFICATION" and activate it.

once activated you will have a new tool on the let hand panel with a check mark symbol.

Click the tool and input the details (Chain,Contract address and contract name) of the smart contract you deployed.
check all the boxes under the "verify on:" statement.

Hit verify and wait for a confirmation.

that's it.

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

79492304

Date: 2025-03-07 12:26:01
Score: 1
Natty:
Report link

Wrap the header content in a parent "div" and add the "overflow-hidden" tailwind class to it.

<div className="overflow-hidden">
  ... header contents with the image
</div>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Quartz_

79492299

Date: 2025-03-07 12:23:00
Score: 4.5
Natty:
Report link

I did some further analysis and I think it's a bug. So I filled one: https://issues.redhat.com/browse/DBZ-8763

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Simon Wick

79492292

Date: 2025-03-07 12:18:59
Score: 1
Natty:
Report link

Thanks to @AndyWilkinson comment, I understood the reason for the error. There were 2 errors:

  1. In my external security library, the Spring config structure was as follows:

    
    @AutoConfiguration
    @Import({BasicAndFormAuthConfig.class, OAuth2Config.class})
    public class SecuritySupportAutoConfiguration{}
    
    @Order(1)
    @Configuration
    public class BasicAndFormAuthConfig {}
    
    @Order(2)
    @Configuration
    public class OAuth2Config {}
    

    With the help of this issue. I realized that using @Order for @Configuration classes is incorrect, you need to use @AutoConfigureOrder. And also that you need to specify @AutoConfigureOrder for the main configuration class with @AutoConfiguration in the external library. To create a custom configuration instead of the default one.

    Corrected code:

    @AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
    @AutoConfiguration
    @Import({BasicAndFormAuthConfig.class, OAuth2Config.class})
    public class SecuritySupportAutoConfiguration{}
    
    @Configuration
    public class BasicAndFormAuthConfig {}
    
    @Configuration
    public class OAuth2Config {}
    

    2. Starting with Spring Boot 3.4, a check for duplicate .anyRequest() in different SecurityFilterChain was introduced https://github.com/spring-projects/spring-security/issues/15220

    In my case it was necessary to explicitly specify in one SecurityFilterChain add .securityMatcher("/**")

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @AndyWilkinson
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: wuttke

79492290

Date: 2025-03-07 12:18:59
Score: 1.5
Natty:
Report link

from ultralytics import YOLO
import pyautogui
import cv2,time
import numpy as np
time.sleep(5)

# Load the model
model = YOLO('yolo11n.pt', task='detect')

# Set the confidence threshold
conf_threshold = 0.4

# Capture the entire screen
screen_image = pyautogui.screenshot()
screen_image = cv2.cvtColor(np.array(screen_image), cv2.COLOR_BGR2RGB)

# Perform object detection on the captured screen image
results = model(screen_image, show=True)
time.sleep(3)

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

79492283

Date: 2025-03-07 12:15:58
Score: 3
Natty:
Report link

In my case, the issue was the filename string was incorrectly concatenated. Please relook in case the file name is incorrectly constructed.

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

79492281

Date: 2025-03-07 12:15:58
Score: 1.5
Natty:
Report link

Check for TypeScript Configuration Issues: Review your tsconfig.json for any strict settings that might be causing this behavior. For instance, settings like noImplicitAny or strict can influence type checking. Adjust these settings as necessary:

{ "compilerOptions": { "strict": true, "noImplicitAny": false, // other settings } }

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

79492275

Date: 2025-03-07 12:13:57
Score: 2.5
Natty:
Report link

To all the dummies like me who still had problem understanding this just copy the contents of sqlplus into the conents of instant client and then set the path and oracle home like one of the guys said here and it will work.

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

79492266

Date: 2025-03-07 12:08:56
Score: 0.5
Natty:
Report link

Let's see the reverseList() function in action using memory_graph:

import memory_graph as mg # see link above for install instructions

class ListNode:
    def __init__(self, val=0, next=None):
        self.val = val
        self.next = next

def build_list(n = 5):
    head = None
    for i in range(n, 0, -1):
        head = ListNode(i, head)
    return head

def reverseList(head: ListNode) -> ListNode:
    cur , pre = head, None
    while cur:
        tmp = cur.next  
        cur.next = pre 
        pre = cur
        cur = tmp
        mg.block(mg.show, mg.get_call_stack())  # graph each reverse step
    return pre

head = build_list()                      # build a test linked list
mg.block(mg.show, mg.get_call_stack())   # graph the test list
head = reverseList(head)                 # reverse list
mg.show(mg.get_call_stack())             # graph the reversed list

Pressing <Enter> a number of times now results in:

reverse linked list

Full disclosure: I am the developer of memory_graph.

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

79492256

Date: 2025-03-07 12:05:55
Score: 4
Natty: 4
Report link

what about setting these props?

 views={['year', 'month']}
 openTo={'year'}
 inputFormat={'MM/yyyy'}

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: cech

79492255

Date: 2025-03-07 12:04:55
Score: 3
Natty:
Report link

@david it is giving error her => Set pop = NewSheet.Range(NewSheet.Cells(1, 1), NewSheet.Cells(OutputRow - 1, 3))

is is saying app defined or object error.. outputrow - 1

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @david
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Miki

79492246

Date: 2025-03-07 12:02:54
Score: 3.5
Natty:
Report link

You must use your google account to suggest an edit. You can do this through the Google Maps app on your phone.

https://support.google.com/websearch/answer/9879130?hl=en&co=GENIE.Platform%3DAndroid

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

79492238

Date: 2025-03-07 12:01:54
Score: 1
Natty:
Report link

Another way where this error can occur is when you have project references outside the solution, and you try and publish a project.

We have multiple solution files that share some common projects, and we forgot to update all solutions with the updated references. This was not caught when building locally in Visual Studio, and only threw an error on publish.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Martin Säfsten

79492233

Date: 2025-03-07 12:00:53
Score: 3
Natty:
Report link

You're in luck, this is a case-folding problem that's been fixed recently. I could reproduce your problem on vespa 8.485.42 but it works as expected in 8.492.15.

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

79492229

Date: 2025-03-07 11:58:53
Score: 3.5
Natty:
Report link

i tried downgrading hugging face version but not worked

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

79492228

Date: 2025-03-07 11:58:53
Score: 3.5
Natty:
Report link

Now I realized that the link of the second repo is private, and the first one is public, so I guess that could be the reason behind it.

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

79492226

Date: 2025-03-07 11:57:53
Score: 0.5
Natty:
Report link

The issue in your code arises because df1$gene contains concatenated gene names (e.g., "TMEM201;PIK3CD"), while df2$gene has individual gene names. The %in% operator checks for exact matches, so "PIK3CD" %in% "TMEM201;PIK3CD" returns FALSE.

To fix this, you need to check for partial matches using stringr::str_detect(). Here's a solution using sapply() and str_detect() from the stringr package:

**Solution

library(stringr)**

df1 <- data.frame(gene = c('TMEM201;PIK3CD','BRCA1','MECP2','TMEM201', 'HDAC4','TMEM201'))

df2 <- data.frame(gene = c('PIK3CD','GRIN2B','BRCA2'))

df1_common_df2 <- df1[sapply(df1$gene, function(x) any(str_detect(x, df2$gene))), ]

print(df1_common_df2)

--------------

str_detect(x, df2$gene): Checks if any value from df2$gene is present as a substring in each row of df1$gene.

sapply(..., any(...)): Ensures that if any match is found, the row is included in df1_common_df2

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Filler text (0.5): --------------
  • Low reputation (1):
Posted by: Aarthy

79492222

Date: 2025-03-07 11:54:52
Score: 1
Natty:
Report link

Maybe it will help someone. You can add to options queryParams: { prompt: 'select_account', } Example:

const { error } = await supabase.auth.signInWithOAuth({
  provider: 'google',
  options: {
    scopes: SIGN_IN_GOOGLE_API,
    queryParams: {
      prompt: 'select_account',
    },
  },
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ваш Kuba

79492212

Date: 2025-03-07 11:51:51
Score: 3
Natty:
Report link

This is a known bug since the most recent Excel update (the one that brought GROUPBY and PIVOTBY off the experimental branch). It's been reported across the internet so hopefully Microsoft is aware and will fix

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

79492210

Date: 2025-03-07 11:50:51
Score: 0.5
Natty:
Report link

Thanks for all the great suggestions, it's finally working whereby a double and single quotes around the rsync -e var, got it over the line as seen here -

ssh -o ConnectTimeout=10 -i /home/ec2-user/.ssh/remote.pem [email protected] \
-q -t 'find /var/log/ -type f -print0' \
| parallel -j 5 -0 rsync -aPvv -e "'ssh -i /home/ec2-user/.ssh/remote.pem'" \
[email protected]:'{}' /home/ec2-user/local_log/
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Theo Sweeny

79492209

Date: 2025-03-07 11:50:51
Score: 1
Natty:
Report link
Traceback (most recent call last):
  File "c:\Users\varnet\Desktop\Django_pro\web_project\urls.py", line 17, in <module>
    from django.contrib import admin
ModuleNotFoundError: No module named 'django'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ayush Agrawal

79492205

Date: 2025-03-07 11:50:51
Score: 1
Natty:
Report link

Use the remarkBreaks plugin from remark-breaks:

npm install remark-breaks

import ReactMarkdown from "react-markdown";
import remarkBreaks from "remark-breaks";

<div className="prose prose-gray mt-4">
  <ReactMarkdown remarkPlugins={[remarkBreaks]}>
    {product.content}
  </ReactMarkdown>
</div>

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

79492203

Date: 2025-03-07 11:49:51
Score: 2
Natty:
Report link

i've had the same issue. Tried a bunch of things and the only thing that helped is switching to expo-av.

Its not maintained anymore but it works for now. We should definitely raise this issue on expo github

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

79492174

Date: 2025-03-07 11:38:49
Score: 5.5
Natty:
Report link

I have the same problem and I think it's related to this.

https://github.com/vercel/next.js/issues/67513

remove --turbo flag from next dev

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

79492160

Date: 2025-03-07 11:34:47
Score: 0.5
Natty:
Report link

If you are working with a team, follow the guidelines of the team. If it's a personal project, it's up to you. It doesn't really have any significant difference in terms of performance or functionality.

The most important thing is consistency. Choose a method that works for your coding style, then stick with it throughout your project for cleaner, more maintainable code.

I personally prefer having multiple media queries and using them where needed, especially since I like to nest my code. This approach feels more natural as it keeps related styles together without jumping around the stylesheet.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ere Männistö

79492158

Date: 2025-03-07 11:34:47
Score: 2.5
Natty:
Report link

Ive done similar you can use this algorithm (by me) to do so and change the threhold to 50 https://github.com/The-Final-Apex/Fingerpintrecognition

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Apex862-2

79492150

Date: 2025-03-07 11:31:47
Score: 1
Natty:
Report link

The encryption SDK v1.6.1 accepts multi-region keys in KmsMasterKeyProvider for encryption and decryption. Starting with v1.7.0, the multi-region keys are not supported by default in the KmsMasterKeyProvider implementation. The solution is to replace KmsMasterKeyProvider with AwsKmsMrkAwareMasterKeyProvider, the class dedicated to multi-region keys.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cristian

79492148

Date: 2025-03-07 11:31:46
Score: 4.5
Natty:
Report link

You can refer this link for more detailed answers

Upload docker code using CI/CD pipeline of github

upload docker using ci/cd pipeline github actions

Install Docker using command line and pull code from

Install docker using command line and pull code from github

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: dhaval strauss

79492143

Date: 2025-03-07 11:29:46
Score: 3.5
Natty:
Report link

I didn't find a solution here, so I wrote my own module for my needs. Then I shared my module here so that others could use it, but my answer was deleted because it was my project. This is crazy.

Stackoverflow has the worst community. I will never write answers here again because of such moderators like you.

@Levon Manukyan

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • No code block (0.5):
  • User mentioned (1): @Levon
  • Low reputation (1):
Posted by: lmanukyan

79492142

Date: 2025-03-07 11:29:46
Score: 0.5
Natty:
Report link

Because you xml have namespace, change this line:

<xs:element name="value" type="xs:string" />

to:

<xs:element name="value" type="xs:string" form="qualified"/>

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

79492139

Date: 2025-03-07 11:29:46
Score: 1
Natty:
Report link

Check your graphics drivers are up to date - the error means that the graphics card is saying it’s not capable of hardware acceleration.

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

79492115

Date: 2025-03-07 11:22:44
Score: 1.5
Natty:
Report link
>Using Azure, how do I copy data from one database to another on different servers without changing the schema?

**Follow the below steps to copy data from one database to another database on different servers without changing the schema:**

**Step:1**
Open **SSMS** and right click on database and select `General Scripts`.
![enter image description here](https://i.imgur.com/lPd8LKh.png)

**Step:2**
    Click on  `Select specific database objects`. Now click on `Select All` and click on`Next`. ![enter image description here](https://i.imgur.com/roTLGlm.png)
    
**Step:3**
Select `Open in new script Window` and click on `Advance`.![enter image description here](https://i.imgur.com/NT4w6nb.png)

**Step:4**
Select `Type of data to script` , `schema and data` and click on `OK`.
![enter image description here](https://i.imgur.com/fJqQ7OC.png)

**Step:5**
Click `Next`, In the save script click on `Save Report` and `Finish`.![enter image description here](https://i.imgur.com/Ti0tiV4.png)

Upon clicking "Finish," I will open the script in the SSMS Query Editor, as demonstrated below:
![enter image description here](https://i.imgur.com/vzNoisa.png)

Copy the above script and execute it on a different server database. Upon successful execution, it will create the schema along with the data, as illustrated in the image below.
![enter image description here](https://i.imgur.com/0QAMDm9.png)
Reasons:
  • Blacklisted phrase (1): how do I
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Narendra Reddy Pakkirigari

79492109

Date: 2025-03-07 11:21:44
Score: 2
Natty:
Report link

What you need to do is the following:

  1. Find out the locators for both the "Effective Date" element and the input "MM/DD/YYYY" element using xpath, css or ID

  2. Click on the "Effective Date" element

  3. Use the DriverWait class to utilize the wait based on "ExpectedConditions.ElementIsVisible" and "ExpectedConditions.ElementToBeClickable" methods on the "MM/DD/YYYY" element.

  4. Then SendKeys to "MM/DD/YYYY" element

You do not need any arbitrary pauses, delays or sleeps

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: DeLaphante

79492099

Date: 2025-03-07 11:18:43
Score: 1
Natty:
Report link

This is sometimes an Admin Consent issue. The 'permissions' in App Registration aren't really permissions, they're permissions the app requires.

In Entra Enterprise Apps you'll find an 'admin consent' button which can give admin level data.

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

79492096

Date: 2025-03-07 11:16:42
Score: 0.5
Natty:
Report link

Ok, so I've eventually found a way to do this, which is fairly straightforward. This follows this Microsoft Support article on how to create stationery for email messages. I think the Insert File > Insert as text feature has been removed from a recent version of Outlook and is no longer suitable as a solution.

You can now send an Outlook email that contains your custom HTML code by going to Outlook > New Email > Email Message Using > More stationery...

You can also configure Outlook to send all new messages using your stationery template too if you want to.

I hope someone finds this useful :-)

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

79492080

Date: 2025-03-07 11:12:41
Score: 4.5
Natty:
Report link

Off topic. Asked on Polars discord.

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

79492079

Date: 2025-03-07 11:11:41
Score: 1.5
Natty:
Report link

Simple solution for setting a default response data renderer:

  1. Open the jMeter properties file (either the provided jmeter.properties file or your own version) in your editor

  2. Search for "# Order of Renderers in View Results Tree"

  3. Make the desired renderer the first entry in the view.results.tree.renderers_order property, i.e.

    1. change
      view.results.tree.renderers_order=.RenderAsText,.RenderAsRegexp, ... .RenderAsDocument,.RenderAsJSON,.RenderAsXML
      to:

      view.results.tree.renderers_order=.RenderAsJSON,.RenderAsText,.RenderAsRegexp, ... .RenderAsDocument,.RenderAsXML

    2. save the jmeter properies file

    3. restart jMeter

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

79492075

Date: 2025-03-07 11:10:40
Score: 0.5
Natty:
Report link

If I understand the problem correctly, then Reflected_Ray is the vector that points from plant coordinate frame origin towards image point (u,v). To calculate the angle that the Reflected_Ray components make in the world coordinate frame, we transform the vector components of Reflected_Ray from plant coordinate frame (PCF) to world coordinate frame (WCF). We can then simply calculate the angle formed by the X and Z components, w.r.t to the +ve x axis (or otherwise as desired).

  1. Transform coordinates

    WCF(u', v', w') = A*PCF(u, v, 0)

    where A represents the Euler angle rotation matrix product to rotate the PCF unit vectors into the WCF coordinate system. The linear shift is not important here, as we are only interested in the magnitude of the unit vectors.

  2. Calculate projected angle

    theta = arctan( WCF(w') / WCF(u') )

Apologies for the terrible presentation, I'm not sure if it's possible to use MathJax in SO answers? Also, apologies if I have misinterpreted your question...

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

79492074

Date: 2025-03-07 11:10:40
Score: 0.5
Natty:
Report link

Add this line so that if there are NaT values in the 'TicketDate' column, it converts to None rather than throwing an error.

df['TicketDate'] = df['TicketDate'].fillna(pd.NaT).apply(
    lambda x: x.strftime('%Y-%m-%d') if pd.notna(x) else None
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.

79492070

Date: 2025-03-07 11:10:40
Score: 2.5
Natty:
Report link

See https://www.vsixhub.com/ : See the link of the button "Download Lastest VXI": see link is

`https://marketplace.visualstudio.com/%5C_apis/public/gallery/publishers/%7Bpublisher%7D/vsextensions/%7Bid%7D/%7Bversion%7D/vspackage%5C%60

Reasons:
  • RegEx Blacklisted phrase (1): See the link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: iriiko

79492049

Date: 2025-03-07 11:03:39
Score: 0.5
Natty:
Report link

you can use this i think :

Sub email_range()

    Dim OutApp As Object
    Dim OutMail As Object
    Dim Count_row As Long, count_col As Long
    Dim pop As Range
    Dim strl As String
    Dim Signature As Variant
    Dim ResultsSheet As Worksheet
    Dim NewSheet As Worksheet
    Dim LastRow As Long
    Dim i As Long
    Dim OutputRow As Long

    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)
    
    Set ResultsSheet = Sheets("Results")

    ' Determine the last row and column
    Count_row = WorksheetFunction.CountA(ResultsSheet.Range("A1", ResultsSheet.Range("A1").End(xlDown)))
    count_col = WorksheetFunction.CountA(ResultsSheet.Range("A1", ResultsSheet.Range("A1").End(xlToRight)))

    ' Create a new worksheet for filtered results
    Set NewSheet = ThisWorkbook.Worksheets.Add
    OutputRow = 1

    ' Loop through the rows of the Results sheet
    For i = 1 To Count_row
        If ResultsSheet.Cells(i, "C").Value = 0 Or ResultsSheet.Cells(i, "C").Value = 1 Then ' Assuming "on buy" is in column C
            NewSheet.Cells(OutputRow, 1).Value = ResultsSheet.Cells(i, 1).Value ' Item
            NewSheet.Cells(OutputRow, 2).Value = ResultsSheet.Cells(i, 2).Value ' Description
            NewSheet.Cells(OutputRow, 3).Value = ResultsSheet.Cells(i, 3).Value ' On Buy
            OutputRow = OutputRow + 1
        End If
    Next i

    ' Set the range for the email body
    Set pop = NewSheet.Range(NewSheet.Cells(1, 1), NewSheet.Cells(OutputRow - 1, 3))

    strl = "<BODY style = font-size:12pt;font-family:Calibri>" & _
           "Hello all, <br><br> Can you advise<br>"

    On Error Resume Next

    With OutMail
        .To = "[email protected]"
        .CC = ""
        .BCC = ""
        .Subject = "Remove"
        .Display
        .HTMLBody = strl & RangetoHTML(pop) & .HTMLBody
    End With

    On Error GoTo 0

    ' Clean up
    Application.DisplayAlerts = False
    NewSheet.Delete
    Application.DisplayAlerts = True

    Set OutMail = Nothing
    Set OutApp = Nothing

End Sub

Function RangetoHTML(rng As Range) As String
    ' (The existing RangetoHTML function code remains unchanged)
End Function

To go further:

  1. Loop through the Results Sheet: The loop checks each row in the Results sheet. It assumes that the "on buy" data is in column C. You may need to adjust the column index based on your actual layout.

  2. New Worksheet Creation: A new worksheet is created to store the filtered results. This is done to avoid modifying the original data directly.

  3. Conditional Copying: If the "on buy" value is 0 or 1, the "item" and "description" are copied to the new sheet.

  4. Set Range for Email: After the loop, the new sheet's range is set for the email body.

  5. Clean Up: The temporary worksheet is deleted after sending the email to keep the workbook tidy.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Can you advise
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David

79492038

Date: 2025-03-07 11:00:38
Score: 1
Natty:
Report link

You could add an inputRef to your DatePicker component as:

<DatePicker inputRef={inputRef} .... , where

const inputRef = React.useRef<any | null>(null) and when there is an error, you can focus the inputRef like:

setTimeout(() => inputRef.current?.focus())

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

79492036

Date: 2025-03-07 10:58:38
Score: 2
Natty:
Report link

Have you tried using androidx's Popup() instead of Dialog()?

Because PopupProperties(dismissOnClickOutside = false) allows you to click outside the popup.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: gromar

79492030

Date: 2025-03-07 10:55:37
Score: 3
Natty:
Report link

I am in the similar situation and adding below dependency to pom does not help.
Any clue?

<dependency>
    <groupId>org.apache.httpcomponents.client5</groupId>
    <artifactId>httpclient5</artifactId>
    <version>5.3.1</version>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Agniva

79492019

Date: 2025-03-07 10:53:36
Score: 3.5
Natty:
Report link

@beanCounter!

You can now do this with MUI X Charts v8.

Here's a CodeSandbox that shows how you can accomplish it.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @beanCounter
  • Low reputation (1):
Posted by: Bernardo Belchior

79492017

Date: 2025-03-07 10:52:35
Score: 1
Natty:
Report link

yii\base\ErrorException: Undefined variable $start in /var/www/tracktraf.online/frontend/controllers/TelegramController.php:197

Stack trace:

#0 /var/www/tracktraf.online/frontend/controllers/TelegramController.php(197): yii\base\ErrorHandler->handleError()

#1 [internal function]: frontend\controllers\TelegramController->actionRotatorCheck()

#2 /var/www/tracktraf.online/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()

#3 /var/www/tracktraf.online/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams()

#4 /var/www/tracktraf.online/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction()

#5 /var/www/tracktraf.online/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()

#6 /var/www/tracktraf.online/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest()

#7 /var/www/tracktraf.online/frontend/web/index.php(18): yii\base\Application->run()

#8 {main}

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

79492005

Date: 2025-03-07 10:47:34
Score: 3.5
Natty:
Report link

Share

![You need at least 10 reputation to post images.](You need at least 10 reputation to post images. "drives expert")

You said:

At DrivesExpert.com, we are passionate about cars and committed to bringing you the most comprehensive and insightful car reviews on the web. Whether you're a car enthusiast, a potential buyer, or just someone who loves staying informed about the latest in the automotive world, our site is designed to meet all your needs. What We Offer: In-Depth Car Reviews: Detailed analyses and unbiased opinions on the latest models, helping you make informed decisions. Industry News: Stay up-to-date with the latest trends, technological advancements, and industry shifts. Expert Tips: Get valuable advice on car maintenance, driving safety, and optimizing performance. Comparisons and Rankings: Compare different models side-by-side and find out which car tops our rankings in various categories.https://drivesexpert.com/configurations-for-2024-acura-mdx/

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: drives expert

79492000

Date: 2025-03-07 10:43:33
Score: 1
Natty:
Report link

This issue I encountered was slightly different. It was caused by the files: *.data.br, *.symbols.br, and *.json.br was not add with the application/octet-stream and Content-Encoding br; header.

The problem was resolved after adding it.

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

79491998

Date: 2025-03-07 10:42:32
Score: 4.5
Natty: 6
Report link

eeeeeeeeeepaeaeeeaeeeeeeeaeeeeeeeeeeccccisaaaaeejeeeeeejiiiiiiiiiiijeeeeeejeeeeeeeeeeeeeeeeeeeejiiiiiiiiiiiiiiiiiiiiiiiiijeeeeeeeeeeeeeeeejiiiiiiiiiiiiiiiiijeeeeeeeejeeeeejiiiiiiiiiiiiiiijeeeejeeeeeeeeeeeeeeejiiiiiiiiiiiiiiiiijeeeeeeeeeeeeeeeeeejiiiiiiiiiiijeeeeeeeeeeeeeeeeeeeeej

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): eeeeeeeeee
  • Filler text (0): eeeeeeeeee
  • Filler text (0): iiiiiiiiiii
  • Filler text (0): eeeeeeeeeeeeeeeeeeee
  • Filler text (0): iiiiiiiiiiiiiiiiiiiiiiiii
  • Filler text (0): eeeeeeeeeeeeeeee
  • Filler text (0): iiiiiiiiiiiiiiiii
  • Filler text (0): eeeeeeee
  • Filler text (0): iiiiiiiiiiiiiii
  • Filler text (0): eeeeeeeeeeeeeee
  • Filler text (0): iiiiiiiiiiiiiiiii
  • Filler text (0): eeeeeeeeeeeeeeeeee
  • Filler text (0): iiiiiiiiiii
  • Filler text (0): eeeeeeeeeeeeeeeeeeeee
  • Low entropy (1):
  • Low reputation (1):
Posted by: somoshree saha

79491992

Date: 2025-03-07 10:39:31
Score: 9.5 🚩
Natty: 5.5
Report link

did you find a solution for this?

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • 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 find a solution for this
  • Low reputation (1):
Posted by: Maico Minne

79491989

Date: 2025-03-07 10:37:30
Score: 1
Natty:
Report link

I have noticed that your content has &nbsp You can avoid that and try !

A commonly used HTML entity is the non-breaking space: &nbsp; A non-breaking space is a space that will not break into a new line. Two words separated by a non-breaking space will stick together (not break into a new line).

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

79491981

Date: 2025-03-07 10:33:29
Score: 2
Natty:
Report link

same problem, have tried: Release and re create, and it is working in my case:

      this->pVoice->Release();  // cancel the show
      hr = CoCreateInstance(CLSID_SpVoice, NULL, CLSCTX_ALL, IID_ISpVoice, (void**)&pVoice);
Reasons:
  • RegEx Blacklisted phrase (1): same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Bondo Andersen

79491976

Date: 2025-03-07 10:32:29
Score: 3
Natty:
Report link
header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: SIVA U

79491972

Date: 2025-03-07 10:31:29
Score: 0.5
Natty:
Report link

Should work if you remove the quotes, i.e.

flowFunction: "beforeLandingPageFlow" to flowFunction: beforeLandingPageFlow

That way you're passing a reference to the function itself, rather than its name as a string.

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

79491968

Date: 2025-03-07 10:30:28
Score: 3
Natty:
Report link

you could use annotations (https://api.highcharts.com/highcharts/annotations) or simply insert svgs on the chart.events.load or chart.events.render functions

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

79491965

Date: 2025-03-07 10:29:28
Score: 0.5
Natty:
Report link

Yes, InteractiveViewer has a problem, pausing video in VLC if zoom is greater than 2x

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

79491964

Date: 2025-03-07 10:29:28
Score: 1.5
Natty:
Report link

I had the same problem that you but when i comment all variants and plugins in tailwind.config.js the problem has resolved. Try again

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kamil Justyński

79491961

Date: 2025-03-07 10:26:27
Score: 12.5 🚩
Natty: 6.5
Report link

Hi did anyone found solution for this? I have the same problem

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (3): did anyone found solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Piotr

79491959

Date: 2025-03-07 10:26:27
Score: 0.5
Natty:
Report link

...and 1 year later ;-)

Your question is pretty tricky because SK elements are (despite being structured elements) created by airlines themselves iaw. their needs. SK elements kan be very different, e.g.

So it's tricky (if not impossible) to give you an XML example unless we know something about the element type itself (the 4 letter code, in your case for LH).

With regards to the XML you have included, I think it looks pretty straight forward. The structure generally follows that of an SSR element, and you have e.g. pax referencing correct. (Flight segment referencing would be ST, as you're probably used to from SSR element processing.) I'm questionning whether you should send HK action code; This is not common (and it is in reality a status code, not an action). I don't think you should probably send NN with the request, and you'll get the status code back with the PNRACC response.

Reasons:
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-1): in your case
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: alfs

79491957

Date: 2025-03-07 10:25:26
Score: 1.5
Natty:
Report link

Years later, but for anyone who is struggling with this there is a really easy way to do this if the resulting automator app can have the .command file location hard coded:

Add the Get Specified Finder Items action and choose your .command file.

Add the Open Finder Items action.

And now you are done.

Save the app and execute it from anywhere.

I know this is obviously a no code solution but why not 😅

Have a grat day.

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

79491955

Date: 2025-03-07 10:24:26
Score: 3
Natty:
Report link

Yes,

it is possible to create offline Web Pages using

Progressive Web Apps

See an Example here:

Create PWA with Javascript

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Wolfgang Blessen

79491948

Date: 2025-03-07 10:22:26
Score: 2
Natty:
Report link

HERE Raster Tile API - Migration Guide:

The HERE Raster Tile API v3 is a REST API that allows you to request map tile images for all regions in the world. These map tiles, when combined in a grid, form a complete map of the world. This is the replacement service for the HERE Map Tile API v2 service.

https://www.here.com/docs/bundle/raster-tile-api-migration-guide/page/README.html

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jaime García

79491944

Date: 2025-03-07 10:20:25
Score: 3.5
Natty:
Report link

For Blazor specific templates and themes, you have several good options.

  1. Blazor Boilerplate/Starter Kit - https://blazorboilerplate.com/
  2. Mudblazor - https://mudblazor.com/
  3. Blazorise - https://blazorise.com/
  4. Radzen Blazor Components - https://blazor.radzen.com/
Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Techex

79491931

Date: 2025-03-07 10:16:24
Score: 1
Natty:
Report link

Answer inspired by a C-based Stackoverflow question:

Opencv2 can be used to read in the image and then apply de-mosaicing.

import numpy as np
import cv2 as cv

# Read camera data file
raw_img = cv.imread("KAI_img_001.png")
# Demosaic raw img using edge aware Bayer demosaicing algorithm
dem_img = cv.demosaicing(raw_img, cv.COLOR_BayerBG2BGR_EA)
# Save demosaic-ed image
cv.imwrite("DEM_img_001.png", dem_img)

There is some more information in the opencv documentation about the alternatives to the COLOR_BayerBG2BGR_EA code that I used in the example. You may need to experiment with the right one so that it interprets/converts your raw image data correctly.

Hope this is relevant/helpful :)

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kiwi

79491930

Date: 2025-03-07 10:16:24
Score: 0.5
Natty:
Report link

I'm surprised that no one has picked up on the actual issue, which is syntactical.

hashcat64.exe hashcat -m0 -a0 crackme.txt password.txt

The string "hashcat" is being interpreted as a hash.

I assume the question asker pasted an example command and didn't notice the error.

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

79491928

Date: 2025-03-07 10:15:24
Score: 2.5
Natty:
Report link

I managed to find the solution. There are 2 things that need to be done:

  1. Start the android/ios emulator.

  2. Move the testing file into /integration_test folder.

After that you will be able to interact with the Firebase emulator.

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

79491924

Date: 2025-03-07 10:14:23
Score: 13
Natty: 7
Report link

I am facing same issue in core 8.0, did you find solution?

Can you please share details?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • RegEx Blacklisted phrase (3): did you find solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sujit Patil

79491919

Date: 2025-03-07 10:12:23
Score: 2.5
Natty:
Report link

for my case error occer when i have use chrome extrstion extrnstion name:-SquareX: Be Secure, Anonymous when desable extrstion error fixed.

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

79491918

Date: 2025-03-07 10:11:22
Score: 2.5
Natty:
Report link

I have (almost) solved this myself. I used an early version of the provided code and it compiled.

The project is now working and I will look at the latest code to try and identify the problem.

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

79491917

Date: 2025-03-07 10:11:21
Score: 7 🚩
Natty:
Report link

So I have tried this repeatedly and I managed to get it working, and not working. Although there may be many factors involved I wanted to share this factor. The code that I use (using the List name based on Isaacs answer above) works sometimes, and doesn't work other times. I do not change the code but when it doesn't work I get the same error as described above.

Is it possible that Microsoft lists give an access problem if accessed via ADODB in Excel VBA if other syncing is happening to that list in Sharepoint?

Reasons:
  • RegEx Blacklisted phrase (1): I get the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I get the same error
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Brett

79491910

Date: 2025-03-07 10:08:21
Score: 2
Natty:
Report link

You also need to set the resolution to 10 bits. By default, esp32 has 12 bits ADC resolution but QTR library assumes that 1024 is the maximum value it can get.

Check this thread

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

79491906

Date: 2025-03-07 10:05:20
Score: 0.5
Natty:
Report link

It works better with -extent:

in

convert input.png -gravity North -background red -extent '100%x120%' output.png

out

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

79491903

Date: 2025-03-07 10:04:20
Score: 1.5
Natty:
Report link

Depending on your individual network setup, the original host might also be availale in a header.

In that case, you might find the URL, you are looking e.g. in:

You can access these as follows.

Request.Headers["X-Forwarded-Host"];
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MikeJ82

79491888

Date: 2025-03-07 09:59:19
Score: 1
Natty:
Report link

I didn't test this but I think it should get rid of that error.

let task = ref(props.task || {})

const form = ref({
            id: editMode.value && task.value?.data?.id ? task.value.data.id : '',
            title: editMode.value && task.value?.data?.title ? task.value.data.title : '',
        })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hoang

79491884

Date: 2025-03-07 09:59:19
Score: 1.5
Natty:
Report link

As @Richard mentioned the error is : Could not find an option named "--web-renderer"

I have found the same problem mentioned in https://github.com/flutter/flutter/issues/163199

Try following solution from @Crucialjun

"Go to vscode settings and search for "flutterWebRenderer" set the value to flutter-default on both user and workspace"

if that does not work, try doing a further reading into https://github.com/flutter/flutter/issues/145954

The team made a breaking changes on that, and the discussion is still going

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Richard
  • User mentioned (0): @Crucialjun
Posted by: shotmeinthehead

79491883

Date: 2025-03-07 09:58:18
Score: 2
Natty:
Report link

Just in case somebody has the same issue.
It was actually caused by the server process model of FastAPI (Multiple Uvicorn Workers) in my case.
The implementation suggested here, solved my issue: https://prometheus.github.io/client_python/multiprocess/

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

79491878

Date: 2025-03-07 09:55:18
Score: 2.5
Natty:
Report link

Here's how you can generate a new key file and upload it to the Google Play Store. Follow these steps as they might be helpful for you.

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

79491873

Date: 2025-03-07 09:54:17
Score: 0.5
Natty:
Report link

I know this post is old but I had just came across the same situation as the OP. I did finally find this solution that helped me, I hope it helps others as well.

SELECT * FROM {TABLE_NAME} WHERE {FIELD} REGEXP '[^ -~]'

This will display all rows that have non-English characters. Be aware that it also will display rows if there is punctuation in the values.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paul Denham

79491862

Date: 2025-03-07 09:51:17
Score: 2
Natty:
Report link

there is one now in 2025 but its commercial product

https://www.chainguard.dev/unchained/fips-ing-the-un-fips-able-apache-cassandra

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Tuan Anh Tran

79491856

Date: 2025-03-07 09:49:16
Score: 2
Natty:
Report link

Just adding .addBearerAuth() during configuration works without additional setup, but you need to hard reload the Swagger page after adding it.

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

79491845

Date: 2025-03-07 09:45:15
Score: 5.5
Natty: 5
Report link

I have uploaded a file through TortoiseSVN, but now I want to link this file in other folders. How can I do that. I looked in the guide online under "Use a nested working copy" but not sure if this will do the job... Also a bit unsure about the process

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): can I do
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MrToro

79491840

Date: 2025-03-07 09:44:15
Score: 1
Natty:
Report link

Apparently the free function is in the stdlib.h library and I just needed to add it to my c_imports like this:

const c = @cImport({
    @cInclude("xcb/xcb.h");
    @cInclude("stdlib.h");
});

Then, I changed all the xcb. to c. in the code and added c.free(event) at the end of the loop.

I ran zig build but there was a problem with compiler not finding free again. Finally, I understood that I have to add exe.linklibC(); to my build.zig so that it could work. It now runs and there is no major issue. There are only some warnings that I need to understand:

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86RefreshRateToggle
> Warning:          Could not resolve keysym XF86Accessibility
> Warning:          Could not resolve keysym XF86DoNotDisturb
Errors from xkbcomp are not fatal to the X server
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mortimer

79491834

Date: 2025-03-07 09:44:15
Score: 2.5
Natty:
Report link

Following the first answer, I need to clarify that the solution I am looking for is when a temporary monitoring is needed, in the way VSCode with IoT Hub extension works, when it can temporarily listen to the event messages from the Event Hub behind the Iot Hub, for the development or debugging purposes. This is not a solution for the actual event listening and the mentioned IoT Hub routing should be used to consume the event.

I am trying to reproduce what IoT Hub plugin for VS Code is doing.

Here is an example of getting the "Event Hub-compatible endpoint" SAS key from IoT Hub that later can be used to listen to the devices events. For this to work one needs the proper RBAC rules to access it, and then:

In my case, getting the SAS key looks like this in C#:

using System;
using System.Threading.Tasks;

using Azure;
using Azure.Identity;
using Azure.ResourceManager;
using Azure.ResourceManager.IotHub;
using Azure.ResourceManager.IotHub.Models;
using Azure.ResourceManager.Resources;

namespace MyTools.Utilities.IotDevices;

public class IotHubConnectionStringHelper
{
    private readonly string _subscriptionId;
    private readonly string _resourceGroupName;
    private readonly string _iotHubName;
    
    public async Task<string> GetConnectionStringForPolicy(string policyName)
    {
        Response<IotHubDescriptionResource> iotHub = await GetIotHubAsync().ConfigureAwait(false);
        
        string endpoint = GetIotHubEndpoint(iotHub);
        IotHubDescriptionResource iotHubDescription = iotHub.Value;
        SharedAccessSignatureAuthorizationRule policy = await GetPolicyAsync(iotHubDescription, policyName);
        string result = $"Endpoint={endpoint};SharedAccessKeyName={policy.KeyName};SharedAccessKey={policy.PrimaryKey};EntityPath={_iotHubName}";
        return result;
    }

    private async Task<SharedAccessSignatureAuthorizationRule> GetPolicyAsync(IotHubDescriptionResource iotHub, string policyName)
    {
        AsyncPageable<SharedAccessSignatureAuthorizationRule>? policiesEnum = iotHub.GetKeysAsync();

        await foreach (SharedAccessSignatureAuthorizationRule policy in policiesEnum)
        {
            if (policy.KeyName == policyName)
            {
                return policy;
            }
        }
        
        throw new Exception("Policy not found.");
    }
    
    private static string GetIotHubEndpoint(Response<IotHubDescriptionResource> iotHub)
    {
        string endpoint = string.Empty;

        if (iotHub.Value.Data.Properties.EventHubEndpoints.TryGetValue("events", out EventHubCompatibleEndpointProperties? eventHubProps))
        {
            if (eventHubProps == null || eventHubProps.Endpoint == null)
            {
                throw new Exception("No event hub endpoint found.");
            }
            
            endpoint = eventHubProps.Endpoint;
        }

        return endpoint;
    }

    private async Task<Response<IotHubDescriptionResource>> GetIotHubAsync()
    {
        ArmClient armClient = new ArmClient(new AzureCliCredential());
        SubscriptionResource subscription = await armClient.GetSubscriptions().GetAsync(_subscriptionId);
        ResourceGroupResource resourceGroup = await subscription.GetResourceGroups().GetAsync(_resourceGroupName);
        IotHubDescriptionCollection iotHubCollection = resourceGroup.GetIotHubDescriptions();
        Response<IotHubDescriptionResource> iotHub = await iotHubCollection.GetAsync(_iotHubName);
        return iotHub;
    }
}

And to emphasize it one more time, this is not for the production use, but a method for a temporary listening to the messages when debugging, developing or similar.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: tridy

79491829

Date: 2025-03-07 09:42:14
Score: 1.5
Natty:
Report link

----------

1. ERROR in /storage/emulated/0/.sketchware/mysc/711/app/src/main/java/com/my/newproject36/MainActivity.java (at line 171)

textView8.setText(result);

^^^^^^^^^

textView8 cannot be resolved

----------

1 problem (1

error)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Filler text (0.5): ----------
  • Filler text (0): ----------
  • Low reputation (1):
Posted by: 1win

79491827

Date: 2025-03-07 09:42:14
Score: 1.5
Natty:
Report link

There is a "one-liner" (after you do know your organizationID) that solves this.

1. Get your orgid:
gcloud organizations list

2. run the command below, adding your orgid (you need permissions to read all objects in the org)
gcloud asset search-all-resources --scope=organizations/<your orgID> --asset-types='compute.googleapis.com/Address' --read-mask='Versioned_resources' --format="csv[separator=', '](versionedResources.resource.address,versionedResources.resource.addressType)"

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

79491825

Date: 2025-03-07 09:41:13
Score: 8 🚩
Natty: 5
Report link

Sorry for responding to this post so late, but I'm doing research work and am also interested in this. Were you able to implement a FAST tree?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AFONSO SILVA PINTO

79491820

Date: 2025-03-07 09:40:13
Score: 2
Natty:
Report link

The accepted answer still giving me following error: GET http://localhost:8000/assets/index-DahOpz9M.js net::ERR_ABORTED 404 (Not Found) GET http://localhost:8000/assets/index-D8b4DHJx.css net::ERR_ABORTED 404 (Not Found)

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

79491814

Date: 2025-03-07 09:38:12
Score: 1.5
Natty:
Report link

\>To access OneDrive- Personal file using Graph API.

Below are files present in my OneDrive-Personal Account:

![enter image description here](https://i.imgur.com/doAahh0.png)

Initially, I registered **multi-tenant** Microsoft Entra ID Application with Support Account type: Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) and added `redirect_uri: https://jwt.ms `:

![enter image description here](https://i.imgur.com/AqyDPwQ.png)

For accessing files needs to add **at least `Files.Read.All`** API permission, Added delegated type `Files.Read.All.All` API permission and Granted Admin Consent like below:

![enter image description here](https://i.imgur.com/aAeRUTv.png)

Using delegated type flow were user-interaction is required, so using authorization_code flow. Ran below authorization `code` request into browser:

```

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?

client_id=<Client-Id>

&response_type=code

&redirect_uri=https://jwt.ms

&response_mode=query

&scope=https://graph.microsoft.com/Files.Read.All

&state=12345

```

This request prompt you for sign-in with your OneDrive-Personal account User like below:

![enter image description here](https://i.imgur.com/MuFTX9N.png)

After `Accept` you will get `authorization_code`:

![enter image description here](https://i.imgur.com/4BraDZu.png)

Now, Generate access token using below `Body` parameters:

```

GET https://login.microsoftonline.com/common/oauth2/v2.0/token

client_id: <APP_ID>

client_secret: <CLIENT SECRET>

scope:https://

grant_type:authorization_code

redirect_uri:https://jwt.ms

code:AUTHORIZATION_CODE_GENERATE_FROM_BROWSER

```

![enter image description here](https://i.imgur.com/Ay1Tdbb.png)

To access the OneDrive-Personal account file use below query with this generated access token:

```

GET https://graph.microsoft.com/v1.0/me/drive/root/children?select=name

Authoization: Bearer token

Content-type: application/json

```

**Response:**

![enter image description here](https://i.imgur.com/Y9aestH.png)

**Reference:**

[OneDrive in Microsoft Graph API](https://learn.microsoft.com/en-us/onedrive/developer/rest-api/?view=odsp-graph-online)

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Pratik Jadhav

79491812

Date: 2025-03-07 09:38:12
Score: 1.5
Natty:
Report link

You have two identical simulators, try to remove one of them or even all of them and create a new one.

As for the failed script phase, try to see the logs of the phase in Navigation Area's last tab called Report Navigator. In the tab select your build and expand the phase's line, there you can find detailed error.

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

79491807

Date: 2025-03-07 09:35:11
Score: 1
Natty:
Report link

I recently stumbled over this an I'm not sure about this. For g++ 10.5.0 the ctor of jthread is (I omitted some details for better readability):

explicit
jthread(_Callable&& __f, _Args&&... __args)
 : _M_thread{_S_create(_M_stop_source, std::forward<_Callable>(__f),           std::forward<_Args>(__args)...)}

and

static thread
_S_create(stop_source& __ssrc, _Callable&& __f, _Args&&... __args)
{
  if constexpr(is_invocable_v<decay_t<_Callable>, stop_token, decay_t<_Args>...>)
    return thread{std::forward<_Callable>(__f), __ssrc.get_token(),
            std::forward<_Args>(__args)...};

where __ssrc.get_token() returns a std::stop_token by value. Then we have the ctor of std::thread:

explicit
thread(_Callable&& __f, _Args&&... __args)
{
  auto __depend = ...

  // A call wrapper holding tuple{DECAY_COPY(__f), DECAY_COPY(__args)...}
  using _Invoker_type = _Invoker<__decayed_tuple<_Callable, _Args...>>;

  _M_start_thread(_S_make_state<_Invoker_type>(
    std::forward<_Callable>(__f), std::forward<_Args>(__args)...), _depend);

and

static _State_ptr
_S_make_state(_Args&&... __args)
{
  using _Impl = _State_impl<_Callable>;
  return _State_ptr{new _Impl{std::forward<_Args>(__args)...}};

and finally

_State_impl(_Args&&... __args)
  : _M_func{{std::forward<_Args>(__args)...}}

So for me this looks like the stop token is forwarded to M_func which is our initial void f. If I interpret this correctly this would mean that we pass a temporary as reference to void f which causes lifetime issues.

Do I understand this correctly?

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

79491788

Date: 2025-03-07 09:29:10
Score: 3
Natty:
Report link

I'm not sure if you're using the development build, but if you are, you'll need to rebuild your project since native modules require a rebuild to work correctly.

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

79491782

Date: 2025-03-07 09:27:09
Score: 5.5
Natty:
Report link

We have been seeing the same issue intermittently for some time now .. On some days we're able to pull data on others we get a 4XX, which doesn't add up!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): seeing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gurpreet Kharbanda

79491781

Date: 2025-03-07 09:26:09
Score: 3
Natty:
Report link

use debug mode of pgvector to know. It being saved into another table. here is an example "public_data.items"

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

79491775

Date: 2025-03-07 09:23:08
Score: 0.5
Natty:
Report link

Try adding the guide to your original function:

ggally_hexbin <- function (data, mapping, ...)  {
    p <- ggplot(data = data, mapping = mapping) + geom_hex(...) 
+ guides(fill = guide_colorbar())
    p
}

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Coco Q.

79491772

Date: 2025-03-07 09:23:08
Score: 3.5
Natty:
Report link

I don't know if it is still relevant, but I have recently wanted to change MELD background. I use Meld on Windows. On the top right corner, next to Text Filters on the right we have the three bars, click on them and click on preference: enter image description here. On Editor, you can change the Display settings and others.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Antonio Shem

79491767

Date: 2025-03-07 09:21:07
Score: 3.5
Natty:
Report link

This is JSON response URL

http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US

To get more wallpapers change value of n

for example http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=7&mkt=en-US

If you want to see past wallpapers go here

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

79491760

Date: 2025-03-07 09:19:07
Score: 0.5
Natty:
Report link

The issue happens because touchesBegan is interfering with the scroll gesture on the first touch. Instead of recognizing the scroll, the collection view thinks it's just a touch.

Simple Fix:

  1. Remove these lines from touchesBegan and touchesEnded:

    self.next?.touchesBegan(touches, with: event) 
    self.next?.touchesEnded(touches, with: event)
    
    

    These lines forward touches manually, which disrupts scrolling.

  2. Override gestureRecognizerShouldBegin to ensure scrolling works:

    override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
        return gestureRecognizer is UIPanGestureRecognizer
    }
    
    

    This makes sure scrolling is detected properly.

Why This Works?

After these changes, scrolling will work as expected on the first touch. 🚀

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Bala B iOS

79491756

Date: 2025-03-07 09:18:07
Score: 0.5
Natty:
Report link

Change the name of the permission from

            android:permission="android.permission.BIND_QUICK_SETTINGS"

to:

            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"

as defined in TileService

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