79248122

Date: 2024-12-03 15:07:27
Score: 3.5
Natty:
Report link

MBEW for valuation, MARD for stock at storage location level

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

79248117

Date: 2024-12-03 15:07:26
Score: 8 đźš©
Natty:
Report link

could you provide more details of issue?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you provide
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cesar

79248111

Date: 2024-12-03 15:04:25
Score: 0.5
Natty:
Report link

There are several non-trivial reasoning required when r is false. First observe that your while loop might terminate without seeing all elements of either a or b (but not both), when r is false.

In final assert it is reasoning over all elements of a and b. For us humans it is possible to connect various logical steps required to prove final assert. But for Dafny it is not still.

Let's change such that Dafny see through all elements of a and b

 while i < a.Length || j < b.Length
    invariant 0 <= i <= a.Length && 0 <= j <= b.Length
  {
    if i == a.Length {
      j := j + 1;
    }
    else if j == b.Length {
       i := i + 1;   
    }
    else if a[i] < b[j] {
      i := i + 1;
    } else if a[i] > b[j] {
      j := j + 1;
    } else {  
      return true;
    }
  }

Now it is complaining that loop might not terminate. Let's add decreases clause.

 while i < a.Length || j < b.Length
    decreases a.Length + b.Length - i - j
    invariant 0 <= i <= a.Length && 0 <= j <= b.Length

Still no luck. May be it needs loop invariant so that it can reason beyond loop statement. Let's add invariant which we believe is true.

while i < a.Length || j < b.Length
    decreases a.Length + b.Length - i - j
    invariant 0 <= i <= a.Length && 0 <= j <= b.Length
    invariant !(exists m, n:: 0 <= m < i && 0 <= n < j && a[m] == b[n])

Now using loop invariant it verifies method post condition but it has hard time reasoning through loop invariant. Establishing that requires some further steps which is along the line of invariant proof in this blog post. Have fun !

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): no luck
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Divyanshu Ranjan

79248109

Date: 2024-12-03 15:04:25
Score: 2
Natty:
Report link

For use WAMP from out(from internet or other computer) you must change "Require local" to "Require all granted" in file C:\wamp64\bin\apache\apacheX.X.XX\conf\extra \httpd-vhosts.conf . And in httpd.conf

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

79248105

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

I am using raspberry pi os, hover over the content folder in the left pane shown in your 2nd screenshot the 3 dots appear on the left click once and select 'Open' this will navigate you back to the 1st screenshot you shared

3 dots on content select Open to navigate back to the original view

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

79248100

Date: 2024-12-03 15:03:24
Score: 4.5
Natty:
Report link

I just had to install the newest .NET SDK link to download .NET 9.0

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

79248098

Date: 2024-12-03 15:02:23
Score: 1.5
Natty:
Report link

For me, Install New Software didn't work. It might be because I was using the Eclipse Java developer IDE, which is made for regular projects and certainly has less tools than the Eclipse Java EE developer IDE.

So downloading Eclipse Java EE developer IDE may be a good choice if you can and can overpass all of those head-breaking bugs.

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

79248089

Date: 2024-12-03 14:57:22
Score: 3.5
Natty:
Report link

This solved my problem!! Thanks! I used this command: system('/sys/bus/pci/devices/0000:01:00.0/remove')

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Henk

79248088

Date: 2024-12-03 14:57:22
Score: 1.5
Natty:
Report link

I hit this error and noticed in the Azure portal that my toll-free number had a "Submit verification" link on the SMS column under Phone numbers. Seems there's a whole verification process and it can take up to 5 weeks to approve. I am trying to send SMS notifications from health checks for a single application, not do a commercial SMS campaign, so I am looking into pricing for third party SMS APIs.

From https://learn.microsoft.com/en-us/azure/communication-services/concepts/sms/sms-faq#toll-free-verification: Effective January 31, 2024, the industry’s toll-free aggregator is mandating toll-free verification and will only allow verified numbers to send SMS messages.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: JonathanN

79248085

Date: 2024-12-03 14:56:22
Score: 0.5
Natty:
Report link

Ok, so as always, after a few days of working on this problem, all it took was for me to write it down in StackOverflow and a new idea came to my mind.

After trying everything in Keystonejs documentation, I just started debugging their source code and it appears there is an undocumented authentication feature with the standard header:

authorization: Bearer + <token>

As luck would have it, I had just developed a custom bearer authentication for a different mechanism but I had no idea that keystone was checking for something in that header.

Not only looking into it, but if a bearer is present, the session cookie is ignored:

const token = bearer || cookies[cookieName];

( from node_modules/@keystone-6/core/session/dist/keystone-6-core-session.cjs.dev.js)

 async get({
   context
 }) {
  var _context$req$headers$;
  if (!(context !== null && context !== void 0 && context.req)) return;
  const cookies = cookie__namespace.parse(context.req.headers.cookie || '');
  const bearer = (_context$req$headers$ = context.req.headers.authorization) === null || _context$req$headers$ === void 0 ? void 0 : _context$req$headers$.replace('Bearer ', '');
  const token = bearer || cookies[cookieName];
  if (!token) return;
  try {
    return await Iron__default["default"].unseal(token, secret, ironOptions);
  } catch (err) { }
},

So, the moral of the story is: never use a Bearer token if a session cookie is present, or at least do not do so if you are using Keystonejs

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

79248082

Date: 2024-12-03 14:55:21
Score: 5
Natty: 4.5
Report link

