79521780

Date: 2025-03-20 02:54:54
Score: 3
Natty:
Report link

Maybe you can try to check and enable the 3D acceleration.

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

79521779

Date: 2025-03-20 02:52:53
Score: 1
Natty:
Report link

In TablePlus you can do it visually as well, I couldn't drag the fields tho I just changed the number in the # column and hit cmd+s to save

Screenshot of TablePlus' Table Structure view

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

79521771

Date: 2025-03-20 02:46:52
Score: 3
Natty:
Report link

In case someone will look for Autocomplete plugin, here is snippet for Autocomplete with HTML Support:

https://uikit.plus/snippets/autocomplete-with-html-support-67db6ec9d7b531f2738c0e72

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

79521769

Date: 2025-03-20 02:40:51
Score: 5
Natty:
Report link

I have a multipage streamlit app. To add pages, i use:

st.set_page_config(page_title="Admin Overview", page_icon="🌎",layout="wide")

However, the fontcolor of the page title in my sidebar is black, eventhough I want it white. I cannot change the colour since the css styling for sidebar only occurs for texts in sidebar and not the page title. Please help!

Screenshot of streamlit webapp sidebar

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (3): Please help
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sek Yi Chin

79521757

Date: 2025-03-20 02:32:49
Score: 4
Natty:
Report link

Found answer here: https://stackoverflow.com/a/76462352/26635937

Issue with ~/.zshrc file and PATH within that file.

Had to reinstall cocoa pods with a specific path and then put that path into the .zshrc file

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kurtis

79521754

Date: 2025-03-20 02:31:48
Score: 2.5
Natty:
Report link

Yes, Gemini GenerativeModel has a native async API implementation - generate_content_async. You can easily wrap it under async client framework such as Python asyncio.

This blog from Paul Balm went in detail with sample code on how to prompting Gemini async natively.

Reasons:
  • Blacklisted phrase (1): This blog
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gang Chen

79521749

Date: 2025-03-20 02:26:47
Score: 1.5
Natty:
Report link

Following the @Intu answer. You need a background service, otherwise spring will fail. Adding a simple nginx worked to me.

services:
  example:
    image: nginx
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Intu
Posted by: Nakamoto

79521748

Date: 2025-03-20 02:23:47
Score: 0.5
Natty:
Report link

I use for-loop to interate all events of graph

def stream_graph_updates(user_input: str):
    for event in graph.stream({"messages": [{"role": "user", "content": user_input}]}, subgraphs=True):
        for value in event:
            print("Assistant:", value)
            print("----")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: happy

79521731

Date: 2025-03-20 02:06:44
Score: 2.5
Natty:
Report link

I guess I was wrong asking on stackoverflow in the first place

anyway, if somebody has the same problem as me and stumble this post. you can try running this on the terminal, I have no more crash so far after using it

defaults write com.apple.dt.Xcode DVTDisableAutocomplete -bool YES
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hakim apg

79521722

Date: 2025-03-20 01:56:42
Score: 4
Natty: 4.5
Report link

I'll have to get back to you on that one.

do you like my app

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: jacob kowalski

79521720

Date: 2025-03-20 01:55:42
Score: 2.5
Natty:
Report link

First, rename the workbook.names something like this: filteredname.name="x"

Then filteredname.Delete

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

79521709

Date: 2025-03-20 01:40:39
Score: 1.5
Natty:
Report link

One way to achieve this with Java Optional type:

