79253095

Date: 2024-12-05 00:43:08
Score: 1
Natty:
Report link

This is because you're creating a consumer with same name and different policy. Just change the consumer name.

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

79253087

Date: 2024-12-05 00:39:07
Score: 2.5
Natty:
Report link

Could you paste the listener parameters:

sqlplus / as sysdba <<EOF show parameter listener exit; EOF

And lsnrctl status

On both environments please, source and target.

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

79253083

Date: 2024-12-05 00:37:07
Score: 0.5
Natty:
Report link

Integrated Security=True and TrustServerCertificate=True must be set in the connection string i.e

Server=localhost;Initial Catalog=master;Integrated Security=True;TrustServerCertificate=True;

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: William Ji Carpenter

79253081

Date: 2024-12-05 00:36:07
Score: 0.5
Natty:
Report link

When you create a hosted zone in Route 53, AWS automatically assigns it a set of name servers. These are not customizable at creation time, this is an AWS issue regardless of terraform. The mismatch occurs because AWS generates new name servers for each hosted zone. There’s no Terraform or AWS feature to predefine or match these name servers at creation time.

so it's better to create the hosted zone in Terraform. AWS assigns new name servers, then you manually update the name. That will not cause any issue as changing the name servers at your domain registrar after creating the Route 53 Hosted Zone in Terraform does not cause Terraform’s state to drift.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
Posted by: Fedi Bounouh

79253063

Date: 2024-12-05 00:17:03
Score: 2
Natty:
Report link

The solution is to extract configuration files dependant code out of the init function and to initialize the fields member as depicted in the question below. How to add an array of fields as a ProtoField in Lua Dissector

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Arnault Bonafos

79253050

Date: 2024-12-05 00:08:02
Score: 0.5
Natty:
Report link

If you are using the Compose Material3 version of ModalBottomSheet(), try passing false for the sheetGesturesEnabled parameter.

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

79253049

Date: 2024-12-05 00:07:01
Score: 2
Natty:
Report link

Maybe some day I'll help someone) So in my case problem was in VS 2022 new update that I installed. I had build error exactly in terminal, not in VS. I've tried to roll back an VS update and its helped.

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

79253048

Date: 2024-12-05 00:05:01
Score: 1.5
Natty:
Report link

Welp was searching for an hour but as usual, found the answer right after posting. I need to say .Cast() in the types line,

var types = Enum.GetValues(typeof(MyEnum)).Cast<MyEnum>();
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sinnombre

79253047

Date: 2024-12-05 00:04:01
Score: 2
Natty:
Report link
inotifywait -m some_dir |
  while read -r dir action file ; do
    echo "Inotify returned: dir=$dir action=$action file=$file"
  done
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bobster

79253042

Date: 2024-12-04 23:58:59
Score: 2.5
Natty:
Report link

Go to menu Plugins -> Manage plugins... and then select the “Code completion” plugin and disable it enter image description here

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

79253039

Date: 2024-12-04 23:57:59
Score: 2
Natty:
Report link

While searching for a solution, I found a simple and effective method to recover the lost CSS, and I wanted to share the step-by-step guide with you:

  1. Log in to your Hostinger account.

  2. Navigate to your desired website.

  3. Access the Databases section and open phpMyAdmin.

  4. Once inside phpMyAdmin, select your website's database.

  5. Go to the Query tab and run the following SQL query:

    SELECT * FROM wp_posts WHERE post_type = 'custom_css'

  6. Click Submit Query, and you’ll see a row (or more) containing the custom CSS data you had before.

  7. Click the Edit button, copy the CSS code, and paste it back into the Additional CSS section of your WordPress site.

This approach worked seamlessly for me, and I hope it helps anyone facing the same issue.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ard Braha

79253037

Date: 2024-12-04 23:55:59
Score: 3
Natty:
Report link

In eclipse, ensure you've checked the 'Order and Export' tab in Java Build Path, sometimes the jre or jdk isnt checked and selected to be included in the build path.

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

79253030

Date: 2024-12-04 23:51:58
Score: 1
Natty:
Report link

There are multiple issues in your query, like:

Proper syntax should be more like:

{
  "query": {
    "bool": {
      "should": [
         {"edismax": {"qf": "phones" , "query": "111 222 333"}},
         {"edismax": {"qf": "phones2", "query": "111 222 333"}}
       ],
       "minimal_should_match": 2
      }
    } 
}

Also please report the exact errors from the parser, because "It does not work" does not help us helping you ;-)

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Steve

79253026

Date: 2024-12-04 23:49:58
Score: 0.5
Natty:
Report link

I did this ages ago and around 2009 hit it very well. What bugged me with existing code was:

The following program does both: WinAPI approach and listing all translations (not only one), and later parses the whole resource itself.

program FileVersionRes;

{$APPTYPE CONSOLE}

uses
  SysUtils, Math, Windows;