To follow up with this, is there a way to add a sorting solution/functionality to this?

For example if you have thousands of orders and want to sort by the order count, would that be possible by adjusting the code?

Reasons:
  • Blacklisted phrase (1): is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Texture Heaven

79248080

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

To solve this problem, you have to use react-helmet-async.Thanksđź’–

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Md Sami Al Badhon

79248078

Date: 2024-12-03 14:53:20
Score: 0.5
Natty:
Report link

For categorical features, always set discrete_values=True to keep things consistent and calculate mutual information properly. For continuous features, you can just leave discrete_values as it is (False by default) or skip specifying it altogether since that's the default anyway.

so in your case , just set it to True , and it wont generate random values

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Esmaeil mashhadi

79248074

Date: 2024-12-03 14:52:20
Score: 5
Natty:
Report link

I am getting the same issue! Here, I am trying to read the generated excel with python using pandas and I am getting the following error

ValueError: Unable to read workbook: could not read stylesheet from ./excelize_generated.xlsx. This is most probably because the workbook source files contain some invalid XML. Please see the exception for more details.

When I open file manually using excel it works, when I save file and retry pandas works... It's a bit of strange cause when I save file again, I can notice file size is changing from 4Mb to 2Mb...

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (1): I am getting the following error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same issue
  • Low reputation (0.5):
Posted by: Khalil Mejdi

79248067

Date: 2024-12-03 14:50:19
Score: 0.5
Natty:
Report link

With this docpos proc macro library (â‘‚roxygen) you can write this tabular beauty:

#[docpos]
enum MyEnum {        /// Enumerates the possible jobblers in thingy paradigm.
  EnumValue1        ,/// 1 Something is a blue exchange doodad thingy thing.
  EnumValueTheSecond,/// 2 Something is meld mould mild mote.
                     ///! 3 Vivamus arcu mauris, interdum nec ultricies vitae, sagittis sit.
  EnumValueGamma    ,// :( invalid syntax to have ///doc here, use ///! ↑
}

And it will get expanded to the regular mess

/// Enumerates the possible jobblers in thingy paradigm.
enum MyEnum {
    /// 1 Something is a blue exchange doodad thingy thing.
    EnumValue1,
    /// 2 Something is meld mould mild mote.
    EnumValueTheSecond,
    /// 3 Vivamus arcu mauris, interdum nec ultricies vitae, sagittis sit.
    EnumValueGamma,
}
Reasons:
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Evgeny

79248056

Date: 2024-12-03 14:47:18
Score: 4.5
Natty: 4.5
Report link

Use enterkeyhint attribute for this: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint

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

79248046

Date: 2024-12-03 14:45:16
Score: 6 đźš©
Natty: 6
Report link

If I want to assign a color to a specific person ('[email protected]'), how can I achieve this:

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",

"elmType": "div",

"txtContent": "@currentField.title",

"style": { "color": "=if('[email protected]' == @currentField.email, 'red', 'blue')"

} }

The above code doesn't work. Is it even possible to query a specific person?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: SQLFRAGE

79248036

Date: 2024-12-03 14:42:15
Score: 2
Natty:
Report link

I had the same problem and I tried the @r2evans proposed solution and did work. In particular, I edited the lines of code printing the heavy plots, then I saved the file.

I re-opened it in RStudio and the problem was solved

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @r2evans
  • Low reputation (1):
Posted by: Lapo Santi

79248034

Date: 2024-12-03 14:42:15
Score: 1
Natty:
Report link

Don't show the indentations for each individual tab using:

"editor.guides.indentation": false,
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pclinux

79248031

Date: 2024-12-03 14:41:15
Score: 1.5
Natty:
Report link

I suggest using Spring Data Elasticsearch for Elasticsearch 8.x configuration-related tasks. I've attached the GitHub link for the Elasticsearch configuration below.

I hope this helps!

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

79248030

Date: 2024-12-03 14:41:15
Score: 5
Natty: 5
Report link

Are you getting an error "(net::ERR_UNKNOWN_URL_SCHEME)" when you try opening it from an embedded captive portal browser?

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

79248025

Date: 2024-12-03 14:41:14
Score: 8 đźš©
Natty: 6
Report link

It seems to me that either I don't understand at what stage this code should be executed, or this answer is no longer valid. I already tried this at class MyAppConfig(AppConfig) as well as in migrations. @gasman, can you please explain when and where it should be executed?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please explain
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @gasman
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: totuk

79248024

Date: 2024-12-03 14:40:13
Score: 2.5
Natty:
Report link

@makasprzak answer is right but I want to add that if you want to make your tests work with TestNG without changing the variable to non-final then you can do the following:

package inject_mocks_test;

import org.mockito.Mockito;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

import static org.testng.Assert.assertEquals;

public class SubjectTest {

    Section section;
    Subject subject;

    @BeforeMethod
    public void setup() {
        section = Mockito.mock(Section.class);
        subject = new Subject(section);
    }

    @Test
    public void test1() {
        assertEquals(section, subject.getSection());
    }

