79299146

Date: 2024-12-21 09:23:34
Score: 4
Natty:
Report link

your code is working perfectly in flutter 3.27.0 enter image description here

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

79299144

Date: 2024-12-21 09:20:33
Score: 4
Natty:
Report link
var expandParttern = item.Patterns.ExpandCollapse.Pattern;
if (expandParttern.ExpandCollapseState == FlaUI.Core.Definitions.ExpandCollapseState.Collapsed)
 {
     expandParttern.Expand();

 }

我刚刚遇到了同样的问题,用以上方式解决了,亲测有效!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: 闫繁宇

79299140

Date: 2024-12-21 09:17:32
Score: 1
Natty:
Report link

The two probable causes are:

  1. An internal error from react native: Currently there’s an issue open with regard to this error showing up. This occurs currently on version 0.76.5. It’s an autolinking bug introduced while ago when a new feature was being worked on.
  2. The second is if by any means a dependency you installed is broken. My scenario came about when I was building a pure C++ turbo module for android and forgot or more or less didn’t know I was to link it to libboost_atomic.so in my CmakeLists.txt. I ported the code from a desktop app I worked on and never did need to link to that specifically. I linked to other things like boost thread and filesystem however. The error that showed the missing .so file showed up in Android Studio’s logcat just before this error showed up. The emulator screen tells you half truths most of the time. So trying probing your dependency list to see if any is faulty. Check your logcat output also.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Praise Akpan

79299134

Date: 2024-12-21 09:11:30
Score: 4.5
Natty:
Report link

Best 3D Printing and Model making company https://inoventive.com/

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

79299133

Date: 2024-12-21 09:11:28
Score: 7 🚩
Natty:
Report link

I am making something similar to this UI but I am not able to toggle. I have added 2 buttons as math and greek. So what I want is when I click on math then math operators should be loaded and when I click on greek then greek operators should be loaded but each time math operator is loading. I have tried to console.log formulas are changing but not reflecting in UI. Can you share your math quill code here with toggling functionality. That would be really helpful.enter image description here

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (2.5): Can you share your
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shiva Raj

79299132

Date: 2024-12-21 09:09:27
Score: 1
Natty:
Report link

By graphs, do you mean the expressions? Not sure if this is what you mean, but press ctrl+shift+i, and go onto console. The run this:

for (let i = 1; i < Calc.getExpressions().length+1; i++) {
  Calc.setExpression({id:i,color:'#000000'});
}

It will change all expressions to black, but you can change color value to a different hex code However, this causes some errors on some expressions, (e.g. this that don't have colors) and isn't foolproof.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Michael Savage

79299130

Date: 2024-12-21 09:09:27
Score: 1
Natty:
Report link

I disagree, vorbis is not the only codec supporting surround-sound. As you can see in this cutcutcodec example, aac, alac, mlp, vorbis and wavpack are also able to deal with 5.1 layout.

from cutcutcodec.core.compilation.export.compatibility import Compatibilities
print(Compatibilities().codecs_audio(layout="5.1"))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: robinechuca

79299122

Date: 2024-12-21 09:02:25
Score: 2
Natty:
Report link

as @rw_ pointed out, my UserProfile.create in amplify/auth/post-confirmation/handler.ts and the UserProfile defined in amplify/data/resource.ts had different attributes. I updated the UserProfile model and changed name to email. This made the function work

amplify/data/resource.ts

const schema = a.schema({ 
  UserProfile: a 
    .model({
      email: a.string().required() // changed from 'name'
      ...
    })
    ...
})
...
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @rw_
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: noor soreti

79299120

Date: 2024-12-21 09:01:25
Score: 0.5
Natty:
Report link

Try using extends, not include. Templates are created using the first variant. Include just brings the whole html over your second one.

{% extends "base.html" %}
{% load static %}

{% block content %}
<p> body </p>
{% endblock content %}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mario Mateaș

79299118

Date: 2024-12-21 09:01:25
Score: 2.5
Natty:
Report link

You can go through the tutorial and you will get all the answers related to Splunk -

Splunk - Beginner to Architect Tutorial

I have covered everything from very basic to advanced in the above playlist.

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

79299110

Date: 2024-12-21 08:53:23
Score: 0.5
Natty:
Report link

acw1668 told to read https://pyinstaller.org/en/stable/runtime-information.html
Using that , i changed tkinter code to following

import tkinter as tk
import sys
from os import path
class Application(tk.Tk):
    def __init__(self, title:str="Simple", x:int=0, y:int=0, **kwargs):
        tk.Tk.__init__(self)
        self.title(title)
        self.config(**kwargs)
        #
        if getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS'):
            print('running in a PyInstaller bundle')
        else:
            print('running in a normal Python process')
        self.first_row_frame=tk.Frame(self)
        path_to_dat = path.abspath(path.join(path.dirname(__file__),'icofolder'))
        print(path_to_dat)
        self.iconbitmap(path_to_dat+'\\icon.ico')
        self.first_row_frame.grid(column=0,row=0,sticky='W')
        self.lbl_ser_num=tk.Label(self.first_row_frame,text="Sr No:",font='Arial 50 bold')
        self.lbl_ser_num.grid(column=0,row=0)
        self.update_idletasks()
        self.state('zoomed')

if __name__ == "__main__":
    # height of 0 defaults to screenheight, else use height
    Application(title="simple app").mainloop()

Then I created exe using following command

pyinstaller --clean --onefile -i "icon.ico" --add-data "icon.ico;icofolder" my-script.py

Then you simply run exe file of dist folder from anywhere.

Now only thing is that icon is blurry though my icon is 184x256 pixel as per mspaint.
Thanks.

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

79299100

Date: 2024-12-21 08:49:22
Score: 2.5
Natty:
Report link

I faced the same issue when switching my terminal profile from "Basic" to "Homebrew," but everything worked fine after reverting back.

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

79299097

Date: 2024-12-21 08:45:21
Score: 3
Natty:
Report link

if you using approuter you most use the next/headers in server component and if you use pages context.req.headers.cookie anyway you most use coockie for ssr api

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

79299092

Date: 2024-12-21 08:39:20
Score: 2
Natty:
Report link

The reason is due to the colors. Since the list c1 only has 186 elements, desmos can only graph that many items. Changing the color to one of the default colors makes all the polygons appear.

I am not sure how to get all the colors, but rgb([0...c],0,0) works fairly well.

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

79299090

Date: 2024-12-21 08:37:20
Score: 2.5
Natty:
Report link

I just copied your code and run with Flutter 3.27.1. It's working fine for me. There should be some other issue.

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

79299080

Date: 2024-12-21 08:28:18
Score: 2.5
Natty:
Report link

You can go through the tutorial and you will get all the answers related to Splunk -

Splunk - Beginner to Architect Playlist

In the above playlist I have covered all the topics from very basic to advance.

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

79299079

Date: 2024-12-21 08:26:18
Score: 1
Natty:
Report link

There's a cross-platform way to check for battery status with SDL/SDL2/SDL3 with SDL_GetPowerInfo() in <SDL/SDL_power.h>. Then you can compare the status with SDL_PowerState enumerations, for instance:

SDL_PowerState systemPowerState = SDL_GetPowerInfo(NULL, NULL);
if (systemPowerState == SDL_POWERSTATE_NO_BATTERY)
    // check for mailbox
else
    // check for relaxed_fifo
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brain_driver_not_found

79299069

Date: 2024-12-21 08:14:15
Score: 4.5
Natty:
Report link

If anyone is still looking for a solution, I created this template based on Harshal Patil's answer

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

79299061

Date: 2024-12-21 08:02:13
Score: 1
Natty:
Report link

Per the comments found here https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L2367, updating your Helm values to include the following block should resolve this issue:

      prometheusOperator:
        admissionWebhooks:
          annotations:
            argocd.argoproj.io/hook: PreSync
            argocd.argoproj.io/hook-delete-policy: HookSucceeded
          mutatingWebhookConfiguration:
            annotations:
              argocd.argoproj.io/hook: PreSync
          validatingWebhookConfiguration:
            annotations:
              argocd.argoproj.io/hook: PreSync
          patch:
            annotations:
              argocd.argoproj.io/hook: PreSync
              argocd.argoproj.io/hook-delete-policy: HookSucceeded
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: majo

79299057

Date: 2024-12-21 08:01:12
Score: 4
Natty:
Report link

I can't comment, so this is my only way to respond...

Have you tried using other resources? For example using Google Collab/AWS. Both are free depending on how much you are using. I could help you set it up if you would like

Just an idea?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Explants

79299055

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

In Java, if a getter method is not returning the value set in the constructor, there are a few possible reasons:

Improper constructor initialization: Ensure that the constructor is correctly initializing the field.

java Copy code public class MyClass { private int value;

// Constructor
public MyClass(int value) {
    this.value = value;
}

// Getter
public int getValue() {
    return value;
}

} Object instantiation issue: Make sure you are creating the object properly and calling the getter method on the correct instance.

java Copy code MyClass obj = new MyClass(5); System.out.println(obj.getValue()); // Should print 5 Setter method overwriting: If there is a setter method that updates the value, verify that it's not being called and overwriting the constructor value unintentionally.

Check these points to ensure the getter returns the correct value.

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

79299052

Date: 2024-12-21 07:56:11
Score: 0.5
Natty:
Report link
constructor({ id = 0, name =  '', lastName = '', eyeColor = '', age = 0 } = {}) {
    this.id = id;
    this.name = name;
    this.lastName = lastName;
    this.eyeColor = eyeColor;
    this.age = age;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ProJin

79299050

Date: 2024-12-21 07:55:09
Score: 4
Natty:
Report link

356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 33333333333333333333333333333
  • Low entropy (1):
  • Low reputation (1):
Posted by: user28879738

79299046

Date: 2024-12-21 07:53:08
Score: 2.5
Natty:
Report link

فالايمانُ بالنبيّ مُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَاجِبٌ مُتَعَين لَا يَتِمّ إيمَانٌ إلَّا بِهِ وَلَا يَصِحُّ إِسْلَامٌ إلَّا مَعَهُ . قَالَ تَعَالَى: (وَمَنْ لَمْ يُؤْمِنْ بِاللَّهِ وَرَسُولِهِ فَإِنَّا أَعْتَدْنَا اعتدنا للكافرين سعيرا. صلى الله عليه وسلم قَالَ: (أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يشهدوا أن لا إلا إِلَّا اللَّهُ وَيُؤْمنُوا بِي وَبِمَا جِئْتُ بِهِ، فَإِذَا فَعَلُوا ذَلِكَ عَصَمُوا مِنِّي دِمَاءَهُمْ وَأَمْوَالَهُمْ إِلَّا بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللَّهِ) قَالَ الْقَاضِي أَبُو الْفَضْلِ : (وَفَّقَهُ اللَّه)، وَالْإِيمَان بِهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ هُوَ تَصْدِيقُ نُبُوَّتِهِ وَرِسَالَةِ اللَّه لَهُ وَتَصْدِيقُهُ فِي جَمِيعِ مَا جَاءَ بِهِ وَمَا قَالَهُ وَمُطَابَقَةُ تَصْدِيقِ الْقَلْبِ بِذَلِكَ شَهَادَة اللّسَانِ بِأَنَّهُ رَسُولُ اللَّه صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، فَإِذَا اجْتَمَعَ التَّصْدِيقُ بِهِ بالْقَلْبِ وَالنُّطْقُ بِالشَّهَادَةِ بِذَلِكَ بِاللّسَانِ تم الْإِيمَانُ بِهِ وَالتَّصْدِيقُ لَهُ كَمَا وَرَدَ فِي هَذَا الْحَدِيثِ نفسِهِ من رِوايَةِ عَبْد اللَّه بن عُمَرَ رَضِيَ اللَّه عَنْهُمَا (أُمِرْتُ) أنْ أُقَاتِلَ النَّاسَ حَتَّى يَشْهَدُوا أن لا إله إلا الله وَأَنَّ مُحَمَّدًا رَسُولُ اللَّه)فصل وَأَمَّا وُجُوبُ طَاعَتِهِ: فَإِذَا وَجَبَ الْإِيمَان بِهِ وَتَصْدِيقُهُ فِيمَا جَاءَ بِهِ وَجَبَتْ طَاعَتُهُ لِأَنَّ ذَلِكَ مِمَّا أتى بِهِ قَالَ اللَّه تعالى (يا أيها الَّذِينَ آمَنُوا أَطِيعُوا اللَّه وَرَسُولِهِ) وَقَالَ (قُلْ أَطِيعُوا اللَّهَ وأطيعوا الرسول) أَبَا هُرَيْرَةَ يَقُولُ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ (مَنْ أَطَاعَنِي فَقَدْ أَطَاعَ اللَّهَ وَمَنْ عَصَانِي فَقَدْ عَصَى اللَّهَ وَمَنْ أَطَاعَ أَمِيرِي فَقَدْ أَطَاعنِي وَمَنْ عَصَى أَمِيرِي فَقَدْ عَصَانِي): وَقَالَ السَّمْرَقَنْدِيُّ يُقَالُ: أَطِيعُوا اللَّه فِي فَرَائِضِهِ والرَّسُولَ فِي سُنَّتِهِ قَالَ مُحَمَّد بن عَلِيٍّ التَرْمِذيّ: الْأُسْوَةُ فِي الرَّسُول الاقْتِدَاءُ بِهِ وَالاتّبَاعُ لِسُنّتِهِ وَتَرْكُ مُخَالَفَتِهِ فِي قَوْلٍ أَوْ فِعْلٍ وَقَالَ غَيْرُ وَاحِدٍ مِنَ الْمُفَسّرِينَ بِمَعْنَاهُ وَقِيلَ هُوَ عِتَابٌ لِلْمُتَخَلّفِينَ عَنْهُ وَقَالَ سَهْلٌ فِي قَوْلِهِ تَعَالَى (صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْ) قَالَ بِمُتَابَعَةِ السُّنَّةِ فَأَمَرَهُمْ تَعَالَى بِذَلِكَ وَوَعَدَهُمُ الاهْتِدَاءَ بِاتِّبَاعِهِ لِأَنَّ اللَّهَ تَعَالَى أَرْسَلَهُ بِالْهُدَى وَدِينِ الْحَقِّ لِيُزَكِّيَهُمْ وَيُعَلِّمَهُمُ الْكِتَابَ وَالْحِكْمَةَ وَيَهْدِيَهُمْ إلى صراط فمستقيم وَوَعَدَهُمْ مَحَبَّتَهُ تَعَالَى فِي الآيَةِ الْأُخْرَى وَمَغْفِرَتِهِ إِذَا اتَّبَعُوهُ وَآثَرُوهُ عَلَى أَهْوَائِهِمْ وَمَا تَجْنَحُ إليْهِ نُفُوسُهُمْ وَأَنَّ صِحّةَ إيمَانهِمْ بانْقِيَادِهِمْ لَهُ وَرِضَاهُمْ بِحُكْمِهِ وَتَرْكِ الاعْتِرَاضِ عَلَيْهِ،وَكَتَبَ عُمَرُ بن الْخَطَّابِ رَضِيَ اللَّه عَنْهُ إِلَى عُمَّالِهِ بِتَعَلُّمِ السُّنَّةِ وَالفَرَائِضِ وَاللَّحْنِ أَي اللُّغَةِ وَقَالَ إنَّ ناسًا يُجَادلُونَكُمْ - يَعْنِي بِالْقُرْآنِ - فَخُذُوهُمْ بالسُّنَنِ فَإِنَّ أصْحَابَ السُّنَنِ أَعْلَمُ بِكِتَاب اللَّه، وَكَانَ ابن مَسْعُودٍ يَقُولُ: القَصْدُ فِي السُّنَّةِ خَيْرٌ مِنَ الاجْتِهَادِ فِي البِدْعَةِ، وَقَالَ ابن عُمَرَ: صَلَاةُ السَّفَرِ رَكْعَتَانِ مَنْ خَالَفَ السُّنَّةَ كَفَرَ،وَعَنْ عَطَاءٍ فِي قَوْلِهِ تَعَالَى (فَإِنْ تَنَازَعْتُمْ فِي شئ فَرُدُّوهُ إِلَى اللَّهِ والرسول) أَيْ إِلَى كِتَابِ اللَّه وَسَنَّةِ رَسُولِ اللَّه صلى اله عله وَسَلَّمَ، لْبَابِ الثاني: فِي لزوم محبته صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ

قُلْ إِنْ كَانَ آبَاؤُكُمْ وَأَبْنَاؤُكُمْ وَإِخْوَانُكُمْ وَأَزْوَاجُكُمْ وَعَشِيرَتُكُمْ وَأَمْوَالٌ اقترفتموها) الآيَةَ وَعَنْ أَنَسٍ عَنْهُ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ (ثَلَاثٌ مَنْ كُنَّ فِيهِ وَجَدَ حَلَاوَةَ الْإِيمَانِ: أَنْ يَكُونَ اللَّهُ وَرَسُولُهُ أَحَبَّ إِلَيْهِ مِمَّا سِوَاهُمَا وأن يحبالْمَرْءَ لَا يُحِبُّهُ إِلَّا لِلَّهِ وَأَنْ يَكْرَهَ أَنْ يَعُودَ فِي الكُفْرِ كَمَا يَكْرَهُ أَنْ يُقْذَفَ فِي النَّارِ) وَعَنْ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللَّه عَنْهُ أَنَّه قَالَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لأَنْتَ أَحَبُّ إِلَيَّ مِنْ كُلِّ شئ إِلَّا نَفْسِي الَّتِي بَيْنَ جَنْبَيَّ فَقَالَ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ (لَنْ يُؤْمِنَ أَحَدُكُمْ حَتَّى أَكُونَ أَحَبَّ إِلَيْهِ مِنْ نَفْسِهِ) فَقَالَ عُمَرُ وَالَّذِي أَنْزَلَ عَلَيْكَ الْكِتَابَ لأَنْتَ أَحَبُّ إِلَيَّ مِنْ نَفْسِي الَّتِي بَيْنَ جَنْبَيَّ فَقَالَ له النبي صلى الله عليه وسلم (الآنَ يَا عُمَرُ) قَالَ سَهْلٌ من لَمْ يَرَ وِلايَةَ الرَّسُولِ عَلَيْهِ فِي جَمِيعِ الأحْوَالِ وَيَرَى نَفْسَهُ فِي مِلْكِهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَا يَذُوقُ حَلَاوَةَ سُنَّتِهِ لِأَنَّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ (لَا يُؤْمِنُ أَحَدُكُمْ حَتَّى أَكُونَ أَحَبَّ إِلَيْهِ مِنْ نَفْسِهِ) الْحَدِيثَ فصل فِي علامة محبته صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ اعْلَمْ أَنَّ من أَحَبَّ شَيْئًا آثره وَآثَرَ مُوَافَقَتَهُ وَإلَّا لَمْ يَكُنْ صَادقًا فِي حُبّهِ وَكَانَ مُدَّعِيًا فالصَّادِقُ فِي حُبَّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ من تَظْهَرُ علامة ذَلِكَ عَلَيْهِ وَأوَّلُهّا: الاقْتِدَاءُ بِهِ وَاسْتِعْمَالُ سُنّتِهِ وَاتّبَاعُ أقْوَالِهِ وَأفْعَالِهِ وَامْتِثَالُ أوَامِرِهِ وَاجْتِنَابُ نَوَاهِيهِ وَالتَّأَدُّبُ بِآدَابِهِ فِي عُسْرِهِ وَيُسْرِهِ وَمَنْشَطِهِ وَمَكْرهِهِ وَشَاهِدُ هَذَا قَوْلُهُ تَعَالَى (قُلْ إِنْ كُنْتُمْ تُحِبُّونَ اللَّهَ فاتبعوني يحبكم الله) وَإِيثَارُ مَا شَرَعَهُ وَحَضَّ عَلَيْهِ عَلَى هَوَى نَفْسِهِ وَمُوافَقَةِ شَهْوَتِهِ قَالَ اللَّه تَعَالَى (وَالَّذِينَ تبوؤا الدَّارَ وَالإِيمَانَ مِنْ قَبْلِهِمْ يُحِبُّونَ مَنْ هَاجَرَ إِلَيْهِمْ وَلا يَجِدُونَ فِي صُدُورِهِمْ حَاجَةً مِمَّا أُوتُوا وَيُؤْثِرُونَ عَلَى أَنْفُسِهِمْ وَلَوْ كَانَ بِهِمْ خصاصة) وَإسْخَاطُ الْعِبَادِ فِي رِضَى اللَّه تَعَالَى ، قَالَ سَهْلُ بن عَبْد اللَّه: عَلَامَةُ حُبّ اللَّه حُبُّ الْقُرْآنِ وَعَلَامَةُ حُبّ الْقُرْآنِ حُبُّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَعَلَامَةُ حُبّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حُبُّ السُّنَّةِ وَعَلَامَةُ حُبّ السُّنَّةِ حُبُّ الآخِرَةِ وَعَلَامَةُ حُبّ الآخِرَةِ بُغْضُ الدُّنْيَا وَعَلَامَةُ بُغْضِ الدُّنْيَا أنْ لَا يَدَّخِرَ مِنْهَا إلَّا زَادًا وَبُلْغَةً إِلَى الآخِرَةِ، وَرَوَى التِّرْمِذِيُّ عَنْ أَنَسٍ أَنَّ رَسُولَ اللَّه صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَخْرُجُ عَلَى أصْحَابِهِ مِنَ المُهَاجِرِينَ وَالْأَنْصَارِ وهم جُلُوسٌ فِيهِمْ أَبُو بَكْرٍ وَعُمَرُ فَلَا يَرْفَعُ أَحَدٌ مِنْهُمْ إِلَيْهِ بَصَرَهُ إِلَّا أَبُو بَكْرٍ وَعُمَرُ فَإِنَّهُمَا كَانَا يَنْظُرَانِ إِلَيْهِ وَيَنْظُرُ إِلَيْهِمَا وَيَتَبَسَّمَانِ إِلَيْهِ وَيَتَبَسَّمُ لَهُمَا، وَرَوَى أسَامَةُ بن شَرِيكٍ قَالَ أتَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وأصْحَابُهُ حَوْلَهُ كأنما على رؤسهم الطَّيْرُ، وَفِي حَدِيث المُغِيرَة كَانَ أصْحَابُ رَسُول اللَّه صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقْرَعُونَ بَابَهُ بِالْأَظَافِرِ، وَقَالَ البَرَاءُ بن عازِبٍ لَقَدْ كُنْتُ أُرِيدُ أنْ أسْألَ رَسُولَ اللَّه صلى الله عليه وَسَلَّمَ عَنِ الْأَمْر فأؤخّرُ سِنِينَ من هَيْبَتِهِ قَالَ أَبُو إبراهيم التّجِيبيُّ وَاجِبٌ عَلَى كُلّ مُؤْمِن مَتَى ذَكَرَهُ أَوْ ذُكِرَ عِنْدَهُ أنْ يَخْضَعَ وَيَخْشَعَ ويتوقر وَيَسْكُن من حَرَكَتِهِ وَيَأْخُذَ فِي هَيْبَتِهِ وَإجْلالِهِ بِمَا كَانَ يَأْخُذُ بِهِ نَفْسَهُ لَوْ كَانَ بَيْنَ يَدَيْهِ وَيتَأدَّبَ بِمَا أدَّبَنَا اللَّه بِهِ، قَال عَبْد اللَّه بن الْمُبَارَك كُنْت عِنْد مَالِك وَهُو يُحَدّثُنَا فَلَدَغَتْه عَقْرَب سِتّ عَشْرَة مَرَّة وَهُو يَتَغَيَّر لَوْنُه وَيَصْفَرّ وَلَا يَقْطَع حَدِيث رَسُول الله صلى الله عليه وسلم فَلَمّا فَرَغ مِن الْمَجْلِس وَتَفَرَّق عَنْه النَّاس قُلْت لَه يَا أَبَا عَبْد اللَّه لَقَد رَأيْت مِنْك الْيَوْم عَجَبًا قَال نَعَم إنَّمَا صَبَرْت إجْلَالًا لِحَدِيث رَسُول اللَّه صَلَّى اللَّه عَلَيْه وَسَلَّم. فصل اعْلَم أَنّ الصَّلَاة عَلَى النَّبِيّ صَلَّى اللَّه عَلَيْه وَسَلَّم فَرْض عَلَى الجُمْلَة غَيْر محَدَّد بوَقْت لِأَمْر اللَّه تَعَالَى بِالصَّلَاة عَلَيْه وَحَمْل الْأَئِمَّة وَالْعُلمَاء لَه عَلَى الْوُجُوب وَأجْمَعُوا عَلَيْه قَال الْقَاضِي أَبُو الْحَسَن بن الْقَصَّار: المَشْهُور عَن أصْحَابِنَا أَنّ ذَلِك وَاجِب فِي الجُمْلَة عَلَى الْإِنْسَان وَفَرْض عَلَيْه أن يَأتِي بِهَا مَرَّةّ من دَهْرِه مَع الْقُدْرَة عَلَى ذَلِك، قَال الْقَاضِي أَبُو مُحَمَّد بن نَصْر: الصَّلَاة عَلَى النَّبِيّ صَلَّى اللَّه عَلَيْه وَسَلَّم وَاجِبَة فِي الجُمْلَة قَال الْقَاضِي أَبُو عَبْد اللَّه مُحَمَّد بن سَعِيد: ذَهَب مَالِك وَأَصْحَابُه وَغَيْرِهِم من أَهْل الْعِلْم أَنّ الصَّلَاة عَلَى النَّبِيّ صَلَّى اللَّه عَلَيْه وَسَلَّم فَرْض بِالجُمْلَة بِعَقْد الْإِيمَان لَا يَتَعَيَّن فِي الصَّلَاةوَأَنّ من صَلَى عَلَيْه مَرَّةّ وَاحِدَة من عُمُرِه سَقَط الْفَرْض عَنْه.
وَعَن أبَيّ بن كَعْب كَان رَسُول اللَّه صَلَّى اللَّه عَلَيْه وَسَلَّم إذَا ذَهَب رُبُع اللَّيْل قَام فَقَال (يَا أيُّهَا النَّاس اذْكُرُوا اللَّه جَاءَت الرَّاجِفَة تَتْبَعُهَا الرَّادِفَة جاء الْمَوْت بِمَا فِيه) فَقَال أُبَيّ بن كَعْب يَا رَسُول اللَّه إنّي أُكْثِر الصَّلَاة عَلَيْك فكم أَجْعَل لَك من صَلَاتِي؟ قَال: (مَا شِئْت) قَال: الرّبْع؟ قَال: (مَا شِئْت وَإن زِدْت فَهُو خير) قَال: الثُّلُث؟ قَال: (مَا شِئْت وَإن زدت فهو خير) قَال، النّصْف؟ قَال: (مَا شِئْت وَإن زِدْت فَهُو خَيْر) قَال: الثُّلُثَيْن؟ قَال: (مَا شِئْت وَإن زِدْت فَهُو خَيْر) قَال: يَا رَسُول اللَّه فَاجْعَل صَلَاتِي كُلَّهَا لَك قَال إذَا تُكْفَى وَيُغْفَر ذَنْبُك.

  وَعَن سَعْد بن أَبِي وَقَّاص مَنْ قَالَ حِينَ يَسْمَعُ الْمُؤَذِّنَ وَأَنَا أَشْهَدُ أَنْ لَا إِلَهَ إلا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ وَأَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ رَضِيتُ بِاللَّهِ رَبًّا وَبِمُحَمَّدٍ رَسُولًا وَبِالْإِسْلَامِ دِينًا غُفِرَ لَهُ

Blockquote cleaning harakat

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: afaj

79299042

Date: 2024-12-21 07:47:08
Score: 2.5
Natty:
Report link

If you return response type with JSON, it will reorder the keys as fastAPI uses json_enocode (https://fastapi.tiangolo.com/tutorial/encoder/)

To tackle this issue, you can return the json response media-type application/text; this will return a text response, i.e., return will be a string.

from fastapi import Response
@classifier_router.post("/groupClassifier")
async def group_classifier(
    # current_user: User = Depends(get_current_user),
    group_id: str = Query(default="1069302375", description=GROUP_ID_DESC),
    starttime: Union[datetime , None] = DEFAULT_START_TIME,
    endtime: Union[datetime , None] = DEFAULT_END_TIME):
    result = handler.group_classifier(
        [group_id],
        starttime,
        endtime)
    if result==None:
        raise HTTPException(
        status_code=500
        )
    else:
        return Response(
                content=json.dumps(result), media_type="application/text"
            )

I hope this will work for you. I have the same issue I have resolved using the above change, i.e., changing the media_type in response.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: RAJAHMAD MULANI

79299040

Date: 2024-12-21 07:45:07
Score: 3.5
Natty:
Report link

I think the test framework expects the exception to be raised inside setValue() and not inside the listener. Try to move the code of the listener to a separate function and use this function in assertThrows(). Why do you validate the values inside a test? Shouldn‘t it be validated inside the logic?

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

79299035

Date: 2024-12-21 07:39:06
Score: 3.5
Natty:
Report link

You should use the body parser middleware after the webhook route

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

79299028

Date: 2024-12-21 07:27:04
Score: 2
Natty:
Report link

enter image description here

I am using the background_location package and I faced this problem

background_location:

   git:
    url: https://github.com/dharmik-dalwadi-seaflux/background_location.git
    ref: master

use this so that you can over come your problem

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tavkeer

79299019

Date: 2024-12-21 07:14:01
Score: 3
Natty:
Report link

If you want to have a different port while running locally, use spring profiles and environments.

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

79299017

Date: 2024-12-21 07:12:01
Score: 3
Natty:
Report link

Remove the old migrations and create a new migration. If your data is not important or you have a backup of your data, recreating the database can also help.

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

79299009

Date: 2024-12-21 07:00:59
Score: 0.5
Natty:
Report link

I asked chatGPT about the problem by sharing the same codes. So I need to use style prop instead of className as it is a react-native app, not React.js. Here is the updated Label component.

import React from 'react';
import { Text, TextStyle } from 'react-native';
import styled from 'styled-components/native'; // Use styled-components/native for React Native
import Colors from '../ui/colors';

type Props = {
  color?: string;
  children: React.ReactNode;
  style?: TextStyle;
};

export const Label: React.FC<Props> = ({ color, children, style }) => {
  return (
    <StyledText color={color} style={style}>
      {children}
    </StyledText>
  );
};

const StyledText = styled(Text)<Props>`
  color: ${(props) => (props?.color ? props.color : Colors.textColor)};
  font-size: 16px;
  font-family: Poppins-SemiBold;
`;
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shan Biswas

79299006

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

RequestBody.create(String, MediaType) will add charset (usually UTF-8) in the Content-Type header, to avoid this, use RequestBody.create(byte[], MediaType) instead.

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

79298994

Date: 2024-12-21 06:50:56
Score: 2
Natty:
Report link

I had the same problem .. by closing Malwarebytes ..its No fixed

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mostafa

79298990

Date: 2024-12-21 06:39:55
Score: 1.5
Natty:
Report link

I got in my case to running this command.

flutter config --jdk-dir=<JDK_DIRECTORY>

Replace <JDK_DIRECTORY> to which you want to configure in my case "C:\Program Files\Java\jdk-17"

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

79298989

Date: 2024-12-21 06:38:54
Score: 2
Natty:
Report link

I've tried everything here but nothing worked so I copied the pom.xml which is actually working there I found that we have to add this configuration after build tag. Then compile and it will generate Mapper Impl class in target folder

<repositories>
    <repository>
        <id>spring-milestones</id>
        <name>Spring Milestones</name>
        <url>https://repo.spring.io/milestone</url>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
        </repository>
</repositories>
Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Blacklisted phrase (1): but nothing work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Xparsh

79298984

Date: 2024-12-21 06:35:54
Score: 3.5
Natty:
Report link

we can find the solution by using python

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

79298983

Date: 2024-12-21 06:33:53
Score: 1
Natty:
Report link

The most elegant way I found:

from matplotlib.font_manager import get_font_names
def font_exists(name):
    return name in get_font_names()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: searchstar

79298979

Date: 2024-12-21 06:30:52
Score: 4.5
Natty: 4
Report link

When I was young I also failed to get head.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Johhny

79298978

Date: 2024-12-21 06:30:52
Score: 3
Natty:
Report link

Just paste a null default value.

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

79298973

Date: 2024-12-21 06:22:50
Score: 4
Natty: 5
Report link

Thanks a lot. In my case, nltk version 3.8.1 worked after following your advice.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jason SJ Yim

79298970

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

File upload limit can be specified in command like this

docker run -p 8080:80 -d -e PMA_ARBITRARY=1 -e UPLOAD_LIMIT=300M phpmyadmin
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shahid Islam

79298969

Date: 2024-12-21 06:18:49
Score: 1.5
Natty:
Report link

If anyone is still struggling in 2024 or later, plz refer to this Link. Basically remove the credentials from keychain using commandline:

git credential-osxkeychain erase
host=github.com
protocol=https
Reasons:
  • Blacklisted phrase (1): this Link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shubham

79298958

Date: 2024-12-21 06:11:48
Score: 2
Natty:
Report link

I tried multiple solutions related to Certificates, but couldn't resolve.

How did I solve it?

Update the system's ssl packages.

Reasons:
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: ketankk

79298947

Date: 2024-12-21 05:55:44
Score: 1.5
Natty:
Report link

I had the same problem working on macOS. I suppose the reason of such problem was the location of the project's directory - it was located in the directory synced with iCloud. When I tried to build exactly the same project in another directory, that was not being synced with iCloud, such error have never ever occurred again.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dmitrii Malov

79298940

Date: 2024-12-21 05:47:40
Score: 7.5 🚩
Natty:
Report link

Iam also looking for similar thing for different json file.

So, I am trying to exclude the IP ranges present in the JSON link. To do that, I need to project all the data in the JSON. I tried writing the below code, but it threw an error: "There was a problem running the query. Try again later." Could anyone help me build the query?

let jsonData = externaldata(
syncToken: string,
createDate: string,
["prefixes"]: dynamic
)
[
h@"https://ip-ranges.amazonaws.com/ip-ranges.json"
]
with (format="multijson");
jsonData
| limit 10
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Could anyone help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jeevan Kumar Seerapu

79298930

Date: 2024-12-21 05:34:37
Score: 2.5
Natty:
Report link

Note that the 'A' versions do not necessarily use ANSI encoding since Windows version 1903 (May 2019 update). It is possible to configure them to use UTF-8.

Read more here: https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page

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

79298927

Date: 2024-12-21 05:29:36
Score: 3.5
Natty:
Report link

Answer by @peterhuba is incorrect. Apparently you need to do a lot more in Quarkus as you need to add spring data, spring jpa and spring enters dependency in liquibaseRuntime phase.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @peterhuba
  • Single line (0.5):
  • Low reputation (1):
Posted by: siddharthapd

79298918

Date: 2024-12-21 05:21:34
Score: 3
Natty:
Report link

I know it's not exactly what the author asked, but if you're using SwiftUI you can check how a View looks in Light or Dark themes directly in the Preview canvas, as shown in the image: SwiftUI View preview options

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

79298917

Date: 2024-12-21 05:17:33
Score: 3.5
Natty:
Report link

Chanyanut​ Sawasdee​Pop.​F4/689=64:45-4476=6789.34,79% cer7, xse907, vrr35, cwad,3 ceu,467 xest.7, fgji890, zsd6800-6300=500.:137/537?=&4685'489enter image description here 9กุมภาพันธ์​2539​ปีชวด​28​ปี​จังหวัด​สมุทร​สงคราม​75000​

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Chanyanut Sawasdee

79298916

Date: 2024-12-21 05:17:33
Score: 3
Natty:
Report link

Didn't you answer you own queston before even asking it?! Man, Oh Man! You must have been nervous, what a great response you gave him, its nice code...

Here, in your question you wrote, "he asked me to write a code for single producer and single consumer using ring buffer(Circular buffer)...".

So, he wanted a quick ring buffer implementation, did you write him a linked_list implementation?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did
Posted by: Dru

79298915

Date: 2024-12-21 05:16:33
Score: 3
Natty:
Report link

if you goes with patterns in js :process.stdout.write(''); for print them to next line

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

79298909

Date: 2024-12-21 05:09:31
Score: 2.5
Natty:
Report link

You need to make sure your schema is returning a value if you're using .custom() for validation

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

79298904

Date: 2024-12-21 05:06:31
Score: 1
Natty:
Report link

If you are using Vissual Studio 2022, you can chose your preferred MSVC version. Here's an example of the path format:

path\to\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\bin\Hostx64

You can see different versions here

Within this folder, you should be able to locate the cl.exe file for x64.

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

79298901

Date: 2024-12-21 05:04:30
Score: 3.5
Natty:
Report link

Looks like NSAccessibilityElement is what I'm looking for. The docs at https://developer.apple.com/documentation/appkit/nsaccessibilityelement-swift.class?language=objc are helpful.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kevin Walzer

79298876

Date: 2024-12-21 04:36:25
Score: 3
Natty:
Report link

Is this the correct/accepted way to create an object class? I will be using it to receive data from an API that sends it in this format as JSON.

Yes, you have created a class which handles some properties of an object, in this way you must pass a class to the constructor. (because you've used statements such as obj.name)

How do I make a parameter optional? Mainly why I need this is that the ID value is not required when creating a new entry on the API, so I would prefer not to include the ID value when creating the object.

You just did, by declaring obj = <some_object>, note that by what you did here, in case no object will be passed when you create a new instance of Person, the default object you have provided will be used as a default value.

let newPerson = new Person(0, "Werner", "Venter", 37);

This one is wrong btw, your constructor method excepts one parameter while in the example above 4 are provided.

This way is the correct one indeed (but it drag an error because eyeColor was not provided):

let newPerson = new Person( { id: 0, name: "Werner", lastName: "Venter", age: 37 } );

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this the
  • Low reputation (1):
Posted by: Yuval Jacobson

79298865

Date: 2024-12-21 04:22:23
Score: 3
Natty:
Report link

I found that the error was caused by having a comma in the number, so you can't convert "1,000" to INT, but "1000" is accepted.

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

79298861

Date: 2024-12-21 04:18:22
Score: 2
Natty:
Report link

This is likely a mistake:

In my my_script/config/config.yaml I added the following:

searchpath: - pkg://my_lib.config - pkg://my_lib.config.config_group_B

Search path elements should not be nested. if you want to compose configs in config_group_B you should just refer to them with their full relative path in your search path, e.g config_group_B/some-config.

About your actual quesiton: Can you provide a complete minimal runnable example (code and configs)?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Omry Yadan

79298855

Date: 2024-12-21 04:13:21
Score: 3.5
Natty:
Report link

gitc is now removed from repo's source code as of: https://gerrit.googlesource.com/git-repo/+/cf411b3f03c3bd6001701136be5a874a85f1dc91

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: brax

79298854

Date: 2024-12-21 04:12:21
Score: 0.5
Natty:
Report link

I used your edit and regardless of what the start position is I only get 25 players over and over. Any insight would be much appreciated

  import os
  import requests
  from requests_oauthlib import OAuth2Session
  import webbrowser
  import xml.etree.ElementTree as ET
  import csv
  import json
  # from yahoo_oauth import OAuth2

  class YahooFantasyAPI:

    def __init__(self):
    self.client_id = os.getenv('API_KEY')
    self.client_secret = os.getenv('API_SECRET')
    self.redirect_uri = 'https://localhost/'
    self.league_id = os.getenv('league_id')
    self.base_url = 'https://fantasysports.yahooapis.com/fantasy/v2'
    self.token = None
    self.oauth = OAuth2Session(self.client_id, redirect_uri=self.redirect_uri, scope='openid')
    # self.oauth2= OAuth2(self.client_id,self.client_secret,base_url=self.base_url)
    self.state = None
    self.item_dict=item_dict

def authenticate(self):
    # Step 1: Get authorization URL and state
    authorization_url, self.state = self.oauth.authorization_url(
        'https://api.login.yahoo.com/oauth2/request_auth'
    )
    print(f"Please go to this URL and authorize access: {authorization_url}")
    webbrowser.open(authorization_url)

    # Step 2: User pastes the redirected URL with the code
    redirect_response = input("Paste the full redirect URL here: ")
    print(f"Redirect URL: {redirect_response}")

    # Step 3: Verify that the state parameter from the response matches the one in the request
    if self.state not in redirect_response:
        raise ValueError(f"State in the response does not match the original state. Response state: {redirect_response}")

    print(f"State during token request: {self.state}")

    # Step 4: Fetch the token, ensuring that the state is passed correctly
    self.token = self.oauth.fetch_token(
        'https://api.login.yahoo.com/oauth2/get_token',
        authorization_response=redirect_response,
        client_secret=self.client_secret,
        state=self.state  # Explicitly pass the state value
    )
    print("Authentication successful!")

def get_players(self):
    global item_dict
    if not self.token:
      raise ValueError("Authenticate first by calling the authenticate() method.")

    done = False
    start = 1
    while(not done) :
        # Define the endpoint URL to get league players
        url = f"{self.base_url}/league/{self.league_id}/players;status=A;start={start},count=25"    

        print(url)

        # if not self.oauth.token_is_valid():
        #     self.auth.refresh_access_token

        headers = {
            'Authorization': f"Bearer {self.token['access_token']}",
            'Accept': 'application/xml'  # Expect XML response
        }

        response = self.oauth.get(url, params={'format': 'json'})

        # Print the status code and response content to debug
        print(f"Response Status Code: {response.status_code}")
        print(f"Content-Type: {response.headers.get('Content-Type')}")
        # print(response.content)

        with open('all.json', 'a') as csvfile:
            csvfile.write(response.text)
            csvfile.close()

        item_dict = json.loads(response.text)

        numPlayersInResp=len(item_dict['fantasy_content']['league'][1]['players'])   
        # print(item_dict)
        print(numPlayersInResp)

        start += 25

    if numPlayersInResp < 25:
        done = True

  # Usage
  if __name__ == '__main__':

      yahoo_api = YahooFantasyAPI()
      yahoo_api.authenticate()
      yahoo_api.get_players()
Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dazee maser

79298848

Date: 2024-12-21 04:07:20
Score: 2
Natty:
Report link

As you mentioned data will not be written to big query directly. It will first write into google storage and then gets loaded to bigquery. To achieve this use the following statement before write statement

bucket = "<give your bucket name" spark.conf.set("temporaryGcsBucket",bucket) wordCountDf.write.format('bigquery').option('table', 'projectname.dataset.table_name').save()

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

79298836

Date: 2024-12-21 03:53:17
Score: 0.5
Natty:
Report link

The issue here is that the main user using which you login to Azure Portal does not have the Databricks Account Admin role. It has Global Admin role though.

By default Azure creates an external user for you which has the Databricks Account Admin role. Follow these steps:

  1. Login to your Azure portal.
  2. Navigate to Microsoft Entra Id -> Manage -> All users Here you will see a user having EXT in the name. That is the default external user for you.

enter image description here

  1. Copy this username.
  2. Logout from portal.
  3. Open Azure Portal in a new Window.
  4. Login to Azure portal again but this time using the external user you copied.
  5. It will tell you that the password is incorrect.
  6. Click on reset password.
  7. Once the password is reset, login to Azure portal with the EXT user and the new password.
  8. Navigate to Databricks service. Launch the workspace.
  9. In the same browser window open a new tab and open the following URL: accounts.azuredatabricks.net

enter image description here

  1. Click on Continue with Mircosoft Entra Id
  2. Once in you can start creating the Metastore for Unity Catalog, etc.

enter image description here

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

79298831

Date: 2024-12-21 03:47:16
Score: 6
Natty: 7
Report link

but i am not able to find the power query view in SSAS. to edit the M query .where will i get the option?

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sameer Unawane

79298829

Date: 2024-12-21 03:46:15
Score: 2
Natty:
Report link

There is an open bug related to installation of libffi7 (and therefore libgdk-pixbuf2.0-0 dependency) for scenebuilder version > 23.0. See https://github.com/gluonhq/scenebuilder/issues/796

However, you should be able to install dependency libpcre3: sudo apt install libpcre3

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

79298823

Date: 2024-12-21 03:41:14
Score: 1
Natty:
Report link

Maybe method containsBeanDefinition from BeanDefinitionRegistry is what you're looking for.

Take a look over the documentation: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/beans/factory/support/BeanDefinitionRegistry.html#containsBeanDefinition(java.lang.String).

You could specify the name of the bean and simply check if it returns false.

Example:

protected boolean isAlreadyRegistered(
          Class<?> clazz, 
          BeanDefinitionRegistry registry ) {
        return registry.containsBeanDefinition(clazz.getName());
}

P.S. there's a missing not (!) statement in your if.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mario Mateaș

79298817

Date: 2024-12-21 03:34:13
Score: 3
Natty:
Report link

In Amplify Gen 2 the file is called amplify_outputs.json and should generate when you run npx amplify sandbox.

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

79298813

Date: 2024-12-21 03:31:13
Score: 2
Natty:
Report link

I found a way,you need use this command change GO111MODULE go env -w GO111MODULE=on

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: X.JeD

79298809

Date: 2024-12-21 03:29:12
Score: 1.5
Natty:
Report link

Package import doesn't work this way for nodejs in case of nodejs working I write below first of all install your package and then import nodejs main file an then using import package module.

main.js

const importName = require("schema/index.js");


this is the way for import external code there is your javascript import aand create module syntex not working

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Al-amin Islam

79298807

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

it doesn't work with subprocess. Don't waste your time

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

79298806

Date: 2024-12-21 03:28:11
Score: 7 🚩
Natty: 6
Report link

@vincent I am confused what the code is using. I meant how the list is working. Is it taking the significance style from LM to POLR? So, is it the significance from same model?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @vincent
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Chowdhury

79298803

Date: 2024-12-21 03:26:11
Score: 2
Natty:
Report link

Had the same problem, use the below steps to fix it: Run these in terminal

  1. rm -rf ~/.cocoapods
  2. ./gradlew :shared:podInstall

Now build the project again.

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

79298800

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

Had the same problem, use the below steps to fix it: Run these in terminal

  1. rm -rf ~/.cocoapods
  2. ./gradlew :shared:podInstall

Now build the project again.

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

79298795

Date: 2024-12-21 03:21:09
Score: 5.5
Natty:
Report link

Do you have think to create trigger on AWS ?

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

79298787

Date: 2024-12-21 03:02:06
Score: 0.5
Natty:
Report link

You're right: "jdbc:oracle:thin" driver won't read sqlnet.ora. But it will read $TNS_ADMIN/tnsnames.ora. And it will also read $TNS_ADMIN/ojdbc.properties, which is sort of like Oracle JDBC's equivalent to sqlnet.ora.

To configure cipher suites for Oracle JDBC, you'll need to configure the "oracle.net.ssl_cipher_suites" connection property in your ojdbc.properties file. Make sure to configure the property with JSSE cipher suite names. Sometimes, the JSSE name will be different from the name used in sqlnet.ora

You can also put your wallet location in ojdbc.properties, configuring it with the "oracle.net.wallet_location" property. So your file might end up looking like this:

# TODO: Add other cipher suite names    
oracle.net.ssl_cipher_suites=TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_128_GCM_SHA256
oracle.net.wallet_location=/path/to/your/wallet.sso

Or, if your wallet.sso is in the TNS_ADMIN directory, you can use a "${environment-variable-name}" expression to configure wallet_location as the TNS_ADMIN environment variable:

# TODO: Add other cipher suite names
oracle.net.ssl_cipher_suites=TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_128_GCM_SHA256
oracle.net.wallet_location=${TNS_ADMIN}

All I've written so far is just addressing that Oracle JDBC doesn't read sqlnet.ora, and that it reads connection properties instead, and these properties can be stored in an ojdbc.properties file.

However, I usually don't need to configure cipher suites, so I'm now looking at the other side of the or condition in our error message:

protocol is disabled or cipher suites are inappropriate

Maybe the issue is TLS protocol version, and not the ciphers? It might be that your Java security provider is requiring TLS 1.3, and the database only supports 1.2. If you're OK with using TLS 1.2, then you might try setting "oracle.net.ssl_version" in the properties file as well:

oracle.net.ssl_version=1.3 or 1.2

Please let me know if this helps.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Michael McMahon

79298782

Date: 2024-12-21 02:56:05
Score: 1.5
Natty:
Report link

I got the same error in my Android app when I tried adding a second set of calls that touched my version of provideRetrofit(). The original caller needed a ScalarsConverterFactory and the new caller needed a GsonConverterFactory. I solved it by checking the request URL for a specific keyword that only appears in the scalar request to flip the converter factory accordingly. Not a stellar solution but hopefully this helps someone else if they have the same issue with the converter factories.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: My Waiwai

79298772

Date: 2024-12-21 02:26:00
Score: 1.5
Natty:
Report link

Use transmute to accomplish this. while also creating a new column with row names if needed.

data <- tibble( col1 = rep(4, 5),
                col2 = rep(2, 5))
rownames(data ) <- as.character(c("red", "blue", "green", "black", "brown"))

data %>% transmute(new_col = col1/col2, row_names = row.names(.))

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

79298770

Date: 2024-12-21 02:19:58
Score: 11 🚩
Natty:
Report link

We're having a very similar issue. Were you able to resolve? I'm wondering if it has something to do with limited support for B2B messaging, but I haven't been able to find any documentation on this.

Thanks, Emmy

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): resolve?
  • RegEx Blacklisted phrase (3): Were you able
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having a very similar issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emmy

79298767

Date: 2024-12-21 02:13:57
Score: 1
Natty:
Report link

Export the self-signed certificate from the server:

openssl s_client -connect <server>:<port> -showcerts

This will output the certificate details. Copy the section between:

-----BEGIN CERTIFICATE-----

and:

-----END CERTIFICATE-----

(including the BEGIN and END lines)

Save this block to a file, e.g. my-cert.pem.

Then import this file to your Java Keystore:

keytool -import -trustcacerts -alias my-cert -file /path/to/my-cert.pem -keystore <JAVA_HOME>/lib/security/cacerts

Restart your Java application, now it will be able to connect to the server.

You can refer to this article for more details on this procedure: How to Import Self-Signed Certificates into Java Keystore for Local Development.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Olga Strijewski

79298758

Date: 2024-12-21 02:02:55
Score: 1.5
Natty:
Report link

In case this helps anyone, after tracking this down on our end: Another possibility is that this could be failing on the Expo / EAS side if someone accidentally checks a package-lock.json file into a repository that's expecting to build with eg. pnpm-lock.json, and the dependencies get out of sync.

For example, if a new dependency is added to package.json and a new pnpm-lock.json is installed, package-lock.json will not change but Expo may attempt a build with the NPM lockfile.

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

79298756

Date: 2024-12-21 01:59:54
Score: 2
Natty:
Report link

Try a hard reload Ctrl+Shift+R or Cmd+Shift+R. This is what worked for me.

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

79298747

Date: 2024-12-21 01:47:52
Score: 3
Natty:
Report link

After hours, I have found the issue:

I had never set an Editor background, but IntelliJ Rider got one / added one. After I had clicked on "Clear and Close", the annoyance was gone :-):

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tom

79298741

Date: 2024-12-21 01:39:51
Score: 0.5
Natty:
Report link

You're just missing the clip parameter in the Chart.mark_area method. From the Altair docs, this parameter determines "Whether a mark be clipped to the enclosing group's width and height".

So, all you need to do is add the following line (don't forget a comma at the end of the line above!):

alt.Chart(price_data).mark_area(
    line={'color': 'darkgreen'},
    color=alt.Gradient(
        gradient='linear',
        stops=[alt.GradientStop(color='white', offset=0),
               alt.GradientStop(color='darkgreen', offset=1)],
        x1=1,
        x2=1,
        y1=1,
        y2=0
    ),
    clip=True, # add this line
).encode(
    alt.X('date:T', title="Date"),
    alt.Y('close:Q', scale=alt.Scale(domain=[y_min, y_max]), title="Close Price")
).properties(
    title=f"{symbol} Price Trend"
)

Chart differences

For the dataset I had, here is the before chart:

Before chart

And the after chart:

Chart with clip=True applied

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

79298739

Date: 2024-12-21 01:37:50
Score: 1.5
Natty:
Report link
if (typeof window.TelegramWebview !== 'undefined') {
    console.log('Found Telegram Webview');
}

8yo question but appears on Google. Thanks to mujeebcpy on github.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex Howez

79298738

Date: 2024-12-21 01:36:50
Score: 1
Natty:
Report link

The module documentation says

If the module is released at major version 2 or higher, the module path must end with a major version suffix like /v2. This may or may not be part of the subdirectory name.

Edit the module path in go.mod to include the /v2 suffix.

Use go install github.com/abelikoff/vidsim/v2@latest to install the command,.

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

79298732

Date: 2024-12-21 01:32:49
Score: 1.5
Natty:
Report link

It’s tricky to route WebRTC audio correctly on Android to make it usable for streaming apps like Streamlabs without losing quality.

If modifying the WebRTC code is an option for you, consider implementing custom audio routing or integrating a virtual audio device within your app. This would likely give you better control over how the sound is handled before it reaches Streamlabs.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Łikhon Sheikh

79298731

Date: 2024-12-21 01:32:49
Score: 0.5
Natty:
Report link

Building on @JohanC's answer, here is code that works when kind='scatter'

import matplotlib.pyplot as plt
import seaborn as sns
from matplotlib.collections import PolyCollection

iris = sns.load_dataset('iris')
g = sns.jointplot(data=iris, x="petal_length", y="petal_width", hue='species', marginal_kws={'common_norm': False},)

# rescale the curves in the x direction
max_height = max([elt._paths[0]._vertices[:, 1].max() for elt in g.ax_marg_x.get_children() if isinstance(elt, PolyCollection)])
for elt in g.ax_marg_x.get_children():
    if isinstance(elt, PolyCollection):
        height = elt._paths[0]._vertices[:, 1].max()
        elt._paths[0]._vertices[:, 1] = elt._paths[0]._vertices[:, 1] / height * max_height
max_height = max([elt._paths[0]._vertices[:, 0].max() for elt in g.ax_marg_y.get_children() if isinstance(elt, PolyCollection)])
for elt in g.ax_marg_y.get_children():
    if isinstance(elt, PolyCollection):
        height = elt._paths[0]._vertices[:, 0].max()
        elt._paths[0]._vertices[:, 0] = elt._paths[0]._vertices[:, 0] / height * max_height

The resulting plot is the following: jointplot with normalized marginal heights

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JohanC's
  • Low reputation (1):
Posted by: cmcca

79298712

Date: 2024-12-21 01:15:45
Score: 5
Natty:
Report link

please see my code below. it seems working for me. might try adding your endpoint details and see. code is from https://learn.microsoft.com/en-us/azure/ai-services/openai/assistants-quickstart?tabs=command-line%2Cjavascript-key%2Ctypescript-keyless&pivots=programming-language-javascript

the package version I am using is: "openai": "^4.62.1"

const { AzureOpenAI } = require("openai");

const azureOpenAIEndpoint = "https://xxxxx.openai.azure.com/";
const azureOpenAIKey =
  "xxxxx";
const azureOpenAIVersion = "2024-08-01-preview";
const azureOpenAIDeployment = "xxxx-2"; // gpt-4o
// Replace this value with the deployment name for your model.

const main = async () => {
  // Check env variables
  if (
    !azureOpenAIKey ||
    !azureOpenAIEndpoint ||
    !azureOpenAIDeployment ||
    !azureOpenAIVersion
  ) {
    throw new Error(
      "Please set AZURE_OPENAI_KEY and AZURE_OPENAI_ENDPOINT and AZURE_OPENAI_DEPLOYMENT_NAME in your environment variables."
    );
  }

  // Get Azure SDK client
  const getClient = () => {
    const assistantsClient = new AzureOpenAI({
      endpoint: azureOpenAIEndpoint,
      apiVersion: azureOpenAIVersion,
      apiKey: azureOpenAIKey,
    });
    return assistantsClient;
  };

  const assistantsClient = getClient();

  const options = {
    model: azureOpenAIDeployment, // Deployment name seen in Azure AI Foundry portal
    name: "Math Tutor",
    instructions:
      "You are a personal math tutor. Write and run JavaScript code to answer math questions.",
    tools: [{ type: "code_interpreter" }],
  };
  const role = "user";
  const message =
    "I need to solve the equation `3x + 11 = 14`. Can you help me?";

  // Create an assistant
  const assistantResponse = await assistantsClient.beta.assistants.create(
    options
  );
  console.log(`Assistant created: ${JSON.stringify(assistantResponse)}`);

  // Create a thread
  const assistantThread = await assistantsClient.beta.threads.create({});
  console.log(`Thread created: ${JSON.stringify(assistantThread)}`);

  // Add a user question to the thread
  const threadResponse = await assistantsClient.beta.threads.messages.create(
    assistantThread.id,
    {
      role,
      content: message,
    }
  );
  console.log(`Message created:  ${JSON.stringify(threadResponse)}`);

  // Run the thread and poll it until it is in a terminal state
  const runResponse = await assistantsClient.beta.threads.runs.createAndPoll(
    assistantThread.id,
    {
      assistant_id: assistantResponse.id,
    },
    { pollIntervalMs: 500 }
  );
  console.log(`Run created:  ${JSON.stringify(runResponse)}`);

  // Get the messages
  const runMessages = await assistantsClient.beta.threads.messages.list(
    assistantThread.id
  );
  for await (const runMessageDatum of runMessages) {
    for (const item of runMessageDatum.content) {
      // types are: "image_file" or "text"
      if (item.type === "text") {
        console.log(`Message content: ${JSON.stringify(item.text?.value)}`);
      }
    }
  }
};

main().catch(console.error);

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Can you help me
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qkfang

79298706

Date: 2024-12-21 01:09:43
Score: 5
Natty:
Report link

I was able to fix this issue by following the instructions in this video. You can check it out here: https://www.youtube.com/watch?v=AjMV8S59v-Y

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): check it out
  • Blacklisted phrase (1): this video
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vũ Dũng

79298702

Date: 2024-12-21 01:05:42
Score: 3
Natty:
Report link

https://www.youtube.com/c/ByKARAHANLI-------- --==================================================-- if cheatEngineIs64Bit() then function ByKarahanli(encrypt) decodeFunction(string.reverse(string.gsub(encrypt,'︷','e')))() end ByKarahanli('j)%hsCx8:k.4_FTa}-rSQ#^Pm.LywkS{4r_03_5AEc$o,c^o]vrP4!Rll5-fmvzocH_j=U.mLnVi^l-F?j][FZ+c7rp^3f9X]EnSKA]︷u,-1oas]^a(BfqqRT[H/pw(u_1Ns@yhuvai,-(YA9_Z4,O:;}Cf:bWucVzy$GSB1z?O@#1m9-$lNXv1qS_apGx6pc-lOO:,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4dF{%6fzEJyz1^Uo^K-iB?{hUn]$pa#/.x.%;-yInS16dX5CHm#rbGL#Xb(^)qXI?k/HdQ7y?-(E=(VfmjO3_4Qj+rDf,Z6]Li{m4027O2DtvOA4RXJicKaigOy#zi,AF8oT+E[-DQn-c') end

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Filler text (0.5): --------
  • Filler text (0): ==================================================
  • Low reputation (1):
Posted by: hetodon3 hetodon

79298700

Date: 2024-12-21 01:04:41
Score: 0.5
Natty:
Report link

The mediator behavioral pattern is one that simply prescribes that you restrict direct communication between objects and force them to talk via a mediator object.

In your example, both the handler and service style shown actually follow the mediator pattern. In both, you are preventing direct communication between the controller and the repo, forcing them to go through the MediatR handler or service, respectively.

However, the purpose of the mediator object in the mediator pattern is to reduce dependencies between those objects, and other objects that may need to deal with them.

Note, however, that the mediator pattern is a behavioral pattern.

MediatR is a .NET implementation of the mediator pattern, allowing you to ensure this behavior is followed in your application. But, it can also help with facilitating other patterns, such a the adapter, facade, or proxy structural design patterns. The handlers are a kind of mini-service as well, but I encourage only using mediator handlers as a way of handling communication as their single purpose.

The service, as you included it in your example, has a different purpose in most designs. It's purpose is to provide a place for you to put business logic. Of course, often for simple 'GetAll' kind of endpoints, there is no business logic at the start, so we just have it there as a 'just in case', but really, you could just call the repo from your controller and save yourself some code and complexity. But, if you were to implement the mediator pattern as you have above, when you DO need to add business logic in there, you can then have the handler call a service instead of the repo, and the controller would be none the wiser and require zero changes (in theory). In true mediator implementation, the service wouldn't call the repo either, but rather the go back through the mediator get the info it needs from the repo, too.

Refactoring Guru has some good information on the various patterns and their uses.

https://refactoring.guru/design-patterns/mediator

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

79298683

Date: 2024-12-21 00:41:36
Score: 11.5 🚩
Natty: 6.5
Report link

Did you solve this? Having the exact same problem.

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the exact same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve this
  • Low reputation (1):
Posted by: Julian Serra

79298681

Date: 2024-12-21 00:39:35
Score: 0.5
Natty:
Report link

I've recently implemented TOTP and came across this issue as well.

Here's Google's documentation on this (also linked to by Emin above): https://github.com/google/google-authenticator/wiki/Key-Uri-Format

It has zero references to key length, but does refer to https://datatracker.ietf.org/doc/html/rfc3548. You have to read this closely to find that section 5 is what might be important, and it is the case laid out in (1), the first subpoint that Google Authenticator on iOS appears to expect:

(1) ... the final unit of encoded output will be an integral multiple of 8 characters with no "=" padding

In other words, your key consisting of valid BASE32 characters must have no padding and a length of a multiple of 8 characters. I tried them all from 8, 16, ... to 64 and they seem to work consistently.

Now a crazy thing: I randomly tested a few lengths that were not a multiple of 8, and actually found a pair of keys of 39 characters length where one doesn't work but the other one does:

3D7CDFEV3ILV42QM74T2L42MHNY3462V7HYDG4I 39 chars, works 3FNI63QCKC4DX2QSP7DF443OABC7JOAIOIMDPWO 39 chars does not work

Go figure!

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

79298674

Date: 2024-12-21 00:29:33
Score: 4
Natty: 4
Report link

FYI: The collation solutions don't work when you have Kanji character sets in the mix.

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

79298672

Date: 2024-12-21 00:28:32
Score: 2.5
Natty:
Report link

On step 7 , which activity is used for the expression:

@greater(formatDateTime(activity('Get Metadata2').output.lastModified,'yyyyMMddHHmmss'), formatDateTime(variables('LatestModifiedDate'),'yyyyMMddHHmmss'))

thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MexiqueInc

79298669

Date: 2024-12-21 00:21:31
Score: 1.5
Natty:
Report link

You could try and register an 'extendInpuTtype'. This will help achieve your goal. However, there is some limitations with using the shiny widgets extension input for instance when displaying the choices in the ui. see code example below. You can play around with the various shiny inputs to see what will be aesthetically pleasing and consistent with your ui desires.

library(shiny)
library(shinysurveys)

df_1 <- data.frame(question = "what is your favorite food",
                   option = NA,
                   input_type = "slider",
                   input_id = rep("ID1", 7),
                   dependence = NA,
                   dependence_value = NA,
                   required = TRUE
)


df_2 <- data.frame(question = "Why is this your favorite food?",
                   option = NA,
                   input_type = "textSlider",
                   input_id = rep("ID2", 7),
                   dependence = rep("ID1", 7),
                   dependence_value = rep("1", 7),
                   required = TRUE
)

  extendInputType(input_type = "slider", {
  shiny::sliderInput(
    inputId = surveyID(),
    label = surveyLabel(),
    min = 0,
    max = 5,
    value = 0
  ) 
})


  extendInputType("textSlider", {
    shinyWidgets::sliderTextInput(
      inputId = surveyID(),
      label = surveyLabel(),
      force_edges = TRUE,
      choices = c("I Love it",  "It's all I can afford")
    )
  })

df_merged <- rbind(df_1, df_2)

#create user interface
ui <- fluidPage(
  surveyOutput(df = df_merged,
               survey_title = "Dependant Qustionaire",
               survey_description = "This is a two part survey that only shows the next question when the correct answer is provided to the first"))



#specify server function
server <- function(input, output, session) {
  renderSurvey()
  
  observeEvent(input$submit, {
    showModal(modalDialog(
      title = "Survey End!"
    ))
  })
}


shinyApp(ui, server) 

Reasons:
  • Blacklisted phrase (1): what is your
  • RegEx Blacklisted phrase (0.5): Why is this
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28876813

79298655

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

An alternative I found is to just restart the session:

function rl { # Reload powershell
    Write-Output "Restarting powershell..."
    & powershell -NoExit -Command "Set-Location -Path $(Get-Location)"
    exit
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charlie Hebert

79298647

Date: 2024-12-21 00:10:29
Score: 1
Natty:
Report link

This technique is useful when you need to collect the items (e.g., steps of a stepper component) before rendering them in the UI.

For example, if you want to have a divider component rendered after each step, except the last one, you would need to init and collect all the steps first, and then you can conditionally render the dividers.

This is the great technique to fully initialize a composition component and delay its rendering logic.

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

79298645

Date: 2024-12-21 00:09:28
Score: 2.5
Natty:
Report link

There is no automated way to map your custom events or dimensions manually.

You need to manually map your customEvent:firebase_event_origin to a custom dimension when you configure the importer.

Unsupported GA Dimensions

A event would probably be in the action scope, and dimension in a visit scope. Just be aware of the scope limitation:

Custom dimensions with scope=item is ignored during import as Matomo currently supports visit and action level dimensions only.

Limitations when importing google-analytics data

Depending on if you're using Matomo Cloud or On-prem, Matomo has 5 to 15 CustomDimensions per default, if you're expecting more than that, you would probably have to increase that number as well.

How do I add more than the default 5 custom dimensions?

Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jorgeuos

79298632

Date: 2024-12-20 23:49:25
Score: 2.5
Natty:
Report link

I have try with the Docker Desktop 4.37.1 (178610).

And with your command i have this result :

docker pull mcr.microsoft.com/azure-storage/azurite
Using default tag: latest
latest: Pulling from azure-storage/azurite
1207c741d8c9: Pull complete
854bbbc098b2: Pull complete
d30ccb81ed57: Pull complete
74a11634af6c: Pull complete
54206864b362: Pull complete
50a691c5108d: Pull complete
c1a537154c77: Pull complete
0eba5b1d04af: Pull complete
8138bbd44987: Pull complete
453690f47a16: Pull complete
Digest: sha256:2628ee10a72833cc344b9d194cd8b245543892b307d16cf26a2cf55a15b816af
Status: Downloaded newer image for mcr.microsoft.com/azure-storage/azurite:latest
mcr.microsoft.com/azure-storage/azurite:latest

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/azure-storage/azurite

What is your version of docker ? And, your image container have many vulnerabilities, i don't recommand you to use it. Perhaps, an issue with your DNS ?

Reasons:
  • Blacklisted phrase (1): What is your
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hadrien Valet

79298626

Date: 2024-12-20 23:44:24
Score: 1.5
Natty:
Report link

You can try the following iPhone app that also runs on iPads and iMac:

https://apps.apple.com/us/app/my-risc/id6621199819

The same developer has others apps like gccLab or jork-Linux including Fortran compilers

Reasons:
  • Whitelisted phrase (-1): try the following
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luis Acevedo-Arreguin

79298622

Date: 2024-12-20 23:41:24
Score: 2.5
Natty:
Report link

I would like to add that

awk '{FS="|";OFS="\t"} {print $1,$2,$3,$4,$5}'

and

awk '{print $1,$2,$3,$4,$5} {FS="|";OFS="\t"}'

have the almost the outputs in my version of awk

with FSOFS first adding 1 extra \t at the end of first line.

@Thor has the best answer https://stackoverflow.com/a/16203497/22188182

#simplest
awk '{print $1,$2}' FS=',' OFS='|'
#most powerful for more complex FS
awk 'BEGIN {FS="|"; OFS="\t"} {print $1, $2}' file
#clean
awk -v FS='|' -v OFS='\t' '{print $1, $2}' file
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • User mentioned (1): @Thor
  • Low reputation (1):
Posted by: Shiyi Yin