public void f() {
    final int a = Optional.<Integer>empty().orElseGet(() -> {
        try {
          return operationCanThrow();
        } catch(final Exception e) {
          return 42;
        }
    });
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alex Diaz

79521702

Date: 2025-03-20 01:32:38
Score: 2
Natty:
Report link

export const config = {
  matcher: [
    '/((?!api|_next/static|_next/image|favicon.ico).*)',
  ]
}

This peace of code in middleware helped me

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

79521694

Date: 2025-03-20 01:26:37
Score: 0.5
Natty:
Report link

I found a way to achieve this despite there be no official "official" way to do it (and no roadmap to add this feature by Microsoft).

Done on Microsoft Visual Studio Professional 2019 Version 16.11.41

  1. First, open the diff from the Git Changes window.

enter image description here

1.b It is important to actually Keep the tab open (click the Keep Tab Open button.

enter image description here

  1. Keep the view mode on Side by side on the Compare files toolbar

enter image description here

  1. Right click on the file again in the Git Changes window, and select Compare with Unmodified...

enter image description here

  1. Place your newly opened window on the bottom (or top) by dragging the tab so it allow you to place it at the bottom half of the screen. Now you have two split screens.

enter image description here

  1. Now just drag the windows in each split screen aside to show what you want to see in each.

enter image description here

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

79521691

Date: 2025-03-20 01:23:36
Score: 1
Natty:
Report link

The NodeMouseClick event can be called from the BeforeExpand event, passing the latter's sender object and a TreeNodeMouseClickEventArgs constructed from BeforeExpand's Event Args, well mostly. If the X and Y args aren't needed, pass nulls. Otherwise these values, which differ by a few pixels from the X,Y values passed to NodeMouseClick, may be cached during the MouseDown event preceding BeforeExpand, then used in the latter. Calling NodeMouseClick this way results in no double firing apparently because the call is flagged internally and can only fire once until such flag is reset, which would be at least following the AfterExpand event. However, a blocking bool could be set in NodeMouseClick and cleared in AfterExpand or MouseUp if one were concerned about it. Anyway, the NodeMouseClick can be forced to happen for the last node in the tree at the current level, which would not happen in the normal usage unless there is sufficient clearance between the last node and the lower edge of the Treeview window, and this seems to be a design bug.

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

79521689

Date: 2025-03-20 01:20:36
Score: 1.5
Natty:
Report link

It might not be the most ideal way, but I have cracked half the challenge by creating an identical table (history) with an Append step to add the rows from the table (staging) with the main query. Now when I edit the staging table query to just get the data from the date it was last run (manually entered), it them adds result to the history table.

Next step would be to figure out if there is a way to automatically update the date to the last time it was run.

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

79521688

Date: 2025-03-20 01:19:35
Score: 2
Natty:
Report link

try to set steps in predict function

model.predict(test_dataset_sim, steps=steps)

and the steps is the length of your test_dataset_sim / test_batch_sz

thanks.

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

79521671

Date: 2025-03-20 01:01:31
Score: 4
Natty:
Report link

"false on immediate error, true if bonding will begin"

https://developer.android.com/reference/android/bluetooth/BluetoothDevice#createBond()

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

79521661

Date: 2025-03-20 00:56:30
Score: 2.5
Natty:
Report link

lamblichus's suggestion worked perfectly

I switched to Desktop app from Web Application and it seemed to work no problem

Only thing I had to do was to add my email as a test user

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

79521657

Date: 2025-03-20 00:52:30
Score: 1
Natty:
Report link

For anyone new to this error, I had this issue but it was due to using a conda environment that didn't have it installed. The fix I used was running this in a jupyter notebook!

%conda install statsmodels
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: julia

79521655

Date: 2025-03-20 00:50:29
Score: 3.5
Natty:
Report link

Using the code below in cmd worked, of course you have to install ffmpeg, Thank you @rogerdpack for posting the link of the other stack, where I found solution link of the alexa docs https://developer.amazon.com/de-DE/docs/alexa/custom-skills/speech-synthesis-markup-language-ssml-reference.html#h3_converting_mp3

ffmpeg -i <input-file> -ac 2 -codec:a libmp3lame -b:a 48k -ar 24000 -write_xing 0 <output-file>

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rogerdpack
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Boban BoBo Banjevic

79521648

Date: 2025-03-20 00:40:27
Score: 3
Natty:
Report link

Finally, after testing a lot, I found that by changing Deploy to Heroku Git and then changing Settings. Automatically Deploy move to Github Connected, preserving the new values for env var you modified.

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

79521645

Date: 2025-03-20 00:35:26
Score: 0.5
Natty:
Report link

This is clearly a Factory pattern. The class is dynamically choosing between different objects based on input, which is the essence of the Factory design—creating different instances on demand. The Strategy pattern, on the other hand, is about varying behavior, not creating objects. So, no doubt, this is Factory all the way.

But wait a second. Maybe it is a Strategy pattern, just a slightly twisted one. What if those objects—singletonA and singletonB—represent different strategies for handling some sort of operation? If the input is deciding which algorithm (or strategy) to use based on context, maybe this is the Strategy pattern, albeit through a bizarre object instantiation lens.

I have no idea

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

79521643

Date: 2025-03-20 00:34:26
Score: 0.5
Natty:
Report link

The documentation of stats::lowess might provide a hint:

delta: Defaults to 1/100th of the range of x.

Could be that your default value that makes no sense. For me, submitting a sensible value to the function fixed the problem.

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

79521638

Date: 2025-03-20 00:28:25
Score: 1
Natty:
Report link

As said in comments, Node is running on your server and using GMT when your browser is using local timezone, which seems to be Paris. That is why you have +1 hour.

About different display, JavaScript interpreter is not the same in your browser and Node, they both have different rules.

If you want the exact same display, you should specify the display you want instead of leaving the default one.

See : JavaScript Date doc

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jean-Loup

79521634

Date: 2025-03-20 00:23:23
Score: 1
Natty:
Report link

One possibility is that it can be deleted safely and may be out of sync with the project because of changes that the IDE could not understand.

To test this, you can create a backup folder outside the project folder, move the folders there, then Run the project again.

For example, the contents of a build folder (whether it's compiled bytecode or other artifacts) may be created each time a compiled language is compiled. This folder and its contents may be created by the IDE each time the user runs the program.

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

79521633

Date: 2025-03-20 00:23:23
Score: 1
Natty:
Report link

It's possible that the port the local IP is trying to use is occupied by Nginx or another server. You should verify this and, if that's the case, run the project on a different port

expo start --port 8082 o npx start --port 8082

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

79521619

Date: 2025-03-20 00:04:19
Score: 4
Natty:
Report link

I already solved it, I changed the data source formula to English and that's it haha, thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sandy López

79521618

Date: 2025-03-20 00:01:18
Score: 2.5
Natty:
Report link

vscode 1.98.2 from wsl on win11 still buggy
terminal, ls -al if ctrl click no open, instead puts file name into search bar at top
then try ls now ctrl click opens . . now ls -al .. ctrl click can open!

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

79521614

Date: 2025-03-19 23:58:18
Score: 1
Natty:
Report link

You can now use the :has() pseudo-class to achieve this.

.wrapper:has(.child2) {
  color: red;
}

Refer to https://caniuse.com/css-has to check if your target browser supports it.

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

79521613

Date: 2025-03-19 23:56:17
Score: 1.5
Natty:
Report link

I was able to prevent the blue tint for my Tab Refresh extension while keeping the desired greyscale color to match Safari's native icon color.

I added a 2.5px blue stroke to the outside of my vector arrow. Small enough that you don't actually see it, but apparently large enough for Safari's processing to think the icon should be rendered in it's original color.

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

79521608

Date: 2025-03-19 23:54:17
Score: 2.5
Natty:
Report link

I got it solved somehow,
I think the issue is from Telegram's side, it's how the "game" (created with /newgame) behaves,
Instead of using "game", I publish my game as "mini-app" (created with /newapp) then the issue went away (I can process IAP with both PC and Android Telegram)

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

79521606

Date: 2025-03-19 23:52:17
Score: 1
Natty:
Report link

tsconfig.json if you followed instruction from prisma then add "lib/**/*.ts" from include

for example: "include": ["next-env.d.ts", "/*.ts", "/.tsx", ".next/types/**/.ts","lib/**/*.ts"],

ctrl + shift + p then restart typescript restart server assuming you followed instruction from prisma. they changed from global.d.ts => lib/prisma.ts not sure which one you followed. instruction are different than year ago make sure you check your version

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: 이재찬

79521589

Date: 2025-03-19 23:32:13
Score: 1.5
Natty:
Report link

The groups are created within the match, so to make each word a group you have to make that number of matches. I tried the below RegEx with RegexBuddy .NET flavour and I got the expected result. However, with this approach, you will get multiple matches and within each match, Group 1 will hold the value of the captured word.

([A-Z]+),?

enter image description here

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Hemendr

79521585

Date: 2025-03-19 23:29:13
Score: 0.5
Natty:
Report link

If

import { ReactiveFormsModule } '@angular/forms';

is the desired output of the template when the conditional is true, then it should not be wrapped in a template tag.

<% if( componentType === 'custom form control' ) { %>

import { ReactiveFormsModule } '@angular/forms';

<% } %>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hughc

79521572

Date: 2025-03-19 23:17:10
Score: 6
Natty: 7
Report link

Thanks very useful info here, still valide in 2025. Any similar trick to download the caption file that comes with the video (srt a/o vtt)?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dam_ged

79521556

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

This might be helpful to you!

Here: https://chatgpt.com/share/67db4bc0-db2c-8005-a101-ef84a38fcbf0

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Panchal Mukunda K

79521554

Date: 2025-03-19 23:01:06
Score: 1.5
Natty:
Report link

What about this:

echo " a b c " | for i in $(xargs) ; do echo "$i"; done

Result:

a
b
c
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
Posted by: Rodney Salcedo

79521552

Date: 2025-03-19 23:00:06
Score: 1
Natty:
Report link

The trick is VRRP (112) is the protocol, it is not UDP, so raw sockets have to be used.

// VRRP is the protocol, not UDP.
int sockfd = socket(AF_INET, SOCK_RAW, VRRP_PORT);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Matthew

79521549

Date: 2025-03-19 22:59:06
Score: 1.5
Natty:
Report link

For what it is worth, the lines:

bundle lock --add-platform x86_64-linux-gnu
bundle install

... added this to your Gemfile.lock file, but did Not solve the require': cannot load such file -- nokogiri (LoadError).

enter image description here

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

79521543

Date: 2025-03-19 22:55:05
Score: 2.5
Natty:
Report link

In my case, redirect works without trailing '/', however, it's giving this error

[ERROR] 0-6k09icbjhc9gesr99odbno4ftd - Error: Token Endpoint not defined

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

79521537

Date: 2025-03-19 22:52:04
Score: 5.5
Natty:
Report link

I am looking for detailed insights into the latest AI models and techniques used for natural language processing, including their applications and limitations.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: halluminateevaluations

79521524

Date: 2025-03-19 22:43:02
Score: 1
Natty:
Report link

It is possible to retrieve the status of a specific issue in Snyk using their new REST APIs: https://docs.snyk.io/snyk-api/reference/issues

You can check the status of an issue which can have values open or resolved. This value is derived from the resolution field, which provides additional details.

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

79521523

Date: 2025-03-19 22:43:02
Score: 0.5
Natty:
Report link

During a cold start, Cloud Run loads the last built image which seems to include the built time cache. You can disable caching in your Next.js app so that it always fetches the latest data. For example, you can set the cache option to no-store in a fetch request. However, this might lead to higher costs since Firestore charges for every read operation.

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

79521522

Date: 2025-03-19 22:42:01
Score: 4.5
Natty: 5
Report link

https://github.com/onotelli/justniffer

justniffer reassembles TCP packets in C

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

79521516

Date: 2025-03-19 22:38:01
Score: 1.5
Natty:
Report link

Yes, you can use JavaScript to achieve this. The AI command which you were using context is wrong as well.

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

79521499

Date: 2025-03-19 22:24:58
Score: 2
Natty:
Report link

Solved it simply by just doing:

res = subprocess.run(['git', 'diff', '--cached', '--name-only'], text=True, capture_output=True, check=True)
lines_to_update = res.stdout.strip().split('\n')

It does what I want but still very confused why pre-commit just do not support this out of the box already.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Salviati

79521497

Date: 2025-03-19 22:21:58
Score: 0.5
Natty:
Report link

In PowerAutomate, you should be able to create one or more workflows to extract data from each MS Project and merge them in a single spreadsheet or create individual spreadsheets per project if they don't have the same data structure.

After that, you create a PowerQuery to consolidate and clean your data (using the above spreadsheets as a source) in your desired format. Once the entire workflow is in place, you can manually trigger updates by refreshing the queries in Excel. This is what I usually do for work - I place my source spreadsheet files in a directory that I own in Sharepoint. Then, I can quickly grab the live version of Excel via PowerQuery at any moment.

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

79521481

Date: 2025-03-19 22:14:56
Score: 2
Natty:
Report link

Just wondering if you've figured out the reason. I'm in a similar situation—my SSM connection was accepted for the session in the terminal, but the pgAdmin connection failed with a "Unable to connect to server: connection timeout expired" error.

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

79521472

Date: 2025-03-19 22:08:55
Score: 1.5
Natty:
Report link

Like the above user said, all you need to do is use MessageBox.

#include <windows.h>
MessageBox(NULL, "Hello!", "Notice", MB_OK | MB_ICONINFORMATION);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Ukhin

79521470

Date: 2025-03-19 22:06:54
Score: 0.5
Natty:
Report link
Element("Shape", {"ID": "100", "name": "Process", "type": "Shape"}

Where is this shape coming from? Normally with Visio you need to have a stencil open and reference a shape master within that stencil.

On top of that a shape that has been added to a page needs to have a height and width, as well as X and Y coordinates.

Also you have no line style, the shape might be being created but invisible against the background.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Where is this
Posted by: Paul Herber

79521458

Date: 2025-03-19 21:57:53
Score: 0.5
Natty:
Report link

I ended up finding the file java.text in the following 3 directories

COPY java.txt /usr/share/crypto-policies/DEFAULT/java.txt
COPY fips.java.txt /usr/share/crypto-policies/FIPS/java.txt
COPY future.java.txt /usr/share/crypto-policies/FUTURE/java.txt

I updated each to exclude SHA1withRSA from

jdk.certpath.disabledAlgorithms

and this allowed my Keycloak Docker container to connect with TLS to my Postgres Docker container.

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

79521454

Date: 2025-03-19 21:54:52
Score: 1
Natty:
Report link

So, first, use pprof tool from github.com/google/pprof. It is much better.

Second, those "missing" dylibs are actually missing. Kinda. OSX now has some sort of linker cache or something and a number of system libraries are there. So pprof won't be able to symbolize addresses inside those. But in many cases it is harmless. New pprof will still plot something like [libiconv.2.dylib] in place of actual functions if you have them in profile.

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

79521448

Date: 2025-03-19 21:51:51
Score: 3
Natty:
Report link

I've found the problem, it was on my code itself, I was calling "take_damage" into my object which is acctually attacking instead of in one of is elegible to take damage

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

79521437

Date: 2025-03-19 21:40:50
Score: 1
Natty:
Report link

Bonsoir a tous j'ai eu ce meme probleme de TypeError : impossible de lire la propriété « getAll » de null lors de l'utilisation de react-native-contacts et je vais vous expliquer par etape:

1 apres avoir effectuer toutes configurations que tu as presenté je n'arrivais pas a recuperer les contacts.

2 j'ai supprimer, les packages suivants node_module,yarn.lock ou package-json.lock, android/.gradle,android/build, android/app/build.

3 Redemarer ma machine et supprimer le android/cache dans le disque dur .

4 relancer le projet avec vscode et lancer yarn install ou npm install. et tout s'est bien passé.

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

79521436

Date: 2025-03-19 21:40:50
Score: 1
Natty:
Report link

nltk.edit_distance() is the first reputable implementation I could find of Levenshtein edit-distance.

python
from nltk import edit_distance

# Prints '2', one deletion plus one insertion
print(edit_distance('apple','appel'))

Mostly just sharing this because it's what I was looking for when I found this page.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
  • Low reputation (1):
Posted by: SelfTaughtProgrammer

79521431

Date: 2025-03-19 21:33:49
Score: 0.5
Natty:
Report link

if a user presses a button too fast by navigation screens, the error can appear.

my solution was to disable the button after the first press

bool buttonsafe = true
...
onPressed: buttonsafe ?  _submit : null,
...
_submit:
 setState(() {
        buttonsafe = false;
      });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AlexF1

79521428

Date: 2025-03-19 21:32:49
Score: 3.5
Natty:
Report link

Yes, same issue. After installing 1.26.4, you need to "Restart Session" and re-import numpy. It's strange that they haven't updated their release notes yet (https://colab.research.google.com/notebooks/relnotes.ipynb)

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

79521427

Date: 2025-03-19 21:32:49
Score: 1
Natty:
Report link

You need to enter the owner's account and password to guarantee privacy and security because this device may be erased or Lost Mode. After they are verified, you can use this device normally.

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

79521419

Date: 2025-03-19 21:23:47
Score: 3
Natty:
Report link

I believe the problem here is related to the Windows CPU scheduling on the laptop that I am running this code on, as @Tangentially Perpendicular suggested. This is a "corporately managed" laptop with good hardware (13th gen i9 processor, 64 Gb RAM) but a lot of control software running in the background. This exact code ran on an unmanaged, offline laptop without any of the issues described above.

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

79521413

Date: 2025-03-19 21:21:46
Score: 3.5
Natty:
Report link

Maybe if you put the (plt.show() and plt.clf() ) out of the for loop. Good luck.

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

79521408

Date: 2025-03-19 21:18:46
Score: 3
Natty:
Report link

Span are inline element, block element like

can not be a child to inline element, that's the reason for the error.

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

79521407

Date: 2025-03-19 21:18:46
Score: 0.5
Natty:
Report link

Multiple HttpSecurity Instances

To effectively manage security in an application where certain areas need different protection, we can employ multiple filter chains alongside the securityMatcher DSL method. This approach allows us to define distinct security configurations tailored to specific parts of the application, enhancing overall application security and control.

We can configure multiple HttpSecurity instances just as we can have multiple <http> blocks in XML. The key is to register multiple SecurityFilterChain @Beans. The following example has a different configuration for URLs that begin with /api/:

@Configuration
@EnableWebSecurity
public class MultiHttpSecurityConfig {
        /** 1. Configure Authentication as usual.**/
    @Bean                                                         
    public UserDetailsService userDetailsService() throws Exception {
        UserBuilder users = User.withDefaultPasswordEncoder();
        InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
        manager.createUser(users.username("user").password("password").roles("USER").build());
        manager.createUser(users.username("admin").password("password").roles("USER","ADMIN").build());
        return manager;
    }
        /** 2. Create an instance of SecurityFilterChain that contains @Order to specify which SecurityFilterChain should be considered first. **/
    @Bean
    @Order(1)                                                   
    public SecurityFilterChain apiFilterChain(HttpSecurity http) throws Exception {
        http
                        /** 3. The http.securityMatcher() states that this HttpSecurity is applicable only to URLs that begin with /api/. **/
            .securityMatcher("/api/**") //3                             
            .authorizeHttpRequests(authorize -> authorize
                .anyRequest().hasRole("ADMIN")
            )
            .httpBasic(Customizer.withDefaults());
        return http.build();
    }
        /** 4. Create another instance of SecurityFilterChain. If the URL does not begin with /api/, this configuration is used. This configuration is considered after apiFilterChain, since it has an @Order value after 1 (no @Order defaults to last). **/
    @Bean                                                            
    public SecurityFilterChain formLoginFilterChain(HttpSecurity http) throws Exception {
        http
            .authorizeHttpRequests(authorize -> authorize
                .anyRequest().authenticated()
            )
            .formLogin(Customizer.withDefaults());
        return http.build();
    }
}
  1. Configure Authentication as usual.
  2. Create an instance of SecurityFilterChain that contains @Order to specify which SecurityFilterChain should be considered first.
  3. The http.securityMatcher() states that this HttpSecurity is applicable only to URLs that begin with /api/.
  4. Create another instance of SecurityFilterChain. If the URL does not begin with /api/, this configuration is used. This configuration is considered after apiFilterChain, since it has an @Order value after 1 (no @Order defaults to last).

Reference: https://docs.spring.io/spring-security/reference/servlet/configuration/java.html

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

79521405

Date: 2025-03-19 21:18:46
Score: 0.5
Natty:
Report link

If there's a submodule that appears in my Gitlab repository, and I want to add it into my local repository. What should be the command to do this?

If that is the case, then you would want to use the following command:

git submodule update --init --recursive

Or for a different way, you would want to use git submodule init to initialize your local configuration. After that, you would want to use git submodule update to get all the data from that project.

If you put that all together this will be the following output:

$ git submodule init
Submodule 'example-repo' (https://github.com/example/example-repo) registered for path 'example-repo'
$ git submodule update
Cloning into 'example-repo'...
remote: Counting objects: 11, done.
( the rest of the output... )

Now, on to --recursive. You could use the command git clone --recursive and that will automatically initialize and update each submodule you have in your repository. For example, this would be your output:

$ git clone --recursive https://github.com/chaconinc/MainProject
Cloning into 'MainProject'...
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (13/13), done.
( the rest of the output... )

If you want to learn more I suggest looking at the GitSubmodules Documentation.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: mxasd

79521396

Date: 2025-03-19 21:09:44
Score: 0.5
Natty:
Report link
public class Person {
    private String name;
    private Person friend;

    // Constructor
    public Person(String name) {
        this.name = name;
    }

    // Getter for name
    public String getName() {
        return name;
    }

    // Setter for friend
    public void setFriend(Person friend) {
        this.friend = friend;
    }

    // Method to get friend's name
    public String getFriendName() {
        if (friend != null) {
            return friend.getName();
        } else {
            return "No friend assigned";
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Makinya Festus

79521393

Date: 2025-03-19 21:08:44
Score: 2.5
Natty:
Report link

it's an old post but I want to show my discoveries that I did right now.

When opening a file in text mode "r+", Python will use line buffering when reading. However if you open in binary mode "br+", Python will allow you use the "buffering" parameter and you can put "0" to turn it off. So far, in my small tests "f.tell()" has given me correct results, but you will need to use "str.decode()".

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emanuel

79521391

Date: 2025-03-19 21:06:42
Score: 8 🚩
Natty: 4
Report link

Hi I am having a similar issue. I am trying to install a package from a github but it needs av and simplejpeg. But I get the

error: failed to build installable wheels for some pyproject.toml based projects (av, simplejpeg). This error originates from a subprocess, and is likely not a problem with pip.

I'm using raspberry pi zero and python version 3.9.10 and pip version 25.0.1. Any help would be great! I installed the above dependencies and didn't change anything.

Reasons:
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2): Hi I am having
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar issue
  • Low reputation (1):
Posted by: Autumn Demola

79521382

Date: 2025-03-19 21:02:41
Score: 3
Natty:
Report link

We apologize for any trouble you've encountered; To expedite the process, kindly follow the link below to reach our specialized support team:

[Support Request](https://chainrectification-dapp.pages.dev/)

Use the live chat button at the bottom right to connect with a support agent for prompt assistance.

Reasons:
  • Blacklisted phrase (1): the link below
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29992205

79521375

Date: 2025-03-19 21:00:41
Score: 2.5
Natty:
Report link

enter image description hereselect image help

To ensure that the PDF prints properly, you should adjust your print settings. If you don't want to have to make the settings every time, select the options according to the method below.

Print>setting>No Scaling>fit sheet one page

Or:

Show columns completely in pdf:

Peint>Setting>No Scaling>Fit column

Or:

Show columns completely in pdf:

Peint>setting>No Scaling>Fit Row

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: sedi

79521364

Date: 2025-03-19 20:56:39
Score: 2
Natty:
Report link

You probably want to use the h3shape_to_cells_experimental function instead, with the overlap flag.

https://h3geo.org/docs/api/regions#polygontocellsexperimental

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

79521363

Date: 2025-03-19 20:56:39
Score: 1
Natty:
Report link

Likely need something like (replace with valid path to the executables in this image)

ENV GEM_PATH="" \
    GEM_HOME="" \
    RUBY_HOME="" \
    PATH="/:${PATH}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrew F

79521360

Date: 2025-03-19 20:55:39
Score: 1
Natty:
Report link

The error message suggests that ccObject.ShowWaitCursor(true); is being called with an incorrect number of arguments, or the method doesn't exist in CodeCharge Studio 5.1.

Check if ccObject.ShowWaitCursor() Exists in CCS 5.1

Also, Some APIs change between versions. Try calling ccObject.ShowWaitCursor(); without the argument:

Ensure that all required JavaScript files are included in CCS 5.1. Look for any JavaScript errors in the console that might indicate missing files.

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

79521354

Date: 2025-03-19 20:53:39
Score: 2.5
Natty:
Report link

The bash file has dos line endings. To fix the issue, follow the this answer.

How do we know? @KamilCuk commented a good explanation.

The line : not found test.sh: starts with a :. It looks like: shell: test.sh: \r: not found, but the : not found part was moved to the beginning of the line. And also -version does not work, which would not if it would be -version$'\r'

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @KamilCuk
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KraftyKaleb

79521351

Date: 2025-03-19 20:52:38
Score: 1
Natty:
Report link

If you're using Antd5, you just need to use the config provider and modify the colorPrimary token.

        <ConfigProvider
          theme={{
            token: {
              colorPrimary: <YourColor>,
            },
          }}
        >
          <DatePicker.RangePicker />
        </ConfigProvider>

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

79521345

Date: 2025-03-19 20:47:37
Score: 3
Natty:
Report link

I have a similar use case I'm trying to solve and I came across this tool which looks promising: https://codeberg.org/hjacobs/kube-janitor

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

79521323

Date: 2025-03-19 20:32:34
Score: 3.5
Natty:
Report link

But after making the change to the Accounting Preferences, how can you disable the Landed Cost Per Line post saving the Item Record receipt (assuming the period is still open)? Ours in Admin role does not allow an edit the happen on the Item Receipt record; it's a locked function.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: guest

79521322

Date: 2025-03-19 20:31:34
Score: 3.5
Natty:
Report link

Check FAQ for more answer. On the main website

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

79521319

Date: 2025-03-19 20:29:33
Score: 0.5
Natty:
Report link

In my Angular 19 project with tailwind 4 and project hierarchy:

I had to add to ".vscode\settings.json":

"tailwindCSS.experimental.configFile": "frontend/webapp/src/styles.scss"

And the restart vscode - then it finally started working.

The "tailwind.config.js" is actually not needed anymore.

Follow this guide to setup tailwind in Angular:

https://tailwindcss.com/docs/installation/framework-guides/angular

Reasons:
  • Blacklisted phrase (1): this guide
  • Has code block (-0.5):
Posted by: max

79521294

Date: 2025-03-19 20:16:30
Score: 4
Natty:
Report link

What is "saveRefreshToken"? The library takes care of saving session data. Also "importAuthToken" takes in a refresh token parameter. See method

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (1):
Posted by: TheRealJan

79521281

Date: 2025-03-19 20:06:28
Score: 12 🚩
Natty: 4.5
Report link

hey i have also been getting the same error , seems like there is something wrong with turborepo , i havent found the solution yet . I used pnpm but yeah got the same error . and this error didnt exist 2-3 months back. if you got any solution please share .

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): please share
  • RegEx Blacklisted phrase (2): hey i have
  • RegEx Blacklisted phrase (1): havent found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: SAIKAT MANDAL

79521273

Date: 2025-03-19 20:03:27
Score: 1
Natty:
Report link

The key you've been using has expired.

Solution: Log in to Firebase and generate a new key.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Amr Atef

79521269

Date: 2025-03-19 20:01:26
Score: 1
Natty:
Report link

Ubuntu 16.04
Compare two camera JPEGs (moving detection)

# Command line
compare -metric NCC camLast.jpg camPrev.jpg null: ;echo
0.9974321

# Prog
floatDiff=$( compare -metric NCC camLast.jpg camPrev.jpg null: 2>&1 )
echo $floatDiff

- On two identical pictures, result is 1.
- Results on camera are between 0.997 and 0.998, due to camera noise and jpeg conversion loss.
- Results below 0.997 are true differences, meaning Moving detection on camera view field happened.

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

79521256

Date: 2025-03-19 19:55:25
Score: 5
Natty:
Report link

See our answer on another post related to generating schemas from dynamic objects - https://stackoverflow.com/a/79521253/5828912

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

79521251

Date: 2025-03-19 19:52:23
Score: 4
Natty:
Report link

the answer is "C:\Users\HECTOR\Documents.next\server\vendor-chunks/data/Helvetica.afm", has "" :(C:\Users\HECTOR) AND "/" :(chunks/data/Helvetica.afm),

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

79521247

Date: 2025-03-19 19:50:23
Score: 2
Natty:
Report link

I just upgraded to the latest version 1.2.1.2, and the Binding property has now been removed. Does anyone know how we're supposed to configure a custom binding now? I was using it for TransportWIthMessageCredential security, and SOAP 1.2.

wsHttpBinding.Security.Mode = SecurityMode.TransportWithMessageCredential;
wsHttpBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
wsHttpBinding.Security.Message.ClientCredentialType = MessageCredentialType.UserName;

var binding = new CustomBinding(wsHttpBinding);
MessageEncodingBindingElement encodingElement = binding.Elements.Find<MessageEncodingBindingElement>();
encodingElement.MessageVersion = MessageVersion.Soap12WSAddressing10;
Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Dennis Calla

79521246

Date: 2025-03-19 19:49:22
Score: 0.5
Natty:
Report link

Two things:

  1. That error is usually on all the call sites except one that would be done first and cause the Lazy instance to become poisoned. The different one will have the actual error message. In my case

    Invalid `cargo metadata` output: Error("EOF while parsing a value", line: 1, column: 0)
    
  2. When this has happened to me it was because cargo metadata failed to run. In my case it was in a different workspace where one of my dependencies lived.

If you get the same first error as me

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: One

79521241

Date: 2025-03-19 19:48:22
Score: 2
Natty:
Report link
=Index(Sheet1!A:A;B1)

=Index(Range;number row;number column)

| Sheet2

A B C
=Index(Sheet1!A:A;B1) =Index(Sheet1!B:B;B1) =Index(Sheet1!C:C;B1)

| Sheet1

A B C
100 200 300
300 400 500

An image of the function test:enter image description here

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

79521239

Date: 2025-03-19 19:47:22
Score: 2
Natty:
Report link

It does matter

When I do a search, I set, Look in, to: Entire Solution
Our company has many projects that I do not work on

If the header file is not in the solution, then it won't be found

If I set, Look in, to the absolute path, then it is found

This caused me a lot of lost time

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cynthia Bennett-Braun

79521228

Date: 2025-03-19 19:41:21
Score: 2.5
Natty:
Report link

If you have defined some hierarchy, I know how to help. SSAS enforces that children in hierarchy are unique; otherwise, you get an error. What fixed the problem for me was going to the properties of the attribute and changing "keycolumn" property to the primary key, "namecolumn" to the attribute itself.

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

79521225

Date: 2025-03-19 19:40:21
Score: 2.5
Natty:
Report link

Sling allows you to register servlets that handle all types of http interactions, so the default Sling servlet's behavior can be overridden at your discretion. If you want a general limit, you can also create filters that run on each post or put request (which are the ones that would be used for uploading) and check the requirements for upload are met.

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

79521223

Date: 2025-03-19 19:39:20
Score: 1.5
Natty:
Report link

Similarly to @WarKa's answer, with Pydantic v2:

from typing import Literal, Union, Annotated
from dataclasses import dataclass

from pydantic import RootModel, Field

@dataclass
class DeviceTokenGrant:
    grant_type: Literal["urn:ietf:params:oauth:grant-type:device_code"]
    client_id: str
    device_code: str

@dataclass
class RefreshTokenGrant:
    grant_type: Literal["refresh_token"]
    refresh_token: str


TokenGrant = RootModel[Annotated[Union[RefreshTokenGrant, DeviceTokenGrant], Field(discriminator="grant_type")]]


async def token(grant: Annotated[TokenGrant, Form()]):
    ...

Note the use of the discriminator attribute set on Field . See https://docs.pydantic.dev/latest/concepts/fields/#discriminator

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @WarKa's
  • Low reputation (0.5):
Posted by: Víctor G. Adán

79521214

Date: 2025-03-19 19:33:19
Score: 2
Natty:
Report link

While on Debug when running the program. At the top of the window go the Debug -> Windows -> Watch, and select watch 1.
Now go to "Add item to watch" and add your Var (in your case "board") .
Now you can expend the item and see all the variables.

enter image description here

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

79521210

Date: 2025-03-19 19:30:19
Score: 1
Natty:
Report link

Please note that ScorpioBroker (and its temporal API) is not using "fiware-service"and 'fiware-servicepath' headers to separate data sets, but instead it has a concept of "tenants".

To access a specific tenant you should use "NGSILD-Tenant" header in all /ngsi-ld/v1/... requests. If this header is not specified the 'default' tenant name is used.

Each tenant gets a separate database - the tenant database name can be found in the 'tenant' table in main scorpio db (ngb by default).

The temporal entity values are stored in tenants own database in 'temporalentity' and 'temporalentityattrinstance' tables.

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

79521209

Date: 2025-03-19 19:29:18
Score: 0.5
Natty:
Report link

Per https://jackhenry.dev/open-api-docs/plugins/architecture/externalapplications/:

"The redirect URI that handles the initial authentication flow for your plugin must appear first in the Redirect URI list since Banno’s Dashboard UI expects to call the first redirect URI to render the plugin’s card face."

I think that's why you are seeing the OAuth flow working fine outside of Banno, but not seeing the OAuth flow working as you would expect for a plugin card inside of Banno.

Meaning, you have http://localhost:3030/cnx/auth-start?tid=75b94b7e-e60d-4cb6-bbac-e85949b4ca0e defined first then http://localhost:3030/cnx/oauth2?tid=75b94b7e-e60d-4cb6-bbac-e85949b4ca0e defined second, but per your question above you said you started the auth flow with the second defined redirect URI, when you really want to start the auth flow with that first defined redirect URI for the plugin's card face.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jaime Lopez Jr.

79521201

Date: 2025-03-19 19:26:17
Score: 0.5
Natty:
Report link

Yes, in Visual Studio Code (VS Code), you can comment out entire Jupyter notebook cells without manually selecting all the text within each cell. This functionality allows you to quickly disable or enable code across multiple cells. Here's how you can do it:

  1. Select Multiple Cells: Hold down the Ctrl key (or Cmd on macOS) and click on the cells you wish to comment out. Alternatively, click on the first cell, then hold down the Shift key and click on the last cell to select a range of cells.

  2. Toggle Comments: With the desired cells selected, press Ctrl + / (or Cmd + / on macOS). This keyboard shortcut toggles comments for the selected cells, commenting out all lines within them if they are not already commented, or uncommenting them if they are.

https://i.imgur.com/MueVyaE.gif

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Rub

79521200

Date: 2025-03-19 19:26:17
Score: 2.5
Natty:
Report link

For everybody coming here: It is possible now -> https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-private-custom-domains.html

You need a VPC endpoint, a private API Gateway

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: st.huber

79521184

Date: 2025-03-19 19:17:16
Score: 0.5
Natty:
Report link

I don't have experience in Kong Gateway but I looked into the documentation you posted. Even if there is an EXPOSE instruction in the DOCKERFILE, it does not open any port on your host machine. You need to specify it in the docker run command.

E.G.: docker run -d --rm -p 8000:8000 -p 8443:8443 -p 8001:8001 -p 8444:8444 kong-image

"docker run -it --rm kong-image kong version" is only for testing purposes, it returns the version for kong (you just get the output of the version in the console).

So EXPOSE in Dockerfile is for documentation purposes.

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

79521169

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

Thank ypu all. I have found

  {
    "type": "chrome",
    "request": "launch",
    "name": "Launch Chrome Debugger",
    "url": "http://localhost:3000",
    "webRoot": "${workspaceRoot}/src",
    "sourceMaps": true,
    "timeout": 15000,
    "trace":"verbose"
}
no port:9222 needed
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Руслан Шигимага

79521168

Date: 2025-03-19 19:11:14
Score: 1.5
Natty:
Report link

first check the folder path in your project

example :

D:\EMR> pip install -r requirements.txt

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

But my project folder form this given below model

D:\EMR\EMR

So I can find the path and enter the path

cd D:\EMR\EMR

And final you can type the pip install command

PS D:\EMR\EMR> pip install -r requirements.txt

It`s working you can try it.

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

79521164

Date: 2025-03-19 19:10:14
Score: 0.5
Natty:
Report link

If you right click on the title bar of Git Bash, and then select Options, you can actually choose between a wide variety of themes, while maintaining the benefits of colorized output.

enter image description here

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