    @Test
    public void test2() {
        assertEquals(section, subject.getSection());        
    }
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @makasprzak
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: mbanchero

79248022

Date: 2024-12-03 14:39:13
Score: 2
Natty:
Report link

I implemented something similar (albeit with only two callers) via Twilio Stream Resources. Using these you create individual streams of calls distinguished via call sids. You can then feed these into a web socket server to tie them together and process them in any way you want.

You can find the docs here: https://www.twilio.com/docs/voice/api/stream-resource

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

79248018

Date: 2024-12-03 14:39:13
Score: 1
Natty:
Report link

Fixed it!

In the previous code the only issue was the video wasn't loading on post's sidebar, as the video was hidden initially with inline css and the script which was supposed to make the video visible in case of no error, was not running in post's sidebar.

New code -

<video width="100%" height="auto" poster="https://webtik.in/ads/cover.jpg?nocache=<?php echo time(); ?>" controls style="display: block;" onerror="this.style.display='none';">
    <source src="https://webtik.in/ads/video.mp4?nocache=<?php echo time(); ?>" type="video/mp4" onerror="this.parentElement.style.display='none';">
</video>

Updating the question from "Make javascript/jQuery script run after the sidebar loads dynamically" to "Bulk upload a video on multiple WordPress websites at once by just uploading the video on a server" in case anyone wants to achieve similar thing. Cheers!

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

79248016

Date: 2024-12-03 14:38:12
Score: 1.5
Natty:
Report link

The “Maximum Call Stack Size Exceeded” error occurs when a function calls itself recursively without an appropriate base case or when there is an infinite loop of function calls.

Common Causes -

  1. Infinite Recursion: A function that calls itself indefinitely without a terminating condition.
  2. Circular Dependencies or Invalid Imports: When two or more functions call each other in a loop.
  3. Excessive Nested Function Calls: Deeply nested function calls that exceed the stack size.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: undefined

79248015

Date: 2024-12-03 14:38:12
Score: 2
Natty:
Report link

i had same problem. It happens when flash an wrong code and STM32 can not boot by flash memory any more. You need boot by system, connect Boot0 to Vcc and connect through an usart adapter, Tx to PA10, Rx to PA9, Vcc and Gnd, Just this. Use STM32 cube programmer, option usart, click connect(It works!) and at erase&programming menu , click start programming a correct code. Now You can again use stlink!! with Boot0 to Gnd. That is it !!

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

79248008

Date: 2024-12-03 14:35:12
Score: 2.5
Natty:
Report link

For those looking for a fix for magento >= 2.4.5 on windows in 2024 +

This is the real fix https://mage2.pro/t/topic/6339

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

79248006

Date: 2024-12-03 14:35:12
Score: 2
Natty:
Report link

You replaced:

import { createStackNavigator } from "@react-navigation/stack";

with:

import { createNativeStackNavigator } from '@react-navigation/native-stack';

and it fixed the issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Murat Döğüm

79248000

Date: 2024-12-03 14:34:11
Score: 0.5
Natty:
Report link

I initially tried getting the page from the backend first and then rewriting all the URLs in the HTML, but even after being able to load most resources, the application remained broken.

But it turns out that the specific front-end that I wanted to have in the iframe (GraphDB workbench) exposes a setting that changes the base URL that determines where to look for resources.

I got inspired to look for this setting by the answer provided here: https://serverfault.com/a/561897

Indeed, GraphDB exposes such a setting, as can be found in the documentation: https://graphdb.ontotext.com/documentation/10.0/configuring-graphdb.html#url-properties

So in docker-compose, I added the following for the GraphDB container:

entrypoint: 
- "/opt/graphdb/dist/bin/graphdb"
- "-Dgraphdb.external-url=http://localhost:9000/kgraph/"

After adding this, everything loaded as expected.

This seems to be a general pattern for such admin UIs; they usually expose a setting that allows you to change the base path of the application, so it can fetch its resources properly.

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

79247999

Date: 2024-12-03 14:33:11
Score: 1.5
Natty:
Report link

Wow, okay.
This is my first time working with event handlers, and I just realized my mistake.

I was trying to access the variables and everything in the Control Flow tab, not understanding that you need to add components directly to the Event Handler tab.

A little embarrassing, but perhaps someone in the future will make the same mistake and can learn from this!

Here’s what the correct setup looks like:
Correct Event Handler

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mr.Jones

79247991

Date: 2024-12-03 14:33:11
Score: 3.5
Natty:
Report link

No site, em app versao, coloque a mesma versao que esta no seu codigo.

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

79247986

Date: 2024-12-03 14:31:11
Score: 2
Natty:
Report link

The version of the image corresponds to the version of the confluent platform:

https://docs.confluent.io/platform/current/installation/versions-interoperability.html

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: senjin.hajrulahovic

79247977

Date: 2024-12-03 14:29:10
Score: 3.5
Natty:
Report link

I found the syntax error and this can now be considered resolved roster.iloc[:, 2:10] to be replaced by roster.columns[2:10]

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

79247974

Date: 2024-12-03 14:29:10
Score: 1
Natty:
Report link

  const actionOnEnter = (fn: () => void) => (e: React.KeyboardEvent) => {
    if (e.target instanceof HTMLElement) {
      console.log(e.target.nodeName); // Safely access nodeName
    }

    if (e.key === "Enter") {
      e.preventDefault();
      fn();
    }
  };

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

79247969

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

thanks for answering so far!

I have an update: ultimately, the fault was mine. I overlooked a section of the code that I hadn’t shared.

Specifically, when building the final_model with the best parameters selected via GridSearchCV, I failed to include the preprocessing step in the pipeline. As a result, the final model was working with categorical variables that hadn’t been transformed by the OneHotEncoder.

Sorry for not sharing the whole code, the idea of the question was more "theoretical", as I believed that there was something that I was not understanding correctly in the ColumnTransformer function.

Thank you so much, I think I can close this thread.

Bests!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): thanks for answering
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aezhel

