79255975

Date: 2024-12-05 19:28:41
Score: 2.5
Natty:
Report link

To add 1 blank line after each line:

$ sed -e 's/$/\n/' file

To add 3 blank lines after each line:

$ sed -e 's/$/\n\n\n/' file

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

79255962

Date: 2024-12-05 19:19:39
Score: 1
Natty:
Report link

Firstly,

your 3D object is very small, meanwhile the canvas is 1200+ pixels in width and 866 pixels in height. When you use world position in the Render Mode, Unity interprets those values as a scale, just like any other GameObject in the scene. Additionally, your Canvas is inside an object, which means you have to work with local positions or scales.

Don't forget,

When using a Canvas in Unity, its dimensions depend on its Render Mode setting (e.g., Screen Space Overlay, Screen Space Camera or World Space). The Canvas behaves differently based on this mode. In World Space mode, the Canvas behaves like a regular GameObject object in the scene. Its Transform properties (i.e positions, rotations, scale etc..) are relative to the Unity world space, just like any other GameObject.

Check out theese document (https://docs.unity3d.com/2020.1/Documentation/Manual/UICanvas.html)

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

79255958

Date: 2024-12-05 19:17:38
Score: 3.5
Natty:
Report link

I have the same issue, I solved it by using:

include_once

or

require_once

instead of include.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: Wessam El Mahdy

79255950

Date: 2024-12-05 19:15:37
Score: 11.5
Natty: 7.5
Report link

do we have any solution for the above mentioned question?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): do we have any
  • RegEx Blacklisted phrase (2): any solution for the above mentioned question?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Resolver03

79255930

Date: 2024-12-05 19:08:34
Score: 1.5
Natty:
Report link

The issue is likely due to the versions of TLS Vercel supports (TLS 1.2 & 1.3)

Safari 6 (which is pretty old) only supports TLS 1.0. You should not downgrade your TLS to a lower, deprecated version. Your friend needs to upgrade their browser to a modern, more secure version.

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

79255912

Date: 2024-12-05 19:00:31
Score: 1
Natty:
Report link

Someone already gave me the answer elsewhere. It is the "editor::Hover" action, this is the default keymap excerpt:

"context": "Editor",
    "bindings": {
      "ctrl-k ctrl-i": "editor::Hover",
...

I just had to remap it because I already use ctrl-k for something else.

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

79255906

Date: 2024-12-05 18:57:30
Score: 4.5
Natty:
Report link

Other answers did not work for me on Windows within an interactive python session. I cannot do it from a command line as I need help on a COM object. I used the output argument mentioned by Clifford

def help_to_file(func, out_file="function_help.txt"):
    try:
        with open(out_file, "w") as f:
            h2f = pydoc.Helper(output=f)
            h2f(func)
        print(f"Help for '{func}' written to '{out_file}'")
    except Exception as e:
        print(f"Error writing help: {e}")

Then to use it:

help_to_file(str, "_str.txt")
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (2.5): I need help
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NateA

79255896

Date: 2024-12-05 18:54:29
Score: 2
Natty:
Report link

For my environment Ubuntu Linux with Conda this works:

conda install -c conda-forge libffi

More info here: libGL error: MESA-LOADER: failed to open iris

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

79255885

Date: 2024-12-05 18:48:27
Score: 3
Natty:
Report link

`

enter code here

` enter code hereflutter create free_fine_app cd free_fine_app

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

79255881

Date: 2024-12-05 18:47:27
Score: 1
Natty:
Report link

After disabling JavaScript, the page anchors worked perfectly, no page reloading. This means there's a JavaScript event listener somewhere that is firing when a link in the primary nav is clicked on, and causing the page to reload. Find that function, review its intended purpose. If it's safe to do so, remove it, or adjust it's logic.

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

79255879

Date: 2024-12-05 18:46:27
Score: 1
Natty:
Report link

Here are the basic steps to creating a unique key:

diagram

The key consists of several parts, separated by a special symbol to facilitate parsing, the meaning of which is hidden from the end user and understandable only to the application. The table below shows the name and purpose of these parts.

Part Description
Data Content of encrypted expiration date and application data (optional).
This embedded data can be recovered after successful key verification.
Hash Checksum of key expiration date, encrypted application data, and environment identifiers.
Ensures the validity of the key during verification.
Seed The initialization value that was used to encrypt the data.
Allows to generate unique keys every time to increase cryptographic strength.

Here a tutorial: https://github.com/ng256/Activation-Key

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

79255868

Date: 2024-12-05 18:40:26
Score: 2.5
Natty:
Report link

SELECT A.*, B.Note FROM A LEFT JOIN ( SELECT fk, Note, ROW_NUMBER() OVER (PARTITION BY fk ORDER BY InsertDate DESC) AS rn FROM B ) B ON B.fk = A.pk AND B.rn = 1;

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

79255859

Date: 2024-12-05 18:37:25
Score: 2
Natty:
Report link

this is the problem: for example https://docs.google.com/forms/d/{formId}/edit is your edit link when you change "edit" to "viewform": https://docs.google.com/forms/d/{formId}/viewform google will imediately change your {formId} to a random Id this is for your security so that no one can get access to your edit form

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Khang Doan phuc

79255856

Date: 2024-12-05 18:36:24
Score: 2.5
Natty:
Report link

enter image description here

I've been wanting to create a random map with different countries for a game, so I used a Voronoi diagram.
At first, I created the diagram with small point distances, then I generated ten random points and considered the closest cells to those points as part of the country's region.
The result ended up like this.

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

79255852

Date: 2024-12-05 18:34:24
Score: 3.5
Natty:
Report link

Very similar experience for me. I get this when I click on the "Installed" tab. enter image description here

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

79255848

Date: 2024-12-05 18:32:23
Score: 1.5
Natty:
Report link

You can open the C:\Windows\Fonts path in Explorer. The names available are the Font families of the fonts installed in the system. Once double clicked you can view all the fonts belonging to a family; E.g. with Fira Code:

Font Families enter image description here

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

79255847

Date: 2024-12-05 18:32:23
Score: 2.5
Natty:
Report link

Be sure you're not on release build where "debuggable" attribute is set to false by default in gradle.

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

79255838

Date: 2024-12-05 18:29:22
Score: 3.5
Natty:
Report link

Yes, the input layer needs to be size 49. The output layer needs to be size 1. Then it'll work for both the train and test data.

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

79255835

Date: 2024-12-05 18:29:22
Score: 2.5
Natty:
Report link

use:

 app:cardElevation="0dp"
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Nguyễn Mạnh Cường

79255832

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

I'm not sure exactly whats wrong, but here are a few things I'd check:

  1. Application Errors: There might be errors in your application that prevent it from starting. Check the container logs for any error messages (It looks like you did this though):
    docker logs <container_id>

  2. Port Binding: Ensure that the port 3000 is correctly exposed and mapped. Verify the port mapping with:
    docker inspect <container_id>

  3. Network Configuration: Ensure that the network configuration allows access to the container. Sometimes, firewall rules or Docker network settings can block access. I've run into this problem a few times myself.

  4. Command Issues: The CMD instruction in your Dockerfile might not be starting the application correctly. Verify that npx nx serve ebook-app works as expected outside of Docker. I usually use a web server like nginx so I'm not sure about your commands there.

  5. File Permissions: Ensure that the application files have the correct permissions and are accessible by the ebook-app user. It looks like you are setting them correctly, but it might be worth verifying.

  6. Dependency Issues: Ensure that all dependencies are correctly installed and there are no missing or incompatible packages. It seems from your question that there were no issues with the run npm install command, but its possible there was an issue there and maybe your logging level isn't showing it?

Give these a try and best of luck with the e-book development!

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

79255829

Date: 2024-12-05 18:26:21
Score: 3.5
Natty:
Report link

Had the same problem with the PDFView() in iOS 18 still, it froze on some users..

@jus11 your answer has led me to look at my Navigation logic. I use a NavigationStack and I add a few modifier to the view. After some testing it was the modifier .navigationTitle("") which froze everything, very strange. Removed it and worked like a charm.

So thanks for the direction and for the others: Look at your navigation stack.

(Had to post, can't comment yet)

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): worked like a charm
  • RegEx Blacklisted phrase (1): can't comment
  • Has code block (-0.5):
  • User mentioned (1): @jus11
  • Low reputation (0.5):
Posted by: Malte

79255825

Date: 2024-12-05 18:24:20
Score: 9 🚩
Natty: 5
Report link

I'm having the same issue.

Did your find any way to fix this ?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix this ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: David Lambourdiere

79255822

Date: 2024-12-05 18:23:19
Score: 1.5
Natty:
Report link

You could also concatenate the id to the URL string:

const id = someId; 
const response = await request.delete('/public/v2/users/' + id);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: vermenea

79255820

Date: 2024-12-05 18:23:19
Score: 1.5
Natty:
Report link

Use --use-libraries

Try updating your Podfile by modifying the target 'Runner' block. Add use_frameworks! :linkage => :static as follows:

target 'Runner' do

use_frameworks! :linkage => :static

use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) end