// A whole 32-bit/Unicode VERSIONINFO block of memory that was returned
// by GetFileVersionInfoW().
// https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
function Parse
( pVerInfo: PByte
; iSizeVer: Cardinal
): Boolean;
var
  bOld: Boolean;  // 16-bit resource?
  iRead: Cardinal;  // How many bytes of pVerInfo have been read so far.

  // Advance memory pointer and count "iRead" accordingly.
  function ReadBytes( iAmount: Word ): Pointer;
  begin
    result:= pVerInfo;
    Inc( pVerInfo, iAmount );
    Inc( iRead, iAmount );
  end;

  // The docs were talking of padding because of 16-bit alignment. But they
  // never meant the VERSION block - they meant the position of bytes in
  // the WHOLE file! So we have to check our position instead of the size
  // we already read.
  function ReadPadding(): Boolean;
  begin
    result:= FALSE;

    // Unicode also only pads 1 byte, so we don't have to distinguish between old and new struct.
    while iRead mod 4> 0 do begin
      if iRead>= iSizeVer then exit;
      ReadBytes( 1 );
    end;

    result:= TRUE;
  end;

  // Read either ASCII (old 16-bit resource) or UNICODE (32-bit) text,
  // which is always ended by a NUL byte/word. Keys of "String"s don't
  // have any length indicator, only the values have (since they don't
  // need to be text always).
  function ReadText
  ( var sText: Widestring  // Characters to be read and returned.
  ; iMinLength: Cardinal= 0  // In characters, not bytes.
  ; iMaxLength: Cardinal= MAXDWORD
  ): Boolean;
  var
    c: WideChar;  // Read letter.
    iPlus: Cardinal;  // Either 0 (ASCII) or 1 (UCS-2).
  begin
    result:= FALSE;
    sText:= '';
    if bOld then iPlus:= 0 else iPlus:= 1;  // 16-bit: octets. 32-bit: words.

    while iMaxLength> 0 do begin
      // Is it even possible to read (anymore)?
      if iRead+ iPlus>= iSizeVer then exit;
      if bOld then c:= WideChar(PChar(ReadBytes( 1 ))^) else c:= PWidechar(ReadBytes( 2 ))^;
      Dec( iMaxLength );

      if iMinLength> 0 then Dec( iMinLength );
      if c= WideChar(#0) then break;  // End of text.
      sText:= sText+ c;
    end;
    while (iMinLength> 0) and (iMaxLength> 0) do begin
      // Is it even possible to read (anymore)?
      if iRead+ iPlus>= iSizeVer then exit;
      ReadBytes( 1+ iPlus );

      Dec( iMinLength );
      Dec( iMaxLength );
    end;

    if not ReadPadding() then exit;

    result:= TRUE;
  end;

  // One "String", consisting of length, value length, type, key and padding.
  // https://learn.microsoft.com/en-us/windows/win32/menurc/string-str
  function ReadEntry
  ( var iLenEntry, iLenValue, iType: Word  // Returned.
  ; var sKey: Widestring  // Returned.
  ; bDetectOld: Boolean= FALSE  // We only need/can detect this once at the start of the whole resource.
  ; iLoopMax: Integer= 1  // In "\StringFileInfo\*\*" things can become odd (maybe bad padding of previous entries).
  ): Boolean;
  var
    iHeader: Word;  // How much was read before parsing the key's text.
  begin
    result:= FALSE;

    // How big the whole entry is (bytes).
    repeat
      if iRead+ 2> iSizeVer then exit;
      iLenEntry:= PWord(ReadBytes( 2 ))^;
      Dec( iLoopMax );
    until (iLenEntry> 0) or (iLoopMax<= 0);  // Normally only one iteration.
    if iLenEntry> iSizeVer- iRead then exit;  // Impossible value: outside of memory.

    // How long the value is (in "words", but actually characters).
    if iRead+ 2> iSizeVer then exit;
    iLenValue:= PWord(ReadBytes( 2 ))^;
    if iLenValue div 2> iSizeVer - iRead then exit;  // Impossible value: outside of memory.

    // Only 32-bit resource knows "type".
    if not bOld then begin
      if iRead+ 2> iSizeVer then exit;
      iType:= PWord(ReadBytes( 2 ))^;
      iHeader:= 6;

      if bDetectOld then begin
        if iType= $5356 then begin  // Already read "VS" (of "VS_VERSION_INFO")?
          Writeln( '  (Old 16-bit struct detected: no types.)' );
          bOld:= TRUE;
          iType:= 0;

          // Unread type.
          Dec( pVerInfo, 2 );
          Dec( iRead, 2 );
          iHeader:= 4;
        end;
      end;
    end else begin
      iType:= 0;
      iHeader:= 4;
    end;

    // Keys don't have any length indication, but we always have a maximum.
    if not ReadText( sKey, 0, (iLenEntry- iHeader) div 2 ) then exit;

    result:= TRUE;
  end;

  // Handles both "\VarFileInfo\" and "\StringFileInfo\", which can come in any
  // order.
  function Read_X_FileInfo(): Boolean;

    // Reading "\VarFileInfo\", should only occur once.
    function ReadVar(): Boolean;
    var
      iLenEntry, iLenValue, iType: Word;
      sKey: Widestring;
      iValue, iReadLocal: Cardinal;
    begin
      result:= FALSE;
      iReadLocal:= iRead;
      Writeln( '  \VarFileInfo\:' );

      // The key should be "Translation".
      if not ReadEntry( iLenEntry, iLenValue, iType, sKey ) then exit;

      // There can be more than one localization.
      while iRead- iReadLocal< Cardinal(iLenEntry- 3) do begin
        iValue:= PDWord(ReadBytes( 4 ))^;
        iValue:= (iValue shr 16)  // Language.
              or ((iValue and $FFFF) shl 16);  // Charset/Codepage.

        Writeln( '  - ', sKey, ': ', IntToHex( iValue, 8 ) );
      end;

      result:= TRUE;
    end;

    // Reading "\StringFileInfo\", can occur multiple times.
    function ReadStringTable(): Boolean;

      // One of the many version key=value pairs like "ProductName" or "FileDescription".
      // Keys can be freely chosen, although nowadays nobody expects those anymore.
      function ReadString(): Boolean;
      var
        iLenEntry, iLenValue, iType: Word;
        sKey, sValue: Widestring;
        iReadLocal: Cardinal;
      begin
        result:= FALSE;
        iReadLocal:= iRead;

        // THESE are the "might have"-paddings. We can simply recognize them here since
        // lengths of 0 are not allowed/expected. However, to avoid deadlocks we let
        // this loop only iterate 10 times.
        if not ReadEntry( iLenEntry, iLenValue, iType, sKey, FALSE, 10 ) then exit;

        // Zero length values must be detected (although not allowed from specs)!
        if iLenValue> 0 then begin
          if not ReadText( sValue, iLenValue, (iLenEntry- (iRead- iReadLocal)) div 2 ) then exit;
        end else sValue:= '';
        Writeln( '    - (String) ', sKey, ' = ', sValue );

        result:= TRUE;
      end;

    var
      iLenEntry, iLenValue, iType: Word;
      sKey: Widestring;
      iReadLocal: Cardinal;
    begin
      result:= FALSE;
      iReadLocal:= iRead;
      Writeln( '  \StringFileInfo\:' );

      if not ReadEntry( iLenEntry, iLenValue, iType, sKey ) then exit;
      Writeln( '  + Language=', sKey );  // This lang+charset is really a text, like "080904E4".

      // There's no indicator how many pairs come...
      while iRead- iReadLocal< iLenEntry do begin
        if not ReadString() then exit;

        // Undocumented: "String" values might also have padding trails!
        // We skip 0-length descriptors when reading those.
      end;

      result:= TRUE;
    end;

  var
    iLenEntry, iLenValue, iType: Word;
    sKey: Widestring;
  begin
    result:= FALSE;

    if not ReadEntry( iLenEntry, iLenValue, iType, sKey ) then exit;

    // The only 2 known block types.
    if sKey= 'VarFileInfo' then begin
      if not ReadVar() then exit;
    end else
    if sKey= 'StringFileInfo' then begin
      if not ReadStringTable() then exit;
    end else begin
      Writeln( '+ Unexpected FileInfo block: ', sKey );
      exit;
    end;

    result:= TRUE;
  end;

var
  iLenEntry, iLenValue, iType: Word;
  sKey: Widestring;
begin
  result:= FALSE;
  bOld:= FALSE;  // No 16-bit resource recognized yet.
  iRead:= 0;  // Nothing read so far.

  if not ReadEntry( iLenEntry, iLenValue, iType, sKey, TRUE ) then exit;

  Writeln( '+ ', sKey );  // Should be "VS_VERSION_INFO".

  if iLenValue> 0 then begin
    Writeln( '  (Skipping ', iLenValue, ' bytes of "TVSFixedFileInfo".) ');
    if iRead+ iLenValue> iSizeVer then exit;
    ReadBytes( iLenValue );
  end;

  if not ReadPadding() then exit;

  while iRead< Min( iSizeVer, iLenEntry ) do begin
    if not Read_X_FileInfo() then exit;
  end;

  result:= TRUE;
end;

procedure One( sModule: Widestring );
var
  iSizeVer, iVoid, iSizeVal, iSizeTrans: Cardinal;
  pVerInfo: Pointer;
  pLangCp: PDWord;
  sSubBlock, sSubVer, sName, sValue: Widestring;
  pText: PWideChar;
begin
  // Size needed.
  iSizeVer:= GetFileVersionInfoSizeW( PWideChar(sModule), iVoid );
  if iSizeVer> 0 then begin
    GetMem( pVerInfo, iSizeVer );
    try
      // Got version resource?
      if GetFileVersionInfoW( PWideChar(sModule), 0, iSizeVer, pVerInfo ) then try
        // Get all translations.
        sSubBlock:= '\VarFileInfo\Translation';
        if VerQueryValueW( pVerInfo, PWideChar(sSubBlock), Pointer(pLangCp), iSizeTrans ) then begin
          while iSizeTrans>= 4 do begin
            sSubVer:= '\StringFileInfo\'
                    + SysUtils.IntToHex( LoWord(pLangCp^), 4 )
                    + SysUtils.IntToHex( HiWord(pLangCp^), 4 )
                    + '\';
            Writeln( '* Language ', sSubVer, ':' );

            // Query one key in that translation which hopefully exists. But this approach is
            // flawed - the WinAPI provides no function that lists all keys that actually
            // exist in this block. And there may be others than only the predefined ones.
            sName:= sSubVer+ 'FileDescription';
            if VerQueryValueW( pVerInfo, PWideChar(sName), Pointer(pText), iSizeVal ) then try
              SetString( sValue, pText, iSizeVal );
              Writeln( '  - value = ', sValue );
            except
            end;

            // Advance to next translation.
            Inc( pLangCp );
            Dec( iSizeTrans, SizeOf( DWord ) );
          end;
        end;


        // Now let's parse everything on our own.
        Writeln;
        case Parse( pVerInfo, iSizeVer ) of
          TRUE: Writeln( 'Parsing successfully ended.' );
          FALSE: Writeln( 'Unexpected end of VERSION resource!' );
        end;
      except
      end;
    finally
      FreeMem( pVerInfo, iSizeVer );
    end;
  end;
end;

begin
  One( 'C:\Windows\System32\Explorer.exe' );  // Well-known executable.
end.

As sample resource you can compile this one, which has the most important features: multiple translations and custom VALUEs:

1 VERSIONINFO
FILEVERSION     4, 55, 0, 0x0000
PRODUCTVERSION  0, 0, 0, 0
FILEOS 0x4
FILETYPE 0x1 {
  BLOCK "StringFileInfo" {
    BLOCK "00000000" {
      VALUE "FileDescription", "Program\000" 
      VALUE "FileVersion", "4.55\000" 
      VALUE "Date", "2024-12-05\000" 
      VALUE "LegalCopyright", "AmigoJack\000" 
      VALUE "Stack Overflow", "https://stackoverflow.com/q/79251337/4299358\000" 
    }
  }
  BLOCK "StringFileInfo" {
    BLOCK "080904E4" {
      VALUE "FileDescription", "other description\000" 
      VALUE "Compiler", "Delphi 7.0\000" 
      VALUE "Come find me", "Which program displays this metadata?\000" 
    }
  }
  BLOCK "VarFileInfo" {
    VALUE "Translation", 0x0000, 0x0000, 0x0809, 0x04E4
  }
}

The layout of such a resource is explained in VERSIONINFO, which then refers to StringFileInfo and VarFileInfo blocks.

Reasons:
  • Blacklisted phrase (1.5): I cannot find
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: AmigoJack

79253022

Date: 2024-12-04 23:46:57
Score: 0.5
Natty:
Report link

I haven't tested this extensively, but setting the CSS property user-select to "none" on the to-be-clicked-on element prevents the removal of a selection in a different element for me in (Windows) Firefox, Chrome and Edge. No javascript messing with the event is required.

The reason the existing selection is being removed is because the click is initiating a new selection in the clicked-on element, and I figured that setting the property which prevents users from selecting the content of the target element means that the existing selection does not need to be changed.

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

79253013

Date: 2024-12-04 23:41:56
Score: 3
Natty:
Report link

Had same problem, but after running some tests i saw online like (problem in path because its react) turns out its just case-sensitive in deployment and not in developement.

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

79253012

Date: 2024-12-04 23:40:55
Score: 0.5
Natty:
Report link

Try like that:

        <form action="/delete" method="POST">
            <input type="hidden" name="index" value="<%= index %>" />
            <input type="submit" value="POST IS DONE" class="donebtn" />
        </form>

Then you should a POST request to /delete with index value in the payload

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

79253003

Date: 2024-12-04 23:34:54
Score: 2
Natty:
Report link

This is GCC's bug.
Several tickets describe this behavior as undesired:

-Wsystem-headers should not be required in this case, as diagnosed construct occurs inside of user's code, not in system header. The macro itself comes from system header, but it is not expanded there.

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

79252999

Date: 2024-12-04 23:29:53
Score: 1
Natty:
Report link

Another way using SELF JOIN

Fiddle

SELECT DISTINCT v1.viewer_id
FROM views v1
JOIN views v2
    ON v1.viewer_id = v2.viewer_id
    AND v1.view_date = v2.view_date
    AND v1.article_id <> v2.article_id
ORDER BY v1.viewer_id;

Output

enter image description here

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

79252984

Date: 2024-12-04 23:19:51
Score: 1.5
Natty:
Report link

You need to use DISTINCT within LISTAGG

Fiddle

SELECT col0,
       LISTAGG(DISTINCT col1, ',') WITHIN GROUP (ORDER BY col1) AS col1
FROM test
GROUP BY col0;

Output

enter image description here

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

79252974

Date: 2024-12-04 23:12:50
Score: 0.5
Natty:
Report link

Not Sure this one can help you. Please take a look. IntrinsicSize.Max can cause unintended behavior in layout calculation, especially with the combination of fillMaxHeight().

@Composable
fun WeatherCardWithTopBar(title: String, text: String, icon: ImageVector) {
    Card(
        modifier = Modifier.padding(8.dp) // External padding to adjust card spacing
    ) {
        Row(
            modifier = Modifier
                .fillMaxWidth()
                .padding(8.dp), // Internal padding for Row
        ) {
            // Left side column with background and centered content
            Column(
                modifier = Modifier
                    .fillMaxWidth(0.20f)
                    .background(MaterialTheme.colorScheme.secondary)
                    .padding(8.dp),
                horizontalAlignment = Alignment.CenterHorizontally,
                verticalArrangement = Arrangement.Center, // Center content vertically
            ) {
                Icon(
                    imageVector = icon,
                    modifier = Modifier.size(48.dp),
                    contentDescription = "Weather",
                    tint = MaterialTheme.colorScheme.onSecondary,
                )
                Text(
                    text = title,
                    modifier = Modifier.padding(top = 8.dp), // Adjusted padding for text
                    style = MaterialTheme.typography.titleLarge,
                    color = MaterialTheme.colorScheme.onSecondary,
                )
            }
            // Right side column for additional text
            Column(
                modifier = Modifier
                    .weight(1f) // Fills the remaining width of the Row
                    .padding(start = 16.dp) // Padding between columns
            ) {
                Text(
                    text = text,
                    style = MaterialTheme.typography.bodyMedium,
                )
            }
        }
    }
}

Result: enter image description here

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

79252968

Date: 2024-12-04 23:07:48
Score: 5
Natty:
Report link

I have found a solution for my problem in this video

Reasons:
  • Blacklisted phrase (1): this video
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hossam Hassan

79252955

Date: 2024-12-04 23:03:47
Score: 1
Natty:
Report link

The current recommended way to authenticate your applications hosted in prod environments is Workload Identity Pools

Also, you can deploy your app to App Engine, which has it's own service account whose permissions can be tailored. These credentials are automatically injected as application-default credentials.

Another way (not recommended) is to host a SA key in your deployment environment, which would likely point to a similar credentials file.

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

79252949

Date: 2024-12-04 23:00:46
Score: 0.5
Natty:
Report link

In order for Altair to know that you want to highlight all items with the same symbol as the selection, you need to provide a fields argument to the selection.

enter image description here

import altair as alt
from vega_datasets import data
import pandas as pd

stocks = data.stocks()
source = (
    stocks.groupby([pd.Grouper(key="date", freq="6MS"), "symbol"])
    .mean()
    .reset_index()
)

hover_select = alt.selection_point(
    name="hover_select", on="pointerover", empty=False, fields=["symbol"]
)
conditional_color = (
    alt.when(hover_select)
    .then(alt.Color("symbol:N"))
    .otherwise(alt.value("lightgray"))
)

alt.Chart(source).mark_line(point=True).encode(
    x=alt.X("date:O").timeUnit("yearmonth").title("date"),
    y="rank:O",
    color=conditional_color,
).add_params(hover_select).transform_window(
    rank="rank()",
    sort=[alt.SortField("price", order="descending")],
    groupby=["date"],
).properties(
    title="Bump Chart for Stock Prices",
    width=600,
    height=150,
)
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kgoodrick

79252935

Date: 2024-12-04 22:55:45
Score: 1.5
Natty:
Report link

Try use SQLPlus, which can be used to extract data from Oracle7 directly. You could write scripts in SQLPlus to extract data, then use Python to process the exported data (e.g., CSV files).

An Example using python:

import subprocess

command = "sqlplus -S username/password@your_database @your_script.sql" subprocess.run(command, shell=True)

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

79252934

Date: 2024-12-04 22:54:44
Score: 6.5 🚩
Natty:
Report link

Your applications should suffer no side effects when using a custom user registry deployed as a bell. Since your UserRegistry service implementation is provided by a shared library, you should avoid referencing bellsCurLib within any <classloader/> configurations.

The <bell/> configuration references a shared library, which includes all binaries and resources required by your UserRegistry service implementation except for Open Liberty API/SPI and java packages. I'm not aware of a "cleaner" way to assemble the required dependencies into a single library jar, but you needn't deploy a single library jar as this tutorial suggests. You can cache the dependencies to a reserved location in the server environment and configure the library to also include these dependencies.

<variable name="oss.dependencies.dir" value="/some/root/path/containing/oss/jars/and/resources/" />

<library id="bellsCurLib" name="bellsCurLib">
    <file name="${server.config.dir}/resources/ol-cur.jar" />
    <fileset dir="${oss.dependencies.dir}" include="file-name-pattern-1, file-name-pattern-2, ..." />
    <folder dir="${oss.dependencies.dir}/path/containing/resources/" /> 
</library>

FYI, your shared library referenced by the bell requires the UserRegistry interface, which is an Open Liberty API of type ibm-api. The server makes this API type available to libraries by default. So, your <library/> configuration is fine in this regard -- you needn't configure the apiTypeVisibility attribute of the <library/> to make the API available to the service implementation. SPI visibility for libraries referenced by a bell is a relatively new feature. Unless your service implementation also requires SPI, you needn't configure attribute spiVisibility="true" in the <bell/>. And that begs the question: Did you find a user document that mentions attribute enableSpiVisibility? If so, please post a reference as the document contains a typo. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this tutorial
  • RegEx Blacklisted phrase (2.5): please post
  • RegEx Blacklisted phrase (3): Did you find a
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Dave Zavala

79252928

Date: 2024-12-04 22:53:43
Score: 4
Natty:
Report link

in short it didnot work BRATHAR !

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

79252926

Date: 2024-12-04 22:52:41
Score: 6.5 🚩
Natty: 5.5
Report link

If I want to use this with System.Text.Json and not with Newtonsoft.Json?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maurix

79252917

Date: 2024-12-04 22:46:40
Score: 0.5
Natty:
Report link

In my understanding MVCC's primary use case is to use interactive transactions over iproto. I don't know about a cost of a really long living transaction, but (as far as I understand) MVCC is not designed for analytical queries. It is for OLAP workloads.

Tarantool Enterprise Edition offers user read views that has a C API that can be used from a separate thread. It is for analytics.

For Tarantool Community Edition I would suggest to join an anonymous replica to perform analytic queries. This way it doesn't affect the primary (OLTP) workload. However, it costs the memory.

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

79252915

Date: 2024-12-04 22:46:40
Score: 2.5
Natty:
Report link

That's sad.. I was building something to display the audiofeatures etc. I guess Spotify disabled it because they're afraid someone would use them with AI as they clearly just did in their Wrappded.

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

79252909

Date: 2024-12-04 22:43:39
Score: 1
Natty:
Report link

I found the problem:

const { listen } = window.__TAURI__.event.listen;

and then using listen does not work. Instead, using

window.__TAURI__.event.listen('emit_from_rust', (event) => {
  testMsgEl.innerHTML = event.payload;
});

directly in the code just does what I wanted it to do.

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

79252899

Date: 2024-12-04 22:36:37
Score: 5.5
Natty: 5.5
Report link

how would i do the opposite? remove any row that does not contain "somme" in columns C or D?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how would i
  • Low reputation (1):
Posted by: Lynn

79252894

Date: 2024-12-04 22:34:36
Score: 0.5
Natty:
Report link

Does something like this work, in a Formula tool:

IF left(trim([field]),1) in ('1','2','3','4') THEN
    left(trim([field]),1)
ELSE
    [field]
ENDIF
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: johnjps111

79252888

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

I was using eclipse version 24-09 and was just offered an update to 24-12. After that update the problem disappeared. Full version details : Version: 2024-12 (4.34.0) Build id: 20241128-0757

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

79252866

Date: 2024-12-04 22:15:30
Score: 4.5
Natty:
Report link

ABCNIKOLASOPASDFGHJKLQWERTYUIO

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Logan gray Alt

79252849

Date: 2024-12-04 22:05:28
Score: 1
Natty:
Report link

First of all, you need to handle the connection of each client in a non-blocking manner, you can see python socketserver.

In each connection, you need to read the buffer depending on the client-server logic:

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

79252834

Date: 2024-12-04 21:57:26
Score: 1
Natty:
Report link

Change type of the selector parameter to Expression<Func<T, TResult>>. But why not simply expose the DbSet<TEntity> as an IQueryable<TEntity>?

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

79252821

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

The four terms are usually used with regard to tests such as Covid or Polio tests, but in this context, we might take the "prediction" as the output of a test.

True positive means that the test result correctly indicated a positive result, for example "has Polio". In a test setting this would be verified by means other than the original test, perhaps sophisticated DNA sequencing (I don't know).

True negative means that the test result correctly indicated a negative result. The test said "no Polio" and no Polio could be found by any means.

False positive means the test indicated a positive result but it was wrong. For example test said "has Polio" and no Polio could be found.

False negative means the test indicated negative result but it was wrong. The test might say "has no Polio" but other more expensive tests show the presence of Polio.

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

79252817

Date: 2024-12-04 21:46:23
Score: 1.5
Natty:
Report link

https://csharpier.com/ wraps to less than 80 characters. It's a good option for legibility.

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

79252815

Date: 2024-12-04 21:46:23
Score: 2
Natty:
Report link

Related to this post CSS3 - How to "restore"::-webkit-scrollbar property to the default scroll bar. If you set -webkit-scrollbar-thumb to all:unset or set auto value for all properties it should reset whole scrollbar styles However it seems it doesn't work in the recent version of Chrome

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

79252812

Date: 2024-12-04 21:46:23
Score: 2.5
Natty:
Report link

If someone is still looking for the answer, function calling is supported only by a limited number of models. Use llama3.2.

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

79252809

Date: 2024-12-04 21:45:23
Score: 1
Natty:
Report link

Thank you everyone.. with your input I came up with this

public class MyStack
{
    public IDisposable Transaction()
    {
        return new UndoStackTransaction(this);
    }

    public void BeginCommit()
    {
    }

    public void EndCommit()
    {
    }

    public class UndoStackTransaction : IDisposable
    {
        private MyStack _myStack;

        public UndoStackTransaction(MyStack undoStack)
        {
            _myStack = undoStack;
            _myStack.BeginCommit();
        }

        ~UndoStackTransaction() => Dispose(false);

        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

        protected virtual void Dispose(bool disposing)
        {
            _myStack.EndCommit();
        }
    }
}

Which allows me to do this....

   using (var transaction = stack.Transaction())
   {
       //Do Something
   }
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stetson

79252808

Date: 2024-12-04 21:45:23
Score: 4.5
Natty: 5
Report link

Thank you, it is useful today for me!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tammy Alemu

79252793

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

j'ai paas compris, mon code fait des kegfjhgsdqjfqgsjfgquksgqf,gsjhfqfjkqgk

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

79252777

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

For those looking to move the orientation of the assistant (e.x. build timeline) at the right side, tap the Venn diagram circles Venn diagram > Layout > Assistant on Bottom/Right.

See screenshot here:

Assistant On Bottom

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

79252773

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

spark = SparkSession.builder
.config("spark.jars.packages", "com.datastax.spark:spark-cassandra-connector_2.12:3.0.0")

you should add the connector with config name spark.jars.packages and com.datastax.spark:

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yassine Bøumrazne

79252763

Date: 2024-12-04 21:24:17
Score: 1
Natty:
Report link

For Windows 2022 custom AMI,

ec2 instances created using custom AMI were not running userdata.

You need to run sysprep shutdown command while creating AMI. So when you create ec2 instance using this custom AMI, it will run userdata.

"& 'C:\Program Files\Amazon\EC2Launch\EC2Launch.exe' sysprep --shutdown"

I followed this references for sysprep command since I used Packer to create AMI. https://gonzalo.f-v.es/blog/2022-10-14-windows-2022-eks/

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

79252762

Date: 2024-12-04 21:24:17
Score: 3
Natty:
Report link

Check out my project where we used SNS to send emails and dynamically created topics. The code is a bit messy but it's honest work—Github Netflix-like serverless AWS app.

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

79252760

Date: 2024-12-04 21:23:16
Score: 5
Natty:
Report link

Finally, I found the answer here: https://datatables.net/forums/discussion/71938/loop-with-columns-searchpanes-options

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Marcus Henningsen

79252759

Date: 2024-12-04 21:22:15
Score: 4
Natty:
Report link

is there a way to actually handle this exception in the azure function code? Understand that the function instance has timed out, so probably not possible. But curious to see ways people have handled this.

Understand, this possibly brings up have discussions around using durable functions

Reasons:
  • Blacklisted phrase (1): is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there a
  • Low reputation (1):
Posted by: chigz

79252757

Date: 2024-12-04 21:22:15
Score: 1
Natty:
Report link

I had a similar problem here while trying to test sending messages using a template with Marketing format.

Messages using templates with Utility format were being delivered while messages using templates using Marketing format were not.

Turns out WhatsApp limits the number of Marketing messages a number can receive. You can only send more marketing messages if the user replies to the first or second message.

After I replied to the last message, the new messages started to be delivered again.

For more info: https://developers.facebook.com/docs/whatsapp/cloud-api/guides/send-message-templates#per-user-marketing-template-message-limits

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

79252756

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

This is required by 3.4.2 of the JPA specification (2.1 that I'm looking at):

"All non-relationship fields and properties and all relationships owned by the entity are included in version checks[35]."

and

"[35] This includes owned relationships maintained in join tables."

If you want to avoid this, switch the owning side of the relationship so Workers (which doesn't have optimistic locking) owns it.

Alternatively, you'll need to use native Hibernate API to bypass versions: https://stackoverflow.com/questions/33972564/is-it-possible-to-turn-off-hibernate-version-increment-for-particular-update#:~:text=Hibernate%20Optimistic%20Locking%20can%20be%20bypassed%20using%20hibernate,%2F%2FDetaching%20to%20prevent%20hibernate%20to%20spot%20dirty%20fields.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Chris

79252754

Date: 2024-12-04 21:19:14
Score: 1
Natty:
Report link

Since you cloned React Vite project from Github, your project doesn't use a start script but has a different entry point dev, so use:

npm run dev

For it to start and open on the browser.

Note: this will only work after you have run npm install or npm i after cloning.

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

79252749

Date: 2024-12-04 21:18:13
Score: 5.5
Natty: 5
Report link

Hi fellow SharePoint admins,

PowerShell like in this article can work well, however, I just want to share a new tool to build these SharePoint Permission reports, that we (Cognillo) are now offering for free with the new SharePoint Essentials Toolkit 2025 release.

Yes, it is completely free.

Here is an article that explains how to get it and what it includes.

https://www.cognillo.com/blog/free-sharepoint-permission-reports

Maybe you have a need for this as well, it has no cost and it also can do SharePoint Site Analytics, copying of lists and libraries for free in this Community Edition.

We are providing this for free in hopes some organizations will like the tool and opt to purchase some of the paid features, such as broken link fixing and clean up utilities.

Thank you! Please share!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): this article
  • RegEx Blacklisted phrase (2.5): Please share
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Greg

79252748

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

I was encountering this error whilst starting mysql that was installed VIA BREW, mysql was working perfectly all this time until last week i started it and ran into this pretty fella. I get the same error when running brew services start mysql:

\W $mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/opt/homebrew/var/mysql/MYDEVICE.local.pid).

What worked for me was this. I first ran brew info mysql

\W $brew info mysql
==> mysql: stable 9.0.1 (bottled)
Open source relational database management system
https://dev.mysql.com/doc/refman/9.0/en/
Conflicts with:
  mariadb (because both install the same binaries)
  percona-server (because both install the same binaries)
Installed
/opt/homebrew/Cellar/mysql/9.0.1_7 (324 files, 308.8MB) *
  Poured from bottle using the formulae.brew.sh API on 2024-12-01 at 17:32:40
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/m/mysql.rb
License: GPL-2.0-only WITH Universal-FOSS-exception-1.0
==> Dependencies
Build: bison ✘, cmake ✘, pkgconf ✔
Required: abseil ✔, icu4c@76 ✔, lz4 ✔, openssl@3 ✔, protobuf ✔, zlib ✔, zstd ✔
==> Caveats
Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
 - brew services stop mysql
 - brew install [email protected]
 - brew services start [email protected]
 - brew services stop [email protected]
 - brew services start mysql

We've installed your MySQL database without a root password. To secure it run:
    mysql_secure_installation

MySQL is configured to only allow connections from localhost by default

To connect run:
    mysql -u root

To restart mysql after an upgrade:
  brew services restart mysql
Or, if you don't want/need a background service you can just run:
  /opt/homebrew/opt/mysql/bin/mysqld_safe --datadir\=/opt/homebrew/var/mysql
==> Analytics
install: 52,958 (30 days), 178,060 (90 days), 559,619 (365 days)
install-on-request: 52,905 (30 days), 177,876 (90 days), 558,518 (365 days)
build-error: 616 (30 days)
\W $

The important bit was:

==> Caveats
Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
 - brew services stop mysql
 - brew install [email protected]
 - brew services start [email protected]
 - brew services stop [email protected]
 - brew services start mysql

So i just followed those exact steps and I no longer encountered that error when running brew services start mysql

Note: While installing version 8.4 i also ran these commands too that come whiles installing mysql8.4 (VIA BREW)

If you need to have [email protected] first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc

For compilers to find [email protected] you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"

For pkg-config to find [email protected] you may need to set:
  export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig"

If anyone is using brew, hope this helps.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I get the same error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I get the same error
  • Low reputation (1):
Posted by: Gavin Simpson

79252747

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

By the way, as a workaround you could use @Import(DateTimeConfigurer.class) annotation

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

79252741

Date: 2024-12-04 21:15:12
Score: 2.5
Natty:
Report link

The problem surprisingly resolved after I removed ContentType header from RestClient. Hope this helps anyone who will struggle with this.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Danzilla

79252729

Date: 2024-12-04 21:11:11
Score: 2.5
Natty:
Report link

You can see and remove what's installed by going to Xcode -> Settings -> Components.

enter image description here

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

79252727

Date: 2024-12-04 21:11:11
Score: 1
Natty:
Report link

Do you also have authentication enabled using App Service Auth/Easy Auth (this: https://learn.microsoft.com/en-us/azure/app-service/overview-authentication-authorization) - doing so could result in you having app registrations with the same name as the web apps, if you just accept the values that setup gives you as given.

To answer your question, no, a managed identity does not generate an app registration that you can manage; it is only an enterprise app.

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

79252725

Date: 2024-12-04 21:10:11
Score: 2.5
Natty:
Report link

you shoud open in Visual studio Code your "fullcalendar.min.js" file and find code row nr 4447-4449 and there manually write min and max time. in fullcalendar3 it is this rows but in other version of fullcalendar it can be different.

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

79252717

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

Few other approaches:

Fiddle

Approach 1

Check where the occupation is only scientist

SELECT department_id
FROM Department
GROUP BY department_id
HAVING COUNT(DISTINCT occupation) = 1
   AND MAX(occupation) = 'Scientist';

Approach 2

SELECT department_id
FROM Department d
WHERE NOT EXISTS (
    SELECT 1
    FROM Department d2
    WHERE d.department_id = d2.department_id
    AND d2.occupation != 'Scientist'
)
GROUP BY department_id;

Output

enter image description here

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

79252716

Date: 2024-12-04 21:05:08
Score: 7 🚩
Natty: 4
Report link

I ran into the same problem. I feel like right after the build time, Xcode syncs the localization and updates the catalog. We can see the localization sync result in the report navigator from the left side panel of Xcode. Did you find a viable solution for your CI?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: chu31g

79252715

Date: 2024-12-04 21:05:08
Score: 1.5
Natty:
Report link

To simulate the auto form-fill functionality of a website in your application using HTML Agility Pack (HAP), you must handle the dynamic behavior that websites typically execute through JavaScript. Since HAP doesn't execute JavaScript, you will need to reverse-engineer how the form is populated and reproduce that logic in your code.

This involves:

  1. Analyzing the Website's Behavior
  2. Manipulating the HTML
  3. Simulating Script Logic
  4. Posting the Data
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Priyansh Kavani

79252708

Date: 2024-12-04 21:02:07
Score: 1
Natty:
Report link

Depending on what version of node you are using I would just setup an Observable or whatever front end library I am using implementation of it. You can find example of this all over stack.

How to observe value changes in JS variables

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

79252696

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

The question is quite old but I just run into the same situation.

I ended up releasing a library for this.

https://github.com/rrd108/simplepay-js-sdk

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
Posted by: rrd

79252691

Date: 2024-12-04 20:56:06
Score: 0.5
Natty:
Report link

try printing the dominoes variable

print(dominoes)

Jupyter automatically prints the output when you write a variable name in one line, but it is not the case in other shell or IDEs. you need to explicitly tell them to print the output on screen

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

79252689

Date: 2024-12-04 20:55:05
Score: 4
Natty:
Report link

That is happening because gphoto2 only works on Linux, when I try to install it on Windows I also get this error.

Reasons:
  • RegEx Blacklisted phrase (1): I also get this error
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Galaxy Studios

79252686

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

You can also use http://solanastreaming.com/ ... a stream of all new raydium pairs over websocket. Quick and easy to get started

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

79252678

Date: 2024-12-04 20:49:03
Score: 0.5
Natty:
Report link

With Markdown Reader on Chrome [file Name](//C:/Path/to/file/file.md) worked.
So, replacing file:///C:/Path/to/file/file.md with //C:/Path/to/file/file.md worked for me.

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

79252664

Date: 2024-12-04 20:44:00
Score: 5
Natty: 8
Report link

Bud what if I need future option on ES? What symbol I have to use? This code works for SPY but does not for ES. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josef Cvrček

79252660

Date: 2024-12-04 20:42:00
Score: 3.5
Natty:
Report link

I managed to solve the problem by simply updating Unreal Engine. After the update, all errors were resolved, and the Blake3 package installed without any issues.

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

79252631

Date: 2024-12-04 20:31:56
Score: 2
Natty:
Report link

Was on VS2019 SSIS seeing this error all of the sudden. Both SSDT and SSIS were installed in my VS.

What worked is simply to uninstall and reinstall SSIS extension for Visual Studio (Microsoft.DataTools.IntegrationServices.exe) and it's working again, even running with Run64BitRunTime=True.

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

79252625

Date: 2024-12-04 20:29:56
Score: 3
Natty:
Report link

It's sufficent to switch from the terminal console to the output window and running the code using the arrow in the top right of the IDE

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

79252611

Date: 2024-12-04 20:24:54
Score: 0.5
Natty:
Report link
import kotlin.random.Random

fun sortedList(intArray: IntArray) = intArray.filter { it % 2 != 0 }.sorted()

fun main(){
val intArray = IntArray(10) { Random.nextInt(0, 100) }
sortedList(intArray)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Varun Chandran

79252609

Date: 2024-12-04 20:23:54
Score: 0.5
Natty:
Report link

In Solana, you can use the account-based storage model with PDAs (Program Derived Addresses) to create a global hashmap. Each key-value pair can be stored in a unique account, with the key serving as part of the PDA seed. To calculate rent exemption, use Solana's get_minimum_balance_for_rent_exemption function based on the serialized data size. For a single global hashmap, manage entries via program logic, serializing/deserializing the keys and values efficiently with libraries like borsh.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ledgermuminary55

79252608

Date: 2024-12-04 20:23:53
Score: 9 🚩
Natty: 5.5
Report link

I have the same issue. You said the gif needs to be unoptimised. How did you do it?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michel Michaud

79252605

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

This is what really worked for me

add_action('pre_get_comments', function($query) {
    if ( !is_admin()) {
        $query->query_vars['order'] = 'DESC';
    }
});

Intercepting comments_template_query_args still did not work as pagination sorting is messed.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Deniss

79252602

Date: 2024-12-04 20:20:52
Score: 1
Natty:
Report link

I know some ways that can fix certain whitespace issues:

  1. Go to File-> settings-> editor -> Code Style -> [choose the language] -> other ,check "add line feed at the end of file" (see picture 1). This ensures proper whitespace at the end of files. Moreover, you can customize the whitespace preferences for your language here; For example spaces around operators, blank lines between code blocks picture 1

  2. go to File -> Settings -> Tools -> Action on Save . Enable "Reformat code" (see picture 2). This will run the formatter on the file every time you save and fix whitespace and other style issues based on your code style settings automatically. picture 2

I hope these ways are useful for you.


Note that, I am using pycharm 2022.2 (Professional Edition)

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

79252591

Date: 2024-12-04 20:16:51
Score: 0.5
Natty:
Report link

Its almost same as the above answer, I have used CASE instead of PIVOT.

Fiddle

WITH NumberedEquipment AS (
    SELECT
        Eqp,
        Date_col,
        Value1,
        ROW_NUMBER() OVER (PARTITION BY Date_col, Value1 ORDER BY Eqp) AS Row_Num
    FROM test_table
)
SELECT
    MAX(CASE WHEN Row_Num = 1 THEN Eqp END) AS "Eqp",
    MAX(CASE WHEN Row_Num = 2 THEN Eqp END) AS "Another Eqp",
    Date_col,
    Value1
FROM NumberedEquipment
GROUP BY Date_col, Value1;

Output

enter image description here

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

79252590

Date: 2024-12-04 20:16:51
Score: 1.5
Natty:
Report link

Regarding the Ray integration question, I would think Ray Serve can be something suitable for the use case to serve online requests in parallel and with some computation. The library is a general framework to set up multiple replicas for logic to handle incoming requests and can be scaled up to run across a Ray cluster.

In addition, Ray Serve supports Resource Allocation. With that, you should be able to specify necessary GPU device for each replica.

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

79252589

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

I found delim_whitespace and astype(float) to be working. Is this what you are looking for?

data_Test = pd.read_csv("TestData.txt", header=None, delim_whitespace=True)
data_Test = data_Test.astype(float)
print("TestData (first 5 rows):\n", data_Test[:5])

Output

    0     1     2
0   7.9   0.60  0.060
1   7.5   0.50  0.036
2   7.8   0.61  0.029
3   8.5   0.28  0.056
4   8.1   0.56  0.028

TestData.txt

7.9000000e+00   6.0000000e-01  6.0000000e-02
7.5000000e+00    5.0000000e-01   3.6000000e-02
7.8000000e+00    6.1000000e-01   2.9000000e-02
8.5000000e+00    2.8000000e-01   5.6000000e-02
8.1000000e+00    5.6000000e-01   2.8000000e-02
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dauinh

79252580

Date: 2024-12-04 20:11:50
Score: 0.5
Natty:
Report link

Thsi is not a bug. This is a known issue. Please see the comment above the line that has the exception. It explains that this is the expected behavior. However, Microsoft plans to address this in a future release: https://github.com/dotnet/aspnetcore/pull/58573

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

79252562

Date: 2024-12-04 20:03:48
Score: 3
Natty:
Report link

So as a last resport, I fully uninstalled Chrome from my PC and reinstalled it again and it seems to be working now. Might have been an issue with path to the Chrome browser, however weirdly enough, hardcoding the path did not resolve it...

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

79252557

Date: 2024-12-04 20:02:48
Score: 3.5
Natty:
Report link

Read this doc https://laravel.com/docs/11.x/installation And follow accordingly for the stacks.

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

79252550

Date: 2024-12-04 19:58:46
Score: 4.5
Natty:
Report link

Hope you are using @RequestBody tag along with @Valid tag.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @RequestBody
  • User mentioned (0): @Valid
  • Single line (0.5):
  • Low reputation (1):
Posted by: Khushali S

79252545

Date: 2024-12-04 19:55:46
Score: 1
Natty:
Report link

To solve my problem I follow a example shared by @Gastón Schabas, I transformed my route object in a Class, create a ZLayer and insert it in a ZIO provide in a Main class :

package br.com.flashcards

import br.com.flashcards.adapter.endpoint.DeckEndpoint
import br.com.flashcards.config.EndpointConfig
import br.com.flashcards.core.service.impl.DeckService
import br.com.flashcards.core.service.query.impl.DeckQueryService
import sttp.tapir.server.interceptor.cors.CORSConfig.AllowedOrigin
import sttp.tapir.server.interceptor.cors.{CORSConfig, CORSInterceptor}
import sttp.tapir.server.ziohttp.{ZioHttpInterpreter, ZioHttpServerOptions}
import zio.*
import zio.http.*

object App extends ZIOAppDefault:

  override def run: ZIO[Any with ZIOAppArgs with Scope, Any, Any] =
    val options: ZioHttpServerOptions[Any] =
      ZioHttpServerOptions.customiseInterceptors
        .corsInterceptor(
          CORSInterceptor.customOrThrow(
            CORSConfig.default.copy(
              allowedOrigin = AllowedOrigin.All
            )
          )
        )
        .options

    (for {
      endpoints <- ZIO.service[EndpointConfig]
      httpApp = ZioHttpInterpreter(options).toHttp(endpoints.endpoints)
      actualPort <- Server.install(httpApp)
      _ <- Console.printLine(s"Application zio-flashcards started")
      _ <- Console.printLine(
        s"Go to http://localhost:8080/docs to open SwaggerUI"
      )
      _ <- ZIO.never
    } yield ())
      .provide(
        EndpointConfig.layer,
        DeckRoute.layer,
        DeckService.layer,
        DeckQueryService.layer,
        Server.defaultWithPort(8080)
      )
      .exitCode

my route. Obs: I refactored my traits with insert, update, delete and find in two traits, Read and Write Traits

package br.com.flashcards.adapter.endpoint

import br.com.flashcards.adapter.endpoint.doc.DeckDocEndpoint
import br.com.flashcards.adapter.endpoint.request.{
  DeckInsertRequest,
  DeckUpdateRequest
}
import br.com.flashcards.adapter.endpoint.response.error.DeckError
import br.com.flashcards.adapter.endpoint.response.{
  DeckDetailsResponse,
  DeckInsertedResponse,
  DeckListResponse,
  DeckUpdatedResponse
}
import br.com.flashcards.core.exception.DeckException
import br.com.flashcards.core.service.query.DeckRead
import br.com.flashcards.core.service.{
  DeckWrite,
  InsertDeckDomain,
  UpdateDeckDomain
}
import io.scalaland.chimney.dsl.*
import sttp.tapir.ztapir.*
import zio.*

import java.time.OffsetDateTime

case class DeckEndpoint(
    write: DeckWrite,
    read: DeckRead
):

  val endpoints: List[ZServerEndpoint[Any, Any]] =
    List(
      listRoute(),
      findByIdRoute(),
      insertRoute(),
      updateRoute(),
      deleteRoute()
    )

  private def listRoute(): ZServerEndpoint[Any, Any] =
    def listRouteLogic() =
      read
        .list()
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          d => d.map(_.into[DeckListResponse].transform)
        )

    DeckDocEndpoint.listEndpoint.zServerLogic(_ => listRouteLogic())

  private def findByIdRoute(): ZServerEndpoint[Any, Any] =
    def findByIdRouteLogic(
        id: Long
    ) =
      read
        .findById(id)
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          _.into[DeckDetailsResponse].transform
        )

    DeckDocEndpoint.findByIdEndpoint.zServerLogic(p => findByIdRouteLogic(p))

  private def insertRoute(): ZServerEndpoint[Any, Any] =
    def insertRouteLogic(
        request: DeckInsertRequest
    ) =
      write
        .insert(request.into[InsertDeckDomain].transform)
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          _.into[DeckInsertedResponse].transform
        )

    DeckDocEndpoint.insertEndpoint.zServerLogic(p => insertRouteLogic(p))

  private def updateRoute(): ZServerEndpoint[Any, Any] =
    def updateRouteLogic(
        id: Long,
        request: DeckUpdateRequest
    ) =
      write
        .update(
          request.into[UpdateDeckDomain].withFieldConst(_.id, id).transform
        )
        .mapBoth(
          _ => DeckError.GenericError("", "", 500, OffsetDateTime.now()),
          _.into[DeckUpdatedResponse].transform
        )

    DeckDocEndpoint.updateEndpoint.zServerLogic(p =>
      updateRouteLogic(p._1, p._2)
    )

  private def deleteRoute(): ZServerEndpoint[Any, Any] =
    def deleteRouteLogic(
        id: Long
    ) =
      write
        .delete(id)
        .orElseFail(DeckError.GenericError("", "", 500, OffsetDateTime.now()))

    DeckDocEndpoint.deleteEndpoint.zServerLogic(p => deleteRouteLogic(p))

object DeckRoute:

  val layer: ZLayer[
    DeckWrite & DeckRead,
    DeckException,
    DeckRoute
  ] = ZLayer.fromFunction(DeckEndpoint(_, _))

Thank you :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Gastón
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jose Luiz Junior

79252540

Date: 2024-12-04 19:53:45
Score: 2.5
Natty:
Report link

Notice you are instantiating a new pool with each new call to get_redis_connection, effectively creating a new pool and one connection with each call. Instead create the pool only once and pass the same instance as connection_pool argument of aioredis.Redis.

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

79252535

Date: 2024-12-04 19:51:45
Score: 1
Natty:
Report link

I've just made a test and with no harm you can attach service with or without clusterIP to a statefulset. The only difference is that in case of a service without clusterIP (headless) nslookup will return multiple IPs (IPs of the pods) if you query service by name. In case of a service with clusterIP nslookup returns a virtual (load balanced) IP Querying service name with pod index specified returns pod IP in both cases, and therefore it is a matter of preference and not tech requirements

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

79252524

Date: 2024-12-04 19:44:43
Score: 1
Natty:
Report link

The CSRF token is generated on the server-side when a user session is initiated. This token is unique to the session and is not directly exposed to the client.

The generated CSRF token is embedded into the HTML form as a hidden input field. This hidden field is not visible to the user but is included in the form submission.

When a user submits the form, the browser automatically includes the session cookie in the request. However, the CSRF token is not automatically included by the browser. It must be explicitly extracted from the hidden field and included in the request.

Even if an attacker manages to trick a user into clicking a malicious link, they cannot directly access the CSRF token from the client-side so he/she wont get the token to perform malicious action

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

79252523

Date: 2024-12-04 19:43:41
Score: 13.5 🚩
Natty: 6.5
Report link

did you solve it yet ? I am facing the same error :(

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it yet ?
  • RegEx Blacklisted phrase (1): I am facing the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve it
  • Low reputation (1):
Posted by: Adam Yasser Abzakh

79252516

Date: 2024-12-04 19:41:38
Score: 8 🚩
Natty:
Report link

I am getting the same error in Jenkins - **Failed to connect to repository : Error performing git command: git ls-remote -h *public github url *** HEAD

I am simply setting up Jenkins pipeline for a sample pgm on my local Windows Machine (not on any instance or cloud). I have done the below steps so far already. Still getting same error.

  1. Git is installed on my Machine for Windows checked the path for C->Program Files → Git → bin → git.exe otherwise download it.
  2. Provided the location to git.exe to Jenkins Mange Jenkins → Tools → Git installations → Path to Git executable in Path to Git executable.
  3. Also added Git installation to the $PATH Environment variable to use Git under User Variable.

Still getting same error. Can someone help.

Reasons:
  • RegEx Blacklisted phrase (3): Can someone help
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Me too answer (0): getting same error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28630957

79252514

Date: 2024-12-04 19:40:37
Score: 1.5
Natty:
Report link

If UserA requests a resource from DomainB such as IIS server named ServerB, ServerB will contact Domain Controller of DomainA. Your trace is expected and technical explanation of this behaviour is detailed in the following link:

Ref: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/70697480-f285-4836-9ca7-7bb52f18c6af

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

79252513

Date: 2024-12-04 19:40:37
Score: 2
Natty:
Report link

You may want to use the plugin below:

Structured Logging

However, it is still lacking the bulk feature. Hence, I would also recommend contacting plugin's maintainer using the link:

https://github.com/olsh/resharper-structured-logging

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

79252511

Date: 2024-12-04 19:39:37
Score: 3
Natty:
Report link

Closing this. the documentation says react-timeseries-charts does not support safari.

Ended up migrating to ChartJS instead.

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

79252504

Date: 2024-12-04 19:35:36
Score: 3.5
Natty:
Report link

For me, I reloaded my IDE - VS code, and it started working fine then. You can try restarting as well.

Developer Reload window

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

79252502

Date: 2024-12-04 19:34:36
Score: 1
Natty:
Report link

have you tried specifying the type on the screen component? e.g.

import { FC } from 'react'

const SignInScreen: FC<any> = () => {
     const {height} = useWindowDimensions()

    return (
        <View style= {styles.root}>
          <Image source={Logo} style ={[styles.logo, {height: height * 0.3}]}
           resizeMode="contain" /> 
          <CustomInput />
       </View>
 )
}
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kaveh Movahedi

79252498

Date: 2024-12-04 19:33:35
Score: 4.5
Natty: 5.5
Report link

Help me to create a layer with graphviz please

Reasons:
  • Blacklisted phrase (1): Help me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: oscar frausto

79252496

Date: 2024-12-04 19:32:34
Score: 2.5
Natty:
Report link

You can also use "ALTER TABLE" to add an identity column to a temp table.

ALTER TABLE #TABLE ADD LineID NOT NUll IDENTORY(1,1)

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

79252491

Date: 2024-12-04 19:31:34
Score: 4
Natty:
Report link

Ah, I see the problem. I started with ValueToPixelPosition(0) which I thought was the first Bar. It is not. I assume that is the xAxis itself. Changing my code to start at 1 for the first bar, solved the problem.

enter image description here

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

79252481

Date: 2024-12-04 19:26:33
Score: 2.5
Natty:
Report link

If you are not providing any value in the like this <CartProvider value={defaultValue}, then it will take the value which was initially set i.e. const CartContext = createContext(null). Also it works even if you're using React Router. Hope this answers your query.

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