79247967

Date: 2024-12-03 14:28:10
Score: 1.5
Natty:
Report link

This also work:

DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH,mm,ss").withZone(ZoneOffset.UTC);

If you prefer this look.

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

79247937

Date: 2024-12-03 14:19:07
Score: 2
Natty:
Report link

Why not mount each extension as a volume individually?

services:
  ...
  mediawiki:
    ...
    volumes:
      ...
      - ./extensions/extension1:/var/www/html/extensions/extension1
      ...
    ...
  ...
...

This is how I did it and it works great!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
  • Low reputation (1):
Posted by: Schnill

79247926

Date: 2024-12-03 14:15:06
Score: 2.5
Natty:
Report link

Could you update your @modal/(.)[post]/page.js route to use a more specific dynamic route pattern, such as [...post] or {slug} to prevent it from intercepting other routes unintentionally.

Reasons:
  • Blacklisted phrase (1): Could you update
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jokoyoski

79247917

Date: 2024-12-03 14:12:05
Score: 2.5
Natty:
Report link

You can't do that because token has details about service account uid which is unique, even name of SA identical after restore of SA and it secret(token). Find more details by decoding token from base64 and passing to JWT decoder to see what inside.

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

79247910

Date: 2024-12-03 14:09:04
Score: 1.5
Natty:
Report link

This worked for me! Thank you!! Cheers from Brazil!!

export default withSentryConfig(nextConfig, { ... reactComponentAnnotation: { enabled: false, // This is set to true by Sentry wizard }, ... });

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Cheers
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aniel Queiroz

79247901

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

it depends of elastic version. For last version of elastic you can use "Delete by query API"

Deletes documents that match the specified query.

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Shakirov Ramil

79247894

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

try to change on your pubspec.yaml

usb_serial:
    git:
      url: https://github.com/jymden/usbserial.git
      ref: master
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: muazharin alfan

79247889

Date: 2024-12-03 14:02:02
Score: 3
Natty:
Report link

Well, the error was given due to the VPN extension. The VPN itself wasn't enabled, but the error still appeared... I just disabled this extension and everything works as it should.

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

79247881

Date: 2024-12-03 14:00:01
Score: 1
Natty:
Report link
$MyVar | % {
    $_.PropertyX = 100
    $_.PropertyY = "myvalue"
    $_.MyMethod()
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Nicolas Melay

79247877

Date: 2024-12-03 13:57:00
Score: 1.5
Natty:
Report link

For you first point i.e. How to generate SHA256 hex string from PEM file

Method 1:

Get public key via terminal command-

Step 1: If you have the pem file with you please use the below openSSL command to get the public key.

openssl rsa -in inputPemFile.pem -pubout -out outputPublicKey.pem

Here, please do make sure your PEM file is in correct format which contains the private key.

Step 2: Now, use below command to extract/read the public key from outputPublicKey.pem file

cat public_key.pem

Method 2:

Direct method

Step 1: Open Qualys SSL Labs

Step 2: Enter your domain hostname from which you want to extract the public key e.g. https://www.google.com/ and press submit button Hostname reference image

Step 3: In the next screen you will get your SHA256 public key, see reference image below sha256 key reference image

==========================================================================

For you second point i.e. Implement root certificate public key pinning?

Now, if you are using url session then use URL session delegate method i.e. // User defined variables

private let rsa2048Asn1Header:[UInt8] = [
    0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
    0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00
]

private let yourPublicKey: "Your Public Key"

// MARK: URL session delegate:

func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    // your code logic
}

Find below the logic which I basically used:

    //MARK:- SSL Pinning with URL Session
func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    
    var res = SecTrustResultType.invalid
    guard
        challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
        let serverTrust = challenge.protectionSpace.serverTrust,
        SecTrustEvaluate(serverTrust, &res) == errSecSuccess,
        let serverCert = SecTrustGetCertificateAtIndex(serverTrust, 0) else {
        completionHandler(.cancelAuthenticationChallenge, nil)
        return
    }
    
    if #available(iOS 12.0, *) {
        if let serverPublicKey = SecCertificateCopyKey(serverCert), let serverPublicKeyData = SecKeyCopyExternalRepresentation(serverPublicKey, nil) {
            
            let data: Data = serverPublicKeyData as Data
            let serverHashKey = sha256(data: data)
            print(serverHashKey, serverHashKey.toSHA256())
            //comparing server and local hash keys
            if serverHashKey.toSHA256() == yourPublicKey {
                print("Public Key pinning is successfull")
                completionHandler(.useCredential, URLCredential(trust: serverTrust))
            } else {
                print("Public Key pinning is failed")
                completionHandler(.cancelAuthenticationChallenge, nil)
            }
        }
    } else {
        // Fallback on earlier versions
        if let serverPublicKey = SecCertificateCopyPublicKey(serverCert), let serverPublicKeyData = SecKeyCopyExternalRepresentation(serverPublicKey, nil) {
            
            let data: Data = serverPublicKeyData as Data
            let serverHashKey = sha256(data: data)
            print(serverHashKey, serverHashKey.toSHA256())
            //comparing server and local hash keys
            if serverHashKey.toSHA256() == yourPublicKey {
                print("Public Key pinning is successfull")
                completionHandler(.useCredential, URLCredential(trust: serverTrust))
            } else {
                print("Public Key pinning is failed.")
                completionHandler(.cancelAuthenticationChallenge, nil)
            }
        }
    }
}

Helper function to convert server certificate to SHA256

private func sha256(data : Data) -> String {
    var keyWithHeader = Data(rsa2048Asn1Header)
    keyWithHeader.append(data)
    var hash = [UInt8](repeating: 0,  count: Int(CC_SHA256_DIGEST_LENGTH))
    
    keyWithHeader.withUnsafeBytes {
        _ = CC_SHA256($0.baseAddress, CC_LONG(keyWithHeader.count), &hash)
    }
    return Data(hash).base64EncodedString()
}

If you are using Alamofire, then pass the domain path in the evaluators data in your alamofire session like below

    let evaluators: [String: ServerTrustEvaluating] = [
    "your.domain.com": PublicKeysTrustEvaluator(
        performDefaultValidation: false,
        validateHost: false
    )
]
let serverTrustManager = ServerTrustManager(evaluators: evaluators)
let session = Session(serverTrustManager: serverTrustManager)

Now use this session while calling your alamofire network request.

Hope, I will be able to help you here.

Thanks and regards.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): ==========================================================================
  • Low reputation (0.5):