Then, run:

pod install --repo-update

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

79255818

Date: 2024-12-05 18:22:19
Score: 0.5
Natty:
Report link

I wrote it like this ↓↓↓ It may not be correct but it worked well

salTransportType = _context.SalTransportType.Where(t=>t.TransTypeId != null).ToList();
Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Virus 32

79255817

Date: 2024-12-05 18:21:19
Score: 1.5
Natty:
Report link

Querying sys.objects gives you all user created objects in SQL server.

Querying sys.sysobjects gives you all system-created objects.

Thus, if you want to see all user created objects, query this view

SELECT * FROM sys.objects

if you want to see all user created tables and user created procedures, query sys.tables and sys.procedures, respectively

SELECT * from systables SELECT * from sys.procedures

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

79255814

Date: 2024-12-05 18:20:18
Score: 3
Natty:
Report link

the correct statement for scatter use the following.. import matplotlib.pyplot as plt

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

79255809

Date: 2024-12-05 18:18:18
Score: 2.5
Natty:
Report link

Try changing Sprite Mode to multiple and select your sprite in sprite editor mode then apply it. You'll see another sprite in your main sprite that one you crop. Try drag that one.

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

79255807

Date: 2024-12-05 18:17:18
Score: 2.5
Natty:
Report link
<div className="flex flex-row justify-center items-center">Your text</div>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SHUBHAM LONGIA

79255798

Date: 2024-12-05 18:16:17
Score: 1
Natty:
Report link

I am just providing a small fix to the reflector line:

const guards = allowedGuards.map((guardReference) => this.moduleRef.get<CanActivate>(guardReference, { strict: false }), );

In case the guards are not instantiated properly. Also, to have the guards being trigger correctly in the multiple guard, it should be above each API call, not in the whole Controller class concept.

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

79255792

Date: 2024-12-05 18:14:17
Score: 2
Natty:
Report link

For the OP this was a matter of insufficient permissions, but I am trying to package a rails app in a nix package. Nix packages are created in a read-only fs for security and enforcement of conventions. I can set the rails log and tmp/* dirs at the command line to /var/lib/… but under no circumstances will a mkdir in the package (container) work. for some reason railties/lib/rails/commands/server/server_command.rb has a mandatory mkdir and no error handling, so when I try to start the server (even though I've remapped the tmp and log dirs) it still tries to create these subdirs. When it fails, the server exists with an error. I can comment out line 35 of server_commmand.rb and everything is peachy, but clearly that's not production safe. I've also tried monkey patching RailsServer but there is a dependency tree issue that is too deep rooted to be safe for production use. I am hoping one of you clever wizards knows something that I don't that will make it possible to run a rails server on

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

79255777

Date: 2024-12-05 18:08:15
Score: 3
Natty:
Report link

I have found the answer! It had something to do with the .env file from my laravel... The file wasn't correctly configured and i changed the APP_URL to: APP_URL=http://localhost:8000. and now with some time loading the backend loads on my chrome.

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

79255771

Date: 2024-12-05 18:06:15
Score: 3
Natty:
Report link

How can i use genvar as part of module name and use different modules inside generate block? like this

genvar i; for () begin some_modulei inst_$i (); end

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can i use
  • Low reputation (1):
Posted by: DanG

79255765

Date: 2024-12-05 18:04:14
Score: 1.5
Natty:
Report link

if you make your application with unity make sure that the player setting > managedStrippingLevel to be minimal. otherwise the connection url has missing the manifest Url.

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

79255760

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

Thank you everyone for sharing the insight and sharing the possibilities and knowledge. We have fixed the generic code and that's working now. We created a variable force-array similar to force string which is present in the code and in the parameter 'valueLookup' we are defining the field name where we want to create the array.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CHANDRAJEET SINGH

79255757

Date: 2024-12-05 17:59:13
Score: 1
Natty:
Report link

The error indicates that when you call data.min(), and data.max(), it returns objects of pandas.Series, and not scalar values. Because these series passed to the TwoSlopeNorm expect a vmin and vmax to be given a single value but are in fact arrays (series) with their contents of several values.

To fix that, you might use.min().min() and .max().max() and would be sure that you are taking the minimum or maximum value of the whole DataFrame. That means these extract scalar values of the min and max of all cells in the table rather than series of these values.

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

79255752

Date: 2024-12-05 17:57:13
Score: 3
Natty:
Report link

Removing min-width: 100vw in my .body{} fixed the issue

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

79255751

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

1.) First, ensure that you didn’t just click Publish in Studio. You also need to go to the Orchestrator and upgrade the process to the latest version that you just published.

2.) If you still can’t see the changes in your app, please follow these steps:

Screenshot Of My Uipath App On Edit Mode

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MasterOfLogic

79255747

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

To extend this inquiry, I'm wondering if anyone has found a way to utilize say 'decal_1' as Screen Space AND 'decal_2' as D-buffer?

I have a need for both techniques, and you can't delegate which technique based on layer or material properties.

*Screen Space on a decal for a UI element without world lighting (unlit)

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jake Collinge

79255745

Date: 2024-12-05 17:54:12
Score: 1.5
Natty:
Report link

You can use Tailwind CSS without npm by including the Tailwind CDN in your HTML file. Add this here

Then you can explore [ReadymadeUI][1] a collection of pre-designed Tailwind CSS layouts and components that help you build websites quickly and responsively.
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ReadyMadeUI

79255744

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

did not fix it for me. Windows vs code latest with a proper config as you described. First time it happens in months.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did not fix it for me
  • Low reputation (1):
Posted by: drago 1520

79255731

Date: 2024-12-05 17:47:10
Score: 1.5
Natty:
Report link

100% This url is the location with marker

https://www.google.com/maps/place/{LAT},{LONG}

Example: https://www.google.com/maps/place/40,41

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

79255711

Date: 2024-12-05 17:38:08
Score: 0.5
Natty:
Report link

I think the purpose of the default setup is to exclude the media folder because it typically contains user-generated content. Publishing the media folder could potentially overwrite images or files that the webmaster has uploaded.

However, if you absolutely need to include the media folder in your publish output, you can explicitly target it for publishing by adding the following lines to your .csproj file:

<ItemGroup>
    <Content Include="wwwroot/media/**" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>

If it doesnt work, you can publish to a folder and then run a CMD which copies the content over before you upload, thats how I do it, so I can control which of the db/media is copied.

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pbl_dk

79255695

Date: 2024-12-05 17:33:07
Score: 0.5
Natty:
Report link

If you add brackets to your simple.json file like [{your json text}], your code works.

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

79255693

Date: 2024-12-05 17:32:06
Score: 3.5
Natty:
Report link

Had this same issue when using SMUSH plugin. Disabled it and the issue was resolved.

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

79255689

Date: 2024-12-05 17:31:06
Score: 1.5
Natty:
Report link

A short look at Tabulator documentation says that likely you will need rowFormatter https://tabulator.info/docs/6.3/format#row to somehow format the row with, indeed, html and other un-vue-like methods. But... why?

There are plenty of vue-based tables specifically developed for native usage of components in a row, column or wherever you want. I like Vuetify's Data Tables https://vuetifyjs.com/en/components/data-tables/data-and-display/ , although it is by no means the only such library. I can't think of a single thing I can't do with them that Tabulator can do. I think the reason for you not finding relevant examples is because nobody tries to use Vue and Tabulator together in the recent years. It just seems not particularly compatible.

Reasons:
  • Blacklisted phrase (0.5): why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Nikolajs Petrovs

79255685

Date: 2024-12-05 17:30:05
Score: 4
Natty: 5
Report link

Very Sad that 10 yrs later this is STILL an issue!

Here is a link to the ProtectionLevel Values: https://learn.microsoft.com/en-us/sql/integration-services/security/access-control-for-sensitive-data-in-packages?view=sql-server-ver16

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

79255684

Date: 2024-12-05 17:29:04
Score: 4
Natty:
Report link

I have the same thing with m4 pro:(

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

79255678

Date: 2024-12-05 17:27:03
Score: 5.5
Natty:
Report link

i'm also having same issue. i'm using " credentials.setValue(password) " but still not able to rectify.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i'm also having same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shivam Sharma

79255668

Date: 2024-12-05 17:24:03
Score: 3
Natty:
Report link

mysql.exe --user=root --password= --host=localhost --port=3306 --database=mydatabase -e "CALL miprocedure('2','1')"'

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

79255661

Date: 2024-12-05 17:23:02
Score: 2
Natty:
Report link

MSBuild can evaluate and output the value of properties without the need to create special targets.

msbuild myproject.dproj -getProperty:DCC_ExeOutput

You can also get item groups and target results. See https://learn.microsoft.com/en-us/visualstudio/msbuild/evaluate-items-and-properties?view=vs-2022

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

79255656

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

That function doesn't exist. You can do:

const pdfInstance = ReactPDF.pdf(<MyDocument />);
const buffer = await pdfInstance.toBuffer();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jovan M.

79255655

Date: 2024-12-05 17:21:02
Score: 2
Natty:
Report link

If you're using React / JSX be sure to properly capitalize className. If you're using HTML, it's class instead of classname.

Example at https://codesandbox.io/p/sandbox/media-crome-react-typescript-spl8dy

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

79255650

Date: 2024-12-05 17:20:01
Score: 2
Natty:
Report link

Very intriguing question. I guess there a number of ways to solve things but for practicality reasons let's try to keep it simple.

I think you can benefit from indexing your markdown files in Chroma first and then searching for them and lastly asking an LLM (e.g. OpenAI gpt4o) to generate a markdown for you. A typical RAG app.

A side note: You can also embed the images themselves for even better retrieval context, but I will not be including this part here for brevity. Feel free to join Chroma discord and we can discuss more on this (look for @taz)

My suggestion is to process the MD files and extract the images for each MD file as metadata and store that in Chroma which can then be passed on to the LLM for generation. As it is simpler to illustrate this in Python I will make the assumption that you can either convert the following code to TS or use a Python backend that can handle the ingestion of the markdown files.

With the above out of the way let's dive in. First we'll create a custom Langchain🦜🔗 Markdown Loader. The reason we need a custom one is because the ones off the shelf cannot handle image tags or at least don't know how to handle them.

from typing import Dict, Iterator, Union, Any, Optional, List
from langchain_core.documents import Document
import json
from langchain_community.document_loaders.base import BaseLoader


class CustomMDLoader(BaseLoader):
    def __init__(
            self,
            markdown_content: str,
            *,
            images_as_metadata: bool = False,
            beautifulsoup_kwargs: Optional[Dict[str, Any]] = None,
            split_by: Optional[str] = None,
    ) -> None:

        try:
            from bs4 import BeautifulSoup
        except ImportError:
            raise ImportError(
                "beautifulsoup4 package not found, please install it with "
                "`pip install beautifulsoup4`"
            )
        try:
            import mistune

        except ImportError:
            raise ImportError(
                "mistune package not found, please install it with "
                "`pip install mistune`"
            )
        
        self._markdown_content = markdown_content
        self._images_as_metadata = images_as_metadata
        self._beautifulsoup_kwargs = beautifulsoup_kwargs or {"features": "html.parser"}
        self._split_by = split_by
        
    def get_metadata_for_element(self, element: "PageElement") -> Dict[str, Union[str, None]]:
        metadata: Dict[str, Union[str, None]] = {}
        if hasattr(element,"find_all") and self._images_as_metadata:
            metadata["images"] = json.dumps([{"src":img.get('src'),"alt":img.get('alt')} for img in element.find_all("img")] )
        return metadata
    
    def get_document_for_elements(self, elements: List["PageElement"]) -> Document:
        
        text = " ".join([el.get_text() for el in elements])
        metadata: Dict[str, Union[str, None]] = {}
        for el in elements:
            new_meta = self.get_metadata_for_element(el)
            if "images" in new_meta and "images" in metadata:
                old_list = json.loads(metadata["images"])
                new_list = json.loads(new_meta["images"])
                metadata["images"] = json.dumps(old_list + new_list)
            if "images" in new_meta and "images" not in metadata:
                metadata["images"] = new_meta["images"]
        return Document(page_content=text, metadata=metadata)
        
    def split_by(self, parent_page_element:"PageElements", tag:Optional[str] = None) -> Iterator[Document]:
        if tag is None or len(parent_page_element.find_all(tag)) < 2:
            yield self.get_document_for_elements([parent_page_element])
        else:
            found_tags = parent_page_element.find_all(tag)
            if len(found_tags) >= 2:
                for start_tag, end_tag in zip(found_tags, found_tags[1:]):
                    elements_between = []
                    # Iterate through siblings of the start tag
                    for element in start_tag.next_siblings:
                        if element == end_tag:
                            break
                        elements_between.append(element)
                    doc = self.get_document_for_elements(elements_between)
                    doc.metadata["split"] = start_tag.get_text()
                    yield doc
                last_tag = found_tags[-1]
                elements_between = []
                for element in last_tag.next_siblings:
                    elements_between.append(element)
                doc = self.get_document_for_elements(elements_between)
                doc.metadata["split"] = last_tag.get_text()
                yield doc
     
            
    def lazy_load(self) -> Iterator[Document]:
        import mistune
        from bs4 import BeautifulSoup
        html=mistune.create_markdown()(self._markdown_content)
        soup = BeautifulSoup(html,**self._beautifulsoup_kwargs)
        if self._split_by is not None:
            for doc in self.split_by(soup, tag=self._split_by):
                yield doc
        else:
            for doc in  self.split_by(soup):
                yield doc

Note: To use the above you'll have to install the following libs: pip install beautifulsoup4 mistune langchain langchain-community

The above expects the content of your MD file then converts it to HTML and processes it using beautifulsoup4. It also adds the ability to split the MD file by something like heading e.g. h1. Here's the resulting Langchain🦜🔗 document:

Document(id='4ce64f5c-7873-4c3d-a17f-5531486d3312', metadata={'images': '[{"src": "https://images.example.com/image1.png", "alt": "Image"}]', 'split': 'Chapter 1: Dogs'}, page_content='\n In this chapter we talk about dogs. Here is an image of a dog  \n Dogs make for good home pets. They are loyal and friendly. They are also very playful. \n')

We can then proceed to ingest some data into Chroma using the following python script (you can add this to a python backend to do this automatically for you by uploading and MD file). Here's a sample MD file we can use:

# Chapter 1: Dogs
In this chapter we talk about dogs. Here is an image of a dog ![Image](https://images.example.com/image1.png)

Dogs make for good home pets. They are loyal and friendly. They are also very playful.

# Chapter 2: Cats

In this chapter we talk about cats. Here is an image of a cat ![Image](https://images.example.com/image2.png)

Cats are very independent animals. They are also very clean and like to groom themselves.

# Chapter 3: Birds

In this chapter we talk about birds. Here is an image of a bird ![Image](https://images.example.com/image3.png)

import chromadb
loader = CustomMDLoader(markdown_content=open("test.md").read(), images_as_metadata=True, beautifulsoup_kwargs={"features": "html.parser"},split_by="h1")
docs = loader.load()

client = chromadb.HttpClient("http://localhost:8000")
col = client.get_or_create_collection("test")

col.add(
    ids=[doc.id for doc in docs],
    documents=[doc.page_content for doc in docs],
    metadatas=[doc.metadata for doc in docs],
)
# resulting docs: [Document(id='4ce64f5c-7873-4c3d-a17f-5531486d3312', metadata={'images': '[{"src": "https://images.example.com/image1.png", "alt": "Image"}]', 'split': 'Chapter 1: Dogs'}, page_content='\n In this chapter we talk about dogs. Here is an image of a dog  \n Dogs make for good home pets. They are loyal and friendly. They are also very playful. \n'), Document(id='7e1c3ab1-f737-42ea-85cc-9ac21bfd9b8b', metadata={'images': '[{"src": "https://images.example.com/image2.png", "alt": "Image"}]', 'split': 'Chapter 2: Cats'}, page_content='\n In this chapter we talk about cats. Here is an image of a cat  \n Cats are very independent animals. They are also very clean and like to groom themselves. \n'), Document(id='4d111946-f52e-4ce0-a9ff-5ffde8536736', metadata={'images': '[{"src": "https://images.example.com/image3.png", "alt": "Image"}]', 'split': 'Chapter 3: Birds'}, page_content='\n In this chapter we talk about birds. Here is an image of a bird  \n')]

As last step in your TS (react) chatbot use Chroma TS client to search for the the content you want (see the official docs here).

import { ChromaClient } from "chromadb";
const client = new ChromaClient();
const results = await collection.query({
  queryTexts: "I want to learn about dogs",
  nResults: 1, // how many results to return
});

From the above results create a meta-prompt with your results: something like this:

based on the following content generate a markdown output that includes the text content and the image or images:

Text Content:  
 In this chapter we talk about dogs. Here is an image of a dog  
 Dogs make for good home pets. They are loyal and friendly. They are also very playful. 

Images:  [{'src': 'https://images.example.com/image1.png', 'alt': 'Image'}]

If using OpenAI GPT4o you should get something like this:

# Chapter: Dogs

In this chapter, we talk about dogs. Here is an image of a dog:

![Image](https://images.example.com/image1.png)

Dogs make for good home pets. They are loyal and friendly. They are also very playful.

You can then render the markdown in your chat response to the user.

I wanted to keep this short, but it feels like there isn't super short way of describing one of the many approaches you can take to solve your challenge.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @taz
  • Low reputation (0.5):
Posted by: taz

79255623

Date: 2024-12-05 17:11:59
Score: 1
Natty:
Report link

Apple does not support ARKit in their iOS simulator.

https://discussions.unity.com/t/symbol-not-found-_unityarkitxrplugin_pluginload/779606/4 https://discussions.unity.com/t/arkit-symbol-not-found-_unityarkitxrplugin_pluginload/738810/4

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Nike Kov

79255611

Date: 2024-12-05 17:06:58
Score: 1
Natty:
Report link
import os

# Ensure the file is properly saved locally on the server environment
local_file_path = "/mnt/data/Sustainable_Business_Practices_Presentation_Fix.pptx"
presentation.save(local_file_path)

# Check if the file exists and confirm success
os.path.exists(local_file_path)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marianna

79255605

Date: 2024-12-05 17:02:57
Score: 0.5
Natty:
Report link

This renorm argument with BatchNormalization() was available in Tensorflow 1.x which got replaced by training argument in newer Tensorflow 2.x versions which has Python boolean values - True/False.

These Python boolean indicating whether the layer should behave in training mode or in inference mode.

Please have a look at the BatchNormlization() API for more details. Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jenny

79255601

Date: 2024-12-05 17:01:56
Score: 9 🚩
Natty:
Report link

So guys, whats the answer to this issue? Should we change the "From" number? (i can not find a Twilio greek number to find), or we should set another correct Alphanumeric senderID ? I am facing the same issue, if anyone can help I would really appreciate it :)

Reasons:
  • RegEx Blacklisted phrase (3): anyone can help
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: StChtz

79255593

Date: 2024-12-05 16:59:55
Score: 5
Natty: 4
Report link

I have the same problem in my next.js(app) project. When I put cursor in import { | } from 'react-hook-form' I see "function useForm<TFieldValues extends RHF.FieldValues = RHF.FieldValues, TContext = any, TTransformedValues extends RHF.FieldValues | undefined = undefined>(props?: RHF.UseFormProps<TFieldValues, TContext>): RHF.UseFormReturn<TFieldValues, TContext, TTransformedValues> import useForm Custom hook to manage the entire form." But the hook does not imported and console.log('useForm:', useForm); show: " Server useForm: undefined" and I got runtime error: "[ Server ] Error: (0 , react_hook_form__WEBPACK_IMPORTED_MODULE_2__.useForm) is not a function". That means that useForm does not imported.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Volodym Dobrov

79255565

Date: 2024-12-05 16:53:54
Score: 0.5
Natty:
Report link

You're right, if the label is on top of the button, clicks on the label will not go to the button. But you can tell it to do so - by using the Select function in the label's OnSelect property to call the same property of the button, as shown below: enter image description here

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

79255544

Date: 2024-12-05 16:46:52
Score: 1
Natty:
Report link

flush ruleset table inet filter { chain input { type filter hook input priority 0; } chain forward { type filter hook forward priority 0; policy drop; ct state established,related accept ip saddr 172.16.0.0/26 oifname "enp1s0" accept ip saddr 172.16.1.0/24 ip daddr 172.16.0.0/26 tcp dport 3128 accept } chain output { type filter hook output priority 0; } } table ip nat { chain pre { type nat hook input priority 0; } chain post { type nat hook output priority 0; ip saddr 172.16.0.0/26 oifname "enp1s0" masquerade ip saddr 172.16.1.0/24 oifname "enp1s0" masquerade } }

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

79255540

Date: 2024-12-05 16:45:51
Score: 0.5
Natty:
Report link

Just hit this with MASS 7.3-60.2 (December 2024). With my data, lda() was indicating columns whose range was less than its tol argument appeared to be constant. Fixes in this case are data normalization, which the documentation doesn't specifically mention but lda() may expect, or lowering tol from the default of 10⁻⁴.

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

79255529

Date: 2024-12-05 16:42:50
Score: 0.5
Natty:
Report link

You can use MongoDB. We used MongoDB when we built the T2E game on Telegram. It provided sufficient loading speed. You can also use local variables to store the changed values ​​well. You don't need to store this variable for every change.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brave

79255517

Date: 2024-12-05 16:39:50
Score: 1
Natty:
Report link

I hate to answer my own question, but the reason was the initial connection.

After changing the url from 'https://.sharepoint.com' to 'https://.sharepoint.com/sites/office', I was able to display the files.

$siteUrl = "https://<subdomain>.sharepoint.com/sites/office";
$credentials = new ClientCredential($settings['ClientId'], $settings['ClientSecret']);
$ctx = (new ClientContext($siteUrl))->withCredentials($credentials);

I hope this answer helps others

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

79255513

Date: 2024-12-05 16:39:50
Score: 0.5
Natty:
Report link

I believe I've found the source of the problem. I had added dummy-notebookutils as a requirement in the setup.py of my external library. Therefore, when I imported said library into Synapse, the dummy-notebookutils was added to the sparkpool, which interfered with the built-in mssparkutils object.

Now that I've removed dummy-notebookutils from setup.py and tried again, the issue seems to have disappeared.

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

79255506

Date: 2024-12-05 16:37:49
Score: 4.5
Natty:
Report link

Does your project open in the Xcode fro Rider? You may want to check it by right-clicking on the project name > Open in Xcode. Do you have a Developer profile set up there?

Also, here is the instruction on how to use iOS publishing from Rider:

SUPPORT-A-712 How to publish MAUI applications using Rider

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Securitron Yesman

79255501

Date: 2024-12-05 16:35:49
Score: 1
Natty:
Report link

I had today the same issue and a syntax like this:

SELECT type from types where id = ANY (SELECT type_ids from user where id=1)  

Also doesn't work for me.

I read the documentation and it seem like the ANY expression want to have a list inside the parameter.

Also i found that the unnest method would convert the array to such a list.

I tried and for me this works really well, so to keep in your example it would be:

SELECT type from types where id = ANY (SELECT unnest(type_ids) from user where id=1)  

Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: snap

79255498

Date: 2024-12-05 16:34:48
Score: 2.5
Natty:
Report link

I am sorry if my question led to misunderstanding, but my question was not about differentiation after all; I added this part because anyway someone would ask this. Essentially I ended up with a series expansion of the integrand and then symbolic integration of this series via SymPy.

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

79255493

Date: 2024-12-05 16:33:48
Score: 0.5
Natty:
Report link

Thanks @Sve Kamenska and @M.Denium. However this does not work for me.

I tried the following.

    @Transactional(transactionManager = "standardizedDataSourceTransactionManager", propagation = Propagation.REQUIRES_NEW)
    public void callMe() {
        try {
            boolean retVal = flattenProcessingInfoService.processSave1(1001, 2001, "MyHost");
        }
        catch (Exception e) {
            e.printStackTrace();
        }
    }
And called CallMe() method from another one multiple times. I am not reaching e.printStackTrace at all.

This is the case when I have repository.save()

But when I have native query..

   @Modifying
   @Transactional
   @Query(value = "INSERT INTO pega_data.T_FLATTEN_PROCESSING_INFO (host_id, begin_version, end_version, processing_dt_tm) VALUES " +
           "(:hostName, :beginVersion, :endVersion, :processingDateTime)", nativeQuery = true)
   void insertBatch(String hostName, long beginVersion, long endVersion, LocalDateTime processingDateTime);

it throws Violation of PRIMARY KEY constraint 'PK__T_FLATTE__AFB35C3BAD604B4D'. Cannot insert duplicate key in object 'DBO.T_FLATTEN_PROCESSING_INFO'. The duplicate key value is (1001, 2001). This works for me in one sense. but my entire transaction is rolled back which I dont want. I need to capture exception, make some decision based on PK violation and proceed further.

org.springframework.transaction.UnexpectedRollbackException: Transaction silently rolled back because it has been marked as rollback-only.

I am not sure where it is marked as Rollback-only

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): works for me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Sve
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Arul

79255491

Date: 2024-12-05 16:32:48
Score: 2
Natty:
Report link

I think I can determine the user ID or a group ID within the application and show the diagnostic info if user is in a "Developer" or "Admin" group. The problem is that real-world (outside the app) group affiliations regularly change but in-app group memberships are not well maintained.

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

79255489

Date: 2024-12-05 16:31:47
Score: 2.5
Natty:
Report link

I've noticed that the "no image available" image is ~1k in size, at all zoom levels and sizes. A "real" cover image is usually larger than that, 11k for an h200 image. I'm currently investigating this solution so there may be issues, but it's a lead to follow.

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

79255478

Date: 2024-12-05 16:28:47
Score: 1
Natty:
Report link

This is apparently a known issue with EF Core 9, and has visibility with the EF Core team now.

https://github.com/dotnet/efcore/issues/35126

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

79255475

Date: 2024-12-05 16:26:46
Score: 0.5
Natty:
Report link
var json={"v1":"data1","v2":"data2"}
generateIt([key,...Object.values(json)]);//means ([ key,"data1","data2" ])
// In a nutshell : Send args as array    

const generateIt=(args)=>{
    var key=args.shift();
    var v1=args.shift();
    // go ahead
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hakan

79255473

Date: 2024-12-05 16:26:46
Score: 1
Natty:
Report link
SET keyName value NX GET

NX - Only set the key if it does not already exist.

GET - Return the old string stored at key, or nil if key did not exist. An error is returned and SET aborted if the value stored at key is not a string.

https://redis.io/docs/latest/commands/set/#options

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

79255469

Date: 2024-12-05 16:24:45
Score: 6 🚩
Natty: 5.5
Report link

would you mind pasting your working script here? I am facing the same obstacle and claude etc can't seem to figure it out either.

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (2): would you mind
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Phil

79255465

Date: 2024-12-05 16:23:44
Score: 3
Natty:
Report link

The indexing returns a copy, not a view (see: Can I get a view of a numpy array at specified indexes? (a view from "fancy indexing")). This is why .base gives different outputs

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

79255458

Date: 2024-12-05 16:19:43
Score: 3
Natty:
Report link

It turns out that my RDS MsSQL was not in the region's default VPC like I thought. Once I moved the instance to the correct VPC everything started working properly.

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

79255455

Date: 2024-12-05 16:18:43
Score: 3
Natty:
Report link

Try overflow-x: hidden !important; overflow-wrap: break-word;

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

79255453

Date: 2024-12-05 16:18:43
Score: 1.5
Natty:
Report link

My IntelliJ version is 2024.1.7 and it keeps removing the trailing spaces. I disabled it by switching the Settings | Editor | General > On Save > Remove trailing spaces on off.

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

79255451

Date: 2024-12-05 16:17:43
Score: 1.5
Natty:
Report link

How about Azure Elastic Jobs ?

Elastic jobs are job scheduling services that execute custom jobs on one or many databases in Azure SQL Database or Azure SQL Database elastic pools. [...]

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • High reputation (-1):
Posted by: Sebastian Widz

79255450

Date: 2024-12-05 16:17:43
Score: 0.5
Natty:
Report link

When you run bun --bun run vite build, it outputs the files to the dist directory, which is the default directory for vite.

build.outDir

  • Type: string
  • Default: dist

But in your Dockerfile you try to copy the files from the /usr/src/app/build directory instead. The error message is self-explanatory:

  40 | >>> COPY --from=prerelease /usr/src/app/build .
--------------------
ERROR: failed to solve: ...: "/usr/src/app/build": not found

To resolve this, you can either:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: jarp0l

79255449

Date: 2024-12-05 16:17:43
Score: 2.5
Natty:
Report link

"java": "cd $dir && javac $fileName && java -cp . $fileName",

Try above line in "Code Runner >> settings >> Code-runner: Executor Map >> Edit in settings.json"

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

79255445

Date: 2024-12-05 16:15:42
Score: 3
Natty:
Report link

I have faced this issue while using web war within wildfly, and issue was<set server date time/zone>

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

79255442

Date: 2024-12-05 16:14:41
Score: 10.5 🚩
Natty: 5.5
Report link

Did you fix the error? I'm having the same. Could yo provide the code?

Reasons:
  • RegEx Blacklisted phrase (3): Did you fix the
  • RegEx Blacklisted phrase (1.5): fix the error?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you fix the
  • Low reputation (1):
Posted by: Carlos Alberto Ruiz Naranjo

79255439

Date: 2024-12-05 16:14:41
Score: 1.5
Natty:
Report link

Yes, I also got the error 'link.exe' failed with exit code 1104. The files foo.pyx and foo.c were located on a share. The path was rather long. Or maybe the spaces in the path caused trouble. When I copied those files to folder C:\temp and I ran the command 'cythonize -a -i foo.pyx' there, the error did not occur again and the build finished without problems: "Finished generating code" and "copying build\lib.win-amd64-3.8\foo.cp38-win_amd64.pyd".

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

79255437

Date: 2024-12-05 16:13:40
Score: 4
Natty:
Report link

Another useful tool for viewing dependencies : https://npmgraph.js.org/

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

79255434

Date: 2024-12-05 16:12:39
Score: 1.5
Natty:
Report link

the problem was in android:layout_height="?actionBarSize" in androidx.appcompat.widget.Toolbar I changed it to android:layout_height="wrap_content" and the insets worked as they should

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

79255427

Date: 2024-12-05 16:10:38
Score: 4
Natty:
Report link

Is there any type of reason you would like to install the version 18? As per https://docs.oracle.com/en/java/javase/index.html the latest version is the 23.

You can download the latester version at: https://www.oracle.com/java/technologies/downloads/

You need to make sure that there is no other version of jdk installed on the computer, if you have other version that might be the reason you can not install it.

If it is your first time and you are sure you do not have another version, and you really need version 18, follow the steps at: https://docs.oracle.com/en/java/javase/18/install/installation-jdk-macos.html#GUID-C5F0BF25-3487-4F33-9275-7000C8E1C58C

If you followed it and still encounter issues, replicate Java error:JDK 17.0.1 can’t be installed on this computer response.

Reasons:
  • Blacklisted phrase (1): Is there any
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Mauro Soto

79255423

Date: 2024-12-05 16:10:38
Score: 2
Natty:
Report link

As an experienced developer with a strong Java background, I appreciate how "Construct 2" simplifies 2D game creation for HTML5 and mobile platforms, but for a game like Dr. Driving Mod APK, professionals often prefer more robust engines such as Unity or Phaser for their advanced features, scalability, and support for both web and mobile game development.

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

79255417

Date: 2024-12-05 16:08:37
Score: 10 🚩
Natty: 6
Report link

This is an older thread but I was wondering if anyone had solved a persisting issue related to this one on Cytoscape.

After starting cytoscape, I do File > New Network > Empty And then in the new network, I do File > Import > Table from file

Then I select a file which is just a minimal graph as below

node_name,x_location,y_location,color node1,0.5,0.2,#FF0000 node2,0.4,0.3,#00FF00 node3,0.8,0.4,#0000FF

It recognizes node_name as key variable. But when I hit import, I get an error: "Load Table Possible import error No rows copied!! Check that 'key column for network' matches imported key column and check the column name doesn't conflict"

I also tried to open the HIV network that shows up as one of the "default" networks, exported it, and tried to import is as above. Same error shows up, despite the fact that "opening" the network by right-clicking in the default state of the Cytoscape dashboard it looks fine.

It seems I'm the only one with this problem, but I've tried on two separate machines (mac and PC) and got this message in both. My Cytoscape version is 3.10.3

Any help would be greatly appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (3): Any help would be greatly appreciated
  • RegEx Blacklisted phrase (1): I get an error
  • RegEx Blacklisted phrase (1): Same error
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bridge

79255416

Date: 2024-12-05 16:08:37
Score: 0.5
Natty:
Report link

This is a lot simpler with the addition of the withColumns method to the Pyspark API:

from pyspark.sql.functions import col


convert_cols = [
    "Date",
    "Time",
    "NetValue",
    "Units",
]

df = df.withColumns({c: col(c).cast('double') for c in convert_cols})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert Robison

79255401

Date: 2024-12-05 16:05:35
Score: 6.5 🚩
Natty:
Report link

=REGEXEXTRACT(B4, "href=""([^""]*)""") is the answer found here: How to screen double quotes in Google Docs re2 expressions?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: denis bidinost

79255395

Date: 2024-12-05 16:04:35
Score: 3.5
Natty:
Report link

Just use w.sizeHintForRow(0) with w being the QListWidget and 0 the first row

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

79255393

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

I had to do something similar and what worked for me was this:

Right click on the file and Open with... Google Chrome. Or if that doesn't work, open with Safari and then from the View menu, choose Text Encoding> and then choose Big5 or whatever it is.

Next, Cmd-A to select all the text.

Now paste that text into a new blank document in TextEdit.

Now Save... and make sure to choose UTF-8.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tyler

79255388

Date: 2024-12-05 16:01:34
Score: 2
Natty:
Report link

Run npm run ios in the terminal before running from Xcode.

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

79255379

Date: 2024-12-05 16:00:34
Score: 3.5
Natty:
Report link

it's not working again, although i'm using TWS and TWSAPI, both in stable version.

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

79255372

Date: 2024-12-05 15:57:33
Score: 1
Natty:
Report link

I encountered the same error. The cause was, using the KeyStore Explorer software, I was encrypting the RSA private key in addition to just exporting it.

1

So, basically, the code complains that it's reading an asymmetricly encrypted key pair while expecting an RSA private key.

I unchecked the "Encrypt" box, in the "export private key" dialog box befor exporting the .pem, and the exception disappeared.

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

79255371

Date: 2024-12-05 15:57:33
Score: 2.5
Natty:
Report link
I have a problem with using sevenzipjbinding for open a 7zipFile like that: ISevenZipInArchive inArchive = SevenZip.openInArchive(SevenZipArchiveFormat.SEVEN_ZIP, inStream)) .
I get an error on  SevenZipArchiveFormat.SEVEN_ZIP that is not exists in the sevenzipjbinding api. where should I find it? 
for example the ISevenZipInArchive  is in :
<dependency>
    <groupId>com.carrotgarden.jwrapper</groupId>
    <artifactId>jwrapper-7zip-jbinding</artifactId>
    <version>1.0.0</version>
</dependency>
Reasons:
  • Blacklisted phrase (1.5): where should I
  • RegEx Blacklisted phrase (1): I get an error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: דיני נייקי

79255338

Date: 2024-12-05 15:48:31
Score: 3.5
Natty:
Report link

Thanks for your help on this matter! The -plays parameter is valid for FFmpeg, but not for ffplay. Is there any way to use this minimalistic all-round player to loop an animated PNG forever?

ffplay.exe https://upload.wikimedia.org/wikipedia/commons/1/14/Animated_PNG_example_bouncing_beach_ball.png -plays 0

returns:

Failed to set value '0' for option 'plays': Option not found
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there any
  • Whitelisted phrase (-0.5): Thanks for your help
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Carlos Oxwall

79255325

Date: 2024-12-05 15:45:31
Score: 3
Natty:
Report link

pgAdmin4 v8.13 the database(s) you've added to restrict were the only you could see after the connection done. So this works on opposite manner in 8.13

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