Posted by: Satish Thakur

79247865

Date: 2024-12-03 13:53:59
Score: 5.5
Natty:
Report link

is running pgbouncer inside docker can cause to get lower tps?

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

79247861

Date: 2024-12-03 13:52:58
Score: 0.5
Natty:
Report link

The root cause of the issue was an incorrect specification of the googleServicesFile in the app.json within our Azure environment. The error message we encountered was somewhat misleading and didn’t accurately reflect the actual problem.

Here’s the relevant configuration:

"ios": {
  "googleServicesFile": "./GoogleService-Info.plist"
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rudy

79247853

Date: 2024-12-03 13:50:57
Score: 4
Natty: 4.5
Report link

Wow that was driving me nuts! Thank you

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

79247848

Date: 2024-12-03 13:48:57
Score: 1.5
Natty:
Report link

Install GO using the msi installer. Then:

export PATH=$PATH:/c/Program\ Files/Go/bin
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Qetesh

79247846

Date: 2024-12-03 13:48:57
Score: 0.5
Natty:
Report link

try this

[
{
    "AllowedHeaders": ["*"],
    "AllowedMethods": ["GET", "HEAD"],
    "AllowedOrigins": ["*"],
    "ExposeHeaders": ["Content-Type", "Content-Length", "ETag"],
    "MaxAgeSeconds": 3000
}

]

or use a proxy server if still its not working i.e fetch to node server then use in front-end

Reasons:
  • Blacklisted phrase (1): its not working
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shashank

79247844

Date: 2024-12-03 13:46:56
Score: 2.5
Natty:
Report link

only following is enough

tableView.insetsLayoutMarginsFromSafeArea = false

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

79247840

Date: 2024-12-03 13:45:56
Score: 1
Natty:
Report link

The page is called "Branches". The column in the table is called "Author". Every single adequate person would think that this is about a "branch author". But since this is a product from microsoft, we should use "alternative logic". This column is showing the author name of a last commit in that branch. The column could have been named "Last commit author".

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Victor Yarema

79247839

Date: 2024-12-03 13:45:56
Score: 2
Natty:
Report link

In c# "general" is used or general formatting of date and time , if we don't specify any format the default format provider used by the system might interpret the input string leading to a successful parse.

The DateTimeStyles(None, null) allow the system to parse based on the default system formats.

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

79247835

Date: 2024-12-03 13:44:55
Score: 0.5
Natty:
Report link

Rather than post my entire code for a related query for my org, I'll just post the snippet of showing how I joined hz_contact_points to hz_cust_accounts:

hz_cust_accounts hca,
hz_parties hp,
hz_cust_account_roles hcar,
hz_contact_points hcp
WHERE 
hca.party_id = hp.party_id (+)
AND hca.cust_account_id = hcar.cust_account_id (+)
AND hcar.contact_person_id = hcp.owner_table_id (+)

I see the above is joining to sites or relationship tables which is likely the problem since they likely aren't the same kind of IDs. I joined the contact_points table to cust_account_roles table that is then joined to the cust_accounts table and I think my results look correct to me.

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

79247826

Date: 2024-12-03 13:43:55
Score: 1
Natty:
Report link

this worked for me, go to advanced sharing option for the folder, then add administrator and provide full permission. after that launch Anaconda Navigator by running as administrator and it will work fine.

https://community.anaconda.cloud/t/i-cant-launch-jupyter-notebook-and-jupyterlab-permission-denied/77089

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ragib Hasan

79247817

Date: 2024-12-03 13:41:55
Score: 1
Natty:
Report link

Other possible source of error I have seen: Executing the statements from interactive python works, however, when trying to run as a script, the same circular import error can happen if the script file was named token.py, i.e.,

python token.py

will cause the import to fail. Rename your custom module.

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

79247815

Date: 2024-12-03 13:40:54
Score: 0.5
Natty:
Report link

The list of packages bundled with GHC forms what is collectively called the Haskell Hierarchical Libraries (sometimes also called Haskell Standard Libraries) and can be consulted here for the latest version of GHC.

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

79247808

Date: 2024-12-03 13:38:53
Score: 2.5
Natty:
Report link

rather place an empty div with id="bottom" at the bottom <div id="bottom>

then run this javascript when needed

document.querySelectorAll('#bottom')[0].scrollIntoView();

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

79247806

Date: 2024-12-03 13:37:53
Score: 2
Natty:
Report link

for IOS pwa you can use - https://median.co/. you can easily create ios pwa app.

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

79247801

Date: 2024-12-03 13:37:53
Score: 5
Natty: 5
Report link

what is the current state?I am looking for related content about how to use QEMU to simulate the error of memory strips, such as ECC error/memory particles error Under Chip Bank Row Col.Is it more convenient to write "memory error detection" software based on this platform?For example, Passmark related memory error address analysis?This seems to involve CPU simulation.I learned that there is a paper called MH-QEMU MEMIRY-State-AWARE FAULT Inject Platform may be a bit connected.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (1):
Posted by: HuaLi

79247799

Date: 2024-12-03 13:36:53
Score: 2.5
Natty:
Report link

I successfully solved the problem by cold rebooting my machine! If you meet the same problem, first you should check you nvidia-driver cuda version and nvcc version. After upgrade your nvidia-driver and nvcc, you should cold reboot your machine, donot hot reboot machine!

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

79247790

Date: 2024-12-03 13:33:51
Score: 1.5
Natty:
Report link

I know this was already answered but just a friendly reminder that you may need to delete your package-lock.json if you were doing any npm link tom foolery for local development

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

79247781

Date: 2024-12-03 13:31:51
Score: 0.5
Natty:
Report link

Problem was a beginner mistake - but it also was not properly stated in the docs...

If you install GeoNode using Docker, you need to enter the respective Docker container in order to execute commands affecting GeoNode:

python manage.py collectstatic

becomes for example:

docker exec -t django4[geonode project name] python manage.py collectstatic

this executes the command inside the Django Docker container

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

79247774

Date: 2024-12-03 13:27:50
Score: 2.5
Natty:
Report link

When you are using aggregation function you have to in GROUP BY clause list every column which you have in your SELECT, so you have to list A.restaurant_id in GROUP BY becouse you use this column in SELECT.

In my opinion you haven't to using B.restaurant_name, A.restaurant_id is enough.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: Kacper Grabarczyk

79247770

Date: 2024-12-03 13:26:49
Score: 7 đźš©
Natty: 6.5
Report link

I'm currently undertaking the same course. I'm confused about line 5. Can someone please explain what f and 2f do on this line? Is it a variable I use in calculating the tip?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can someone please explain what
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: David Brown

79247766

Date: 2024-12-03 13:25:48
Score: 1.5
Natty:
Report link

The memory saving of diskann is actually based on two thing,

  1. PQ you use -> we recommend to use 1/16 or 1/32 PQ
  2. cache size generally speaking diskANN can help you to save 3-10x memories. to learn more about diskANN, check https://zilliz.com/learn/DiskANN-and-the-Vamana-Algorithm

For 10M 3072dim data, a rough guess is 64GB diskANN is good enough.

Another suggestion is to try our managed service zilliz cloud, we offered capacity instance which use a index sharing similar idea of diskANN.

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

79247763

Date: 2024-12-03 13:24:48
Score: 1
Natty:
Report link

Kotlin's raw strings (""" ... """) primarily offer simplicity and readability over escaped strings when dealing with multi-line or complex text. While they don't inherently provide a performance benefit during execution (as all strings are ultimately processed as String objects in the JVM), there are several practical advantages and specific use cases where raw strings shine. Let's break it down:


Advantages of Raw Strings

  1. Simplified Syntax:

    • No need for escape sequences (\n, \t, etc.).
    • Easy to include quotes (") or backslashes (\) without escaping them.
    • Improves readability and reduces chances of errors when dealing with complex strings.
  2. Preservation of Format:

    • Retains the original formatting, including indentation and newlines.
    • Useful for handling preformatted text such as logs, configuration files, or code snippets.
  3. Ease of Multi-line Strings:

    • Multi-line content is written naturally, without the need for concatenation or explicit newline characters.
  4. Improved Debugging and Maintenance:

    • Raw strings are easier to read and modify, making them ideal for long strings or those that will be reviewed or edited often.

Use Cases for Raw Strings

1. Handling Multi-line Text

Example:

val multiLineText = """
    Dear User,
    Thank you for using our application.
    
    Regards,
    Kotlin Team
""".trimIndent()

2. Embedding Code or SQL

Example:

val sqlQuery = """
    SELECT * FROM users
    WHERE age > 18
    ORDER BY name ASC;
""".trimIndent()

3. Configuration Files or JSON/XML Content

Example:

val jsonConfig = """
    {
        "name": "Kotlin App",
        "version": "1.0.0",
        "features": ["raw strings", "multi-line", "readability"]
    }
""".trimIndent()

4. Improved Logging

Example:

val logMessage = """
    [ERROR] An exception occurred:
    - Type: NullPointerException
    - Message: Object reference is null
    - Time: 2024-12-03 14:00:00
""".trimIndent()

Do Raw Strings Offer Performance Benefits?


When to Prefer Raw Strings

In general, choose raw strings for readability and ease of use, especially in scenarios where string formatting matters.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Regards
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Asghar Hosseini

79247761

Date: 2024-12-03 13:23:48
Score: 3
Natty:
Report link

can we just run 2 cmd at same time

Ubuntu

./gradlew assembleRelease && pkill java

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): can we
  • Low reputation (0.5):
Posted by: mzaifquraishi

79247760

Date: 2024-12-03 13:23:48
Score: 3.5
Natty:
Report link

I used the mono project objects and code instead of the microsoft ones. e.g.:CommonSecurityDescriptor

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Amir M

79247759

Date: 2024-12-03 13:22:48
Score: 1.5
Natty:
Report link

This is enough!

.q-focus-helper {
  visibility: hidden;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Uhelliton

79247758

Date: 2024-12-03 13:22:47
Score: 0.5
Natty:
Report link

After fiddling, I found that this works

$job = Start-Job -ScriptBlock { ....
$null = Wait-Job $job | Out-Null
$output = Receive-Job $job -Wait -AutoRemove | Out-Null
$job = $null | Out-Null

note I had to restart the PS editor many times since it does not always take the modifications (VS Code or integrated PS editor)

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

79247756

Date: 2024-12-03 13:21:47
Score: 1
Natty:
Report link

Depends.

You notified others that you are going to make a change in this cacheline, which means you know what you are going to change in this cacheline. Simply, you can't scream to others "Hey, i'm going to change this block" without any idea about the new value, since you are an engineer, not a politician. =)

If this later load request, wants to read the part of the cache line you won't change, there is no difference between S or SM^AD.

If this later load request, wants to read the part of the cache line you will change, if a cacheline is in SM^AD stated, that means you'll change a part of this cacheline, maybe all of it, you should know the data you'll change right? Cache took that part of data in the older store request. So you have the data you'll write. You can respond with data you are holding to change, to this new request.

But ofc order of the load-store sequence should be kept till cache. Cache shouldn't see a load-store sequence as a store-load. (If you can escape from wrong responses in LSU or somewhere, it is ok too)

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

79247747

Date: 2024-12-03 13:18:46
Score: 1
Natty:
Report link

A googler said:

The current behavior is working as intended. partialUpdate is not intended to be used for merging tree structure. In those cases, its safer to just push the full remoteViews, instead of keeping track to what sizes were pushed in the previous update (as the sizes could also have changed by then)

https://android-review.googlesource.com/c/platform/frameworks/base/+/3370144/comments/3206c3d3_c34e247a

It appears to be an undocumented works-as-intended limitation.

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

79247744

Date: 2024-12-03 13:18:46
Score: 0.5
Natty:
Report link

Update by Docker image version

It didn't work

I updated the Docker images like this:

Commit

But, the website threw the 500 error:

500 error

Bad restore

I had taken backups of Docker named volumes by this approach: https://stackoverflow.com/a/79247304/3405291

So, I did restore the Docker named volumes. However, the website threw this error:

Error establishing a database connection

Database error

Fix restore

The database connection error got fixed. To do so, I deleted everything inside the database volume by rm -rf * command:

/var/lib/docker/volumes/wordpress_dbdata/_data/

Then I restored the Docker volume of the database.

This screenshot shows the contents of the database volume before deleting/restoring and after:

Database volume: before & after

As can be seen, before deleting everything, there were some extra files. Probably those files were messing around with the database connection.

Implication

The update by modifying the version of Docker images didn't work. But backup/restore helped us.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Megidd

79247735

Date: 2024-12-03 13:14:45
Score: 0.5
Natty:
Report link

Following this issue, geographika proposed a workaround that I'm using for my own documentation:

.. raw:: html

   <div style="height: 0; visibility: hidden;">

My Title
========

.. raw:: html

   </div>

I added the height: 0; to avoid the title taking vertical space within the document.

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

79247717

Date: 2024-12-03 13:09:44
Score: 1.5
Natty:
Report link

To make whole list box read-only, you can set SelectionMode property to None. It will create read-only kind of Listbox.

listBox.SelectionMode = SelectionMode.None;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vishwasa

79247710

Date: 2024-12-03 13:06:43
Score: 3.5
Natty:
Report link

No, you cannot get by with just the offset. The math is complex, but in a nutshell, the delay is used to determine the best (offset, delay, dispersion, time) sets from the arriving packets to use to discipline the clock. The only/best place I've found that explains this well is in section 3.5, "Clock Filter Algorithm" on page 43 in the "Computer Network Time Synchronization: The Network Time Protocol" book by Dr. David L. Mills. As of this writing, a later version of this book can be found online here: http://lib.uhamka.ac.id/file?file=digital/47911-eBST-11030034.pdf. In this version, the relevant section is 3.7 on page 48. https://www.eecis.udel.edu/~mills/ntp/html/filter.html also explains it, but not as well. The SO link might help with the understanding, as well: How does NTP Clock Discipline work?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
Posted by: Andrew

79247703

Date: 2024-12-03 13:04:42
Score: 2
Natty:
Report link

Check the TERMINAL tab, not the OUTPUT tab, for your Ruby program's

ruby /home/dell1/rubytest.rb

enter image description here

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

79247701

Date: 2024-12-03 13:03:42
Score: 2.5
Natty:
Report link

It was not because of tensorflow. It is because of Keras, as you can see here

It needs Keras > 3.0. My Keras was also at 2.8.

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

79247690

Date: 2024-12-03 12:59:40
Score: 1.5
Natty:
Report link

The solution is:

  1. Switch to x86 instead of x64 in VS
  2. Remove Oracle.ManagedDataAccess.Client
  3. Install System.Data.OracleClient
  4. Update HomeController.cs with System.Data.OracleClient usage

Connection string is "OracleConnection": "Data Source=113.44.31.151:1521/SID;User Id=USR1;Password=PASSw2;Pooling=true;"

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

79247687

Date: 2024-12-03 12:58:40
Score: 3
Natty:
Report link

OpenAI version 1.55.2 contains a bug resolved in OpenAI version 1.55.3.

In the Streamlit case, edit the version in requirements.

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

79247685

Date: 2024-12-03 12:58:40
Score: 1
Natty:
Report link

Use the syncTagsWithType, ex:

$article->syncTagsWithType($this->selectedTags, 'secondType');
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: francisco

79247680

Date: 2024-12-03 12:56:39
Score: 3
Natty:
Report link

Hosting locally requires your device to be on 24/7. You should invest in a VPS to host your code continuously.

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

79247677

Date: 2024-12-03 12:55:38
Score: 6.5 đźš©
Natty: 6
Report link

here yawl go took me 3 min to make https://github.com/CCwithAi/MVP-YouTube-Transcript-Scraper

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

79247674

Date: 2024-12-03 12:54:38
Score: 3.5
Natty:
Report link

I have had some issues recently with a WinU3 application which terminated in visual studio without generating any exceptions. My only solution was to comment out code test and uncomment until I got to the bottom of the issue.

Reasons:
  • Blacklisted phrase (1): to comment
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Niall O'Dwyer

79247671

Date: 2024-12-03 12:52:37
Score: 1
Natty:
Report link

The web resource adx_annotations/adx.annotations.html is included with Power Pages installations that leverage the file attachment feature with Azure Blob Storage. If it's not visible, please check the following steps:

  1. Verify Installation: Ensure that the required Power Pages solution and its dependencies are installed correctly in your environment. Check for any pending updates in the Power Platform Admin Center.
  2. Search for the Web Resource:Navigate to Advanced Settings > Customizations > Customize the System > Web Resources. Look for adx_annotations/adx.annotations.html.

If it's missing, it may not have been included during installation, or you might need to reinstall/repair the solution.

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

79247664

Date: 2024-12-03 12:50:36
Score: 1.5
Natty:
Report link

I am writing this for those who will encounter this problem in the future. This solution led me to another problem but it does not give this error anymore. The problem is caused by the inability to isolate some files when working with more than one hyperledger fabric version. When I tracked the source of the error, I saw that the fabric-network folder in the node_modules folder caused this error. Because it is not used in Hyperledger Fabric v2.4 and later versions (https://www.npmjs.com/package/fabric-network) and Fabric Gateway needs to be used instead. If you delete the relevant folder or adjust your runtime environment accordingly, this problem will be solved.

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

79247659

Date: 2024-12-03 12:49:36
Score: 2
Natty:
Report link

To fix this typescript error, add the following line:

import type {} from '@mui/material/themeCssVarsAugmentation';

see https://mui.com/material-ui/customization/css-theme-variables/usage/#typescript

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

79247634

Date: 2024-12-03 12:41:34
Score: 2
Natty:
Report link

Working for latest Angular v18 and v19

STEP 1: add import in app.config.ts

import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';

STEP 2: add provideAnimationsAsync in the providers array

providers: [ provideAnimationsAsync(), ]

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

79247626

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

if you are reffring to the space in gray color around the iframe element it can not be removed so if you dont want it use object tag with #view=fit parameter

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

79247617

Date: 2024-12-03 12:37:33
Score: 0.5
Natty:
Report link

We can do comparison directly by using WHERE clause, try following query:

select 
  (apply_json_data -> 'companyInformation' -> 'operationalAddress' ->> 'state') AS statvalue
from
  sat_application_apply
where 
  (apply_json_data -> 'companyInformation' -> 'operationalAddress' ->> 'state') = 'apple';

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Trushaba B. Jadeja

79247606

Date: 2024-12-03 12:33:32
Score: 0.5
Natty:
Report link

It ended up, that the IT did not set up correctly the DNS. Once fixed the A-Record(s), it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Emaborsa

79247605

Date: 2024-12-03 12:33:32
Score: 5
Natty: 4
Report link

for the last 3 years, I am looking for this. It is very surprising still there is no feature/development/application like that in 2024. Do you think can it be implemented easily with some coding ? (i don't want to juggle with windows handles)

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yuuyake

79247602

Date: 2024-12-03 12:32:31
Score: 3
Natty:
Report link

You can also convert Polars df to pandas df using .to_pandas() method, and then save to csv with mode="a+"

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

79247598

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

There seems to be an issue with the Node.js version, and there is a discussion about it in Prisma#25560. Some of the suggested solutions are:

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: TedMeftah

79247595

Date: 2024-12-03 12:30:31
Score: 5
Natty: 5
Report link

Depois de muito pesquisar descobrir que a solução é bastante simples. Só é necessário liberar o ip da sua maquina no firewall.

Reasons:
  • Blacklisted phrase (2): solução
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28606581

79247587

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

In case of using poetry, then simply: poetry add rpds

Docs

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

79247573

Date: 2024-12-03 12:26:29
Score: 2.5
Natty:
Report link

Yes this working "Click "Add" then tick both "Public" and "Private" checkbox" because sometime server automatic after restart change this check or other work by server - not change bind-address

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

79247571

Date: 2024-12-03 12:26:29
Score: 3.5
Natty:
Report link

Here is a link to a research paper comparing ZMQ vs gRPC

https://www.academia.edu/download/118825464/Comparative_Analysis_OF_GRPC_VS._ZeroMQ_for_vis3.pdf

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