79355841

Date: 2025-01-14 17:25:38
Score: 1
Natty:
Report link

I just had the same problem and found your question. I've created a new AVD with Android 14 but that was not the solution. The "solution" was that I ran flutter run instead of flutter run emulator-5554 and it automatically picked up the running AVD with Android 14. Weird, right? I'm pretty sure the command worked fine for me in the past with my older AVDs.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: djevulen

79355834

Date: 2025-01-14 17:24:38
Score: 1.5
Natty:
Report link

You can filter using the query param slug:

https://example.com/wp-json/wp/v2/users/?slug=jsmith

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

79355826

Date: 2025-01-14 17:21:37
Score: 2.5
Natty:
Report link

you need to import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';

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

79355811

Date: 2025-01-14 17:17:36
Score: 1
Natty:
Report link

You can visualize what data is shared between variables using package memory_graph

import memory_graph # see install instruction at link above

voting_records = [['1.', 'DIRECTOR', 'Management'],
 ['1', 'Allison Grant Williams', 'For'],
 ['2', 'Sheila Hartnett-Devlin', 'For'],
 ['3', 'James Jessee', 'For'],
 ['4', 'Teresa Polley', 'For'],
 ['5', 'Ashley T. Rabun', 'For'],
 ['6', 'James E. Ross', 'For'],
 ['7', 'Rory Tobin', 'For']]

cnames = ["Record","Proposal","Sponsor","VoteCast"]
voting_records_short = [record for record in voting_records if len(record) < len(cnames)]

if len(voting_records_short) == 0: pass
else:
    ifdirector = ["DIRECTOR" in record for record in voting_records_short]
    if True in ifdirector:
        directorindx = int(ifdirector.index(True))
        directorline = [voting_records_short[directorindx]]
        directors = voting_records_short[directorindx+1:]
        sponsoridx = cnames.index("Sponsor")
        for ls in range(len(directors)):
            directors[ls][0] = directorline[0][0] + directors[ls][0]
            directors[ls][1] = directorline[0][1] + " " +directors[ls][1]
            directors[ls].insert(sponsoridx,directorline[0][-1])

memory_graph.show(locals()) # show a graph of all local variables

which results in:

enter image description here

in which it is clear 'voting_records', 'voting_records_short', and 'directors' share all underlying data. As suggested consider making a deepcopy.

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

79355808

Date: 2025-01-14 17:15:35
Score: 3
Natty:
Report link

Still getting this error in PyCharm 2024.3.1.1 (Professional Edition) error example

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

79355807

Date: 2025-01-14 17:15:35
Score: 0.5
Natty:
Report link

Solution

Install the npm module that packages the binary locally.

npm install aws-crt

Update build script to mark aws-crt as an external:

esbuild src/server.ts --outdir=dist --bundle --platform=node --external:aws-crt

References:

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

79355797

Date: 2025-01-14 17:13:34
Score: 1
Natty:
Report link

For resumable upload you should read tus protocol...

tus is a new, open protocol for resumable uploads built on HTTP. It offers simple, cheap and reusable stacks for clients and servers. It supports any language, any platform and any network.

more information link here and tus client for PHP

the demo link here and all official and community client here

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

79355796

Date: 2025-01-14 17:13:34
Score: 1.5
Natty:
Report link

Current list of default action ids:

"update_user_locale", "CONFIGURE_TOTP", "delete_account", "VERIFY_EMAIL", "webauthn-register-passwordless", "webauthn-register", "VERIFY_PROFILE", "delete_credential", "UPDATE_PASSWORD", "UPDATE_PROFILE"

I got the list by adding every action manually to a user in the admin console, then doing the GET request to /admin/realms/{realm}/users/{user-uuid} to retrieve the JSON representation of the actions in the requiredActions field.

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

79355794

Date: 2025-01-14 17:13:34
Score: 1.5
Natty:
Report link

Specify the encoding in "readFile" method as "utf8", it should work.

fs.readFile("demofile.html","utf8",function(err,data ...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Somesh Thakur

79355792

Date: 2025-01-14 17:12:33
Score: 6.5 🚩
Natty: 4
Report link

I have a similar issue where I have several nodes and some nodes have childern with the same name.

When selecting "Same Name" under a different child no even is firing?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar issue
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Rog

79355791

Date: 2025-01-14 17:12:32
Score: 4.5
Natty: 4
Report link

session.findById("wnd[0]/sbar/pane[0]").Text

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rui

79355783

Date: 2025-01-14 17:09:31
Score: 4
Natty:
Report link

Based on @shahim script I created an enhanced version with more user-friendly formatted Excel Sheet, highlighting missing translations and also support for plurals:

https://github.com/PhilKes/AndroidExcelConverter

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @shahim
  • Low reputation (0.5):
Posted by: PhilKes

79355782

Date: 2025-01-14 17:09:31
Score: 3.5
Natty:
Report link

Where do you set up your SSL/TLS certificates? for sure you need one to complete a TLS hand shake

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Where do you
  • Low reputation (1):
Posted by: Davide Bozzo

79355781

Date: 2025-01-14 17:08:30
Score: 2
Natty:
Report link

The solution I got, the same code I post on the question, but using LISTAGG and DBMS_LOB.SUBSTR, here:

LISTAGG(DBMS_LOB.SUBSTR(m.multiplaResposta, 4000, 1), ' | ') WITHIN GROUP (ORDER BY MULTIPLARESPOSTA) AS multiplaResposta

Thanks everyone!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Julio Cezar Teixeira

79355780

Date: 2025-01-14 17:08:30
Score: 0.5
Natty:
Report link

On further investigation I find that producing the list in either of the following ways works. I still do not understand why the version I used doesn't. I think it should.

   // this works
   Group {
      List(viewModel.lineup) { PlayerRowView(player: $0) }
   }

   // so does this
   ScrollView {
      List(viewModel.lineup) { PlayerRowView(player: $0) }
   }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tchelyzt

79355776

Date: 2025-01-14 17:06:30
Score: 0.5
Natty:
Report link

For me, router.push({}) pushed a copy of the previous screen onto the stack. Mirroring the react-navigation docs linked by @love li studios, the answer was to use router.dismissTo()

Screen receiving data


import { useLocalSearchParams } from "expo-router";

...

  const params = useLocalSearchParams();

  useEffect(() => {
    if (params?.selection) {
      setSelectedCategory(params.selection);
    }
  }, [params]);

...

Modal sending data

import { router } from "expo-router";

...

router.dismissTo({
      pathname: "(app)/Energy",
      params: {
        selection: "My Selection",
      },
    });

...
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @love
  • Low reputation (0.5):
Posted by: Niko Dunk

79355762

Date: 2025-01-14 17:02:28
Score: 2.5
Natty:
Report link

I can suggest giving a try to Decor8 AI virtual staging API - which uses Stable Diffusion under the hood. It will save you trouble to train your own model, host it on rented GPU, scale it and then keep it available 24/7.

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

79355760

Date: 2025-01-14 17:01:27
Score: 6.5 🚩
Natty:
Report link

I've been having the same problem; Here's a thread on it with some workarounds. https://github.com/pmndrs/react-three-fiber/issues/2546

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Low reputation (1):
Posted by: Karen

79355755

Date: 2025-01-14 17:00:26
Score: 3.5
Natty:
Report link

Whats ur subgroup size ? STD DEV in this case is STD DEV divided y the subgroup size

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Adel Riyad

79355749

Date: 2025-01-14 16:57:25
Score: 5.5
Natty:
Report link

It seems like when I go through the route of using the terminal to publish a signed .aab instead, I dont get an error.

I followed this video: https://www.youtube.com/watch?v=jfSVb_RR7X0

and as recommended by one of the commenter, I also looked through this: https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli?view=net-maui-9.0

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shannon

79355742

Date: 2025-01-14 16:56:25
Score: 2
Natty:
Report link

Having 2 to 3 percent difference between the training and testing is not a sign of overfitting especially in models like random forest which is very robust in nature your model doing exceptional on training data and also on testing.In this case model make good.Overfitting occurs when there is a large gap between training and testing.If you still want to make sure if the model is not overfitting you can check with other models like decision tree or logistic regression and compare the scores.

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

79355724

Date: 2025-01-14 16:49:23
Score: 3
Natty:
Report link

None of the C drive has compressed folders. Still get the error. Windows 11 Pro on HP laptop.

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

79355716

Date: 2025-01-14 16:47:23
Score: 2.5
Natty:
Report link

Use req.headers.get("x-forwarded-for") or req.headers.get("x-real-ip") to get the IP address in Next.js Middleware (Ensure nginx is properly configured to forward the IP-related headers).

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

79355713

Date: 2025-01-14 16:46:22
Score: 1
Natty:
Report link

should be changed to this since the proper syntax is "if ()" (You need extra brackets)

if (OrderItemType != T || (OrderItemType == D && NumberRequiredLevel != null) || (OrderItemType == D && NumberRequiredLevel != ""))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tinyfold

79355711

Date: 2025-01-14 16:45:22
Score: 1
Natty:
Report link

The issue you are encountering is likely related to how Tkinter handles Unicode encoding and font support on Raspberry Pi, especially with non-ASCII characters. I suggest focusing on the following:

Ensure that your system is set to UTF-8 (export LANG=en_US.UTF-8). Verify that the fonts are properly recognized by Tkinter. If you're still having trouble, consider upgrading Tcl/Tk or trying specific fonts that are known to work well with Tkinter. Let me know how it goes, and feel free to follow up if you encounter further issues! I'll be happy to help debug more. 😊

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

79355706

Date: 2025-01-14 16:43:22
Score: 1.5
Natty:
Report link

When writing to Azure Blob Storage it was buffering data first. By default it uses disc to do so. I had to add following configuration:

fs.azure.data.blocks.buffer: bytebuffer

It should improve efficiency, however, it may be risky due to memory limitations.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: DamDev

79355695

Date: 2025-01-14 16:39:21
Score: 0.5
Natty:
Report link

I think you don't need to define fields that define task attributes in the exception class either through the constructor or using the builder pattern.

In the vast majority of cases, you won't need to get them from the corresponding exception object.


P.S. If you really want to have this data in the exception object, define a constructor that takes one parameter - the search criteria object.

Reasons:
  • No code block (0.5):
Posted by: nik0x1

79355693

Date: 2025-01-14 16:37:20
Score: 1
Natty:
Report link

Sadly, the API does not support uploading images, only URLs to remote images.

enter image description here

Sources:

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

79355679

Date: 2025-01-14 16:30:19
Score: 1.5
Natty:
Report link

Since Java 11, you can do:

s.lines().findFirst().orElse(null)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: baumato

79355677

Date: 2025-01-14 16:29:17
Score: 4
Natty:
Report link

The issue was caused because the implementation was made into a Doker Container.

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

79355676

Date: 2025-01-14 16:29:17
Score: 2
Natty:
Report link

onPage is called when dropdown of paginator changes giving you the event.rows.

<p-table (onPage)= "onPageChange($event)" >

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

79355674

Date: 2025-01-14 16:29:17
Score: 1
Natty:
Report link

The solution to create a Predicate object for an "IN CLAUSE" is as follow:

Predicate[] predicates =  new Predicate[] {
        root.get("zone").in(Arrays.asList("Zone 1"))
};
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user2023141

79355671

Date: 2025-01-14 16:28:17
Score: 2.5
Natty:
Report link

@Kyle i am trying the answer posted however it is not working Your answer

I am using CDN approach to load AdaptiveCards SDK JS using 3.0.5 version "https://unpkg.com/[email protected]/dist/adaptivecards.js"

Also tried with https://unpkg.com/[email protected]/dist/adaptivecards.js this version.

As pointed out in the documentation, there are breaking changes from version 2.0 and suggested to use SerializationContext.onParseElement as AdaptiveCard.onParseElement it has been removed. But still it is not hitting the handler.

Could you please check?

PS: it wasn't allowing me to post as comment hence i have posted it as query.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Kyle
  • Low reputation (1):
Posted by: Devanshu Kinariwala

79355665

Date: 2025-01-14 16:27:16
Score: 14
Natty: 8
Report link

Any solution facing the same access denied issue? also browser change isn't working? Thanks in adv

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (3): Thanks in adv
  • RegEx Blacklisted phrase (2): working?
  • RegEx Blacklisted phrase (2): Any solution facing the same access denied issue?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: yashpreet

79355661

Date: 2025-01-14 16:26:16
Score: 1
Natty:
Report link

Visual Studio IDE Path: Change the path for "Visual Studio IDE" and set it to D:\Microsoft Visual Studio\2022 or your desired location.

Download Cache Path: Change the path for "Download cache" and set it to D:\VisualStudio\Packages or any other folder.

Shared Components Path: Change the path for "Shared components, tools, and SDKs" and set it to D:\Microsoft Visual Studio\Shared or any other desired folder.

How to Change Paths: Click the ... button next to each path and select your desired location.

Start Installation: Once all paths are set, proceed to start the installation.

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

79355654

Date: 2025-01-14 16:24:15
Score: 1.5
Natty:
Report link

That's great, but you have to add the Admin SKD API twice. The 1st time it proposes only directory_v1, then reports_v1. I also need to rename Identifier AdminDirectory to AdminReports.

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

79355647

Date: 2025-01-14 16:20:14
Score: 6 🚩
Natty: 5.5
Report link

duda con java 21 es compatible?

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

79355633

Date: 2025-01-14 16:18:13
Score: 1
Natty:
Report link

I added this line to the end of my render function and that seems to have solved my rendering issues on the line layer above - I believe it is reseting MapLibre's own stencil buffer before it begins to draw the next layer.

this.map?.painter.clearStencil();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: bameyrick

79355620

Date: 2025-01-14 16:15:12
Score: 2.5
Natty:
Report link

ArangoDB offers the adbnx_adapter, which lets you pull the graph in question directly into a nx.MultiDiGraph.

Networkx also supports the Louvain algorithm

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

79355617

Date: 2025-01-14 16:14:12
Score: 2.5
Natty:
Report link

As already was mentioned, check the default augmentations in ultralytics/cfg/default.yaml. Also pay attention to set auto_augment=None so you don't get any additional random augmentations.

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

79355611

Date: 2025-01-14 16:11:11
Score: 1.5
Natty:
Report link

Can be used with Ionic.Zip

using Ionic.Zip
using (ZipFile zip = ZipFile.Read(Stream))
{
     foreach (ZipEntry e in zip)
     {
         //To receive Stream
         MemoryStream stream = new MemoryStream();
         e.Extract(stream);
     }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: user16626854

79355603

Date: 2025-01-14 16:10:11
Score: 1.5
Natty:
Report link

I'll just leave it here in case anybody needs it: in my case, it was the "default" configuration file in /etc/nginx/sites-enabled folder that was conflicting with my own configuration and preventing it from running.

I just removed it and everything worked as intended.

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

79355594

Date: 2025-01-14 16:08:10
Score: 5
Natty: 5.5
Report link

Esto se produce también por un error no controlado en el código colocado en el OnInitializedAsync

Reasons:
  • Blacklisted phrase (2): código
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mario Adrian Figueroa

79355585

Date: 2025-01-14 16:04:09
Score: 2.5
Natty:
Report link

I was having this problem too. My problem was solved when I sent an object instead of FormData. My Expo application was working smoothly on iOS and the Web, but I was getting [AxiosError: Network Error] error on Android.

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

79355579

Date: 2025-01-14 16:00:07
Score: 3.5
Natty:
Report link

See details: https://docs.stripe.com/checkout/one-click-payment-buttons?payment-ui=embedded-components

You basically need to use the ExpressCheckoutElement.

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

79355577

Date: 2025-01-14 16:00:06
Score: 9 🚩
Natty: 5.5
Report link

Did you find a resolution to this issue?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a
  • 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 find a
  • Low reputation (1):
Posted by: JerkFace

79355565

Date: 2025-01-14 15:56:05
Score: 1
Natty:
Report link

If redirectToOriginalResource = true doesn't work there is a workaround : write a callback servlet that does the job.

configure it with redirectURI = "${baseURL}/Callback" and redirectToOriginalResource = false

@WebServlet("/Callback")
public class CallbackServlet extends HttpServlet {

    @Inject
    private OpenIdContext context;

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        if (context != null) {
            Optional<String> originalRequest = context.getStoredValue(request, response, OpenIdConstant.ORIGINAL_REQUEST);
            String originalRequestString = originalRequest.get();
            response.sendRedirect(originalRequestString);
        }
    }
}

This solution was found here : https://openliberty.io/docs/latest/enable-openid-connect-client.html

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

79355558

Date: 2025-01-14 15:54:05
Score: 0.5
Natty:
Report link

Another whay to going to the top of the page without adding # to the URL is:

<button onclick="window.scrollTo({top: 0, behavior: 'smooth'})">Back to top</button>

Source: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo

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

79355557

Date: 2025-01-14 15:54:04
Score: 10 🚩
Natty: 4.5
Report link

Did you find a solution yet? having the same issues with an old L8 project.

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: Mario Moreno

79355555

Date: 2025-01-14 15:53:04
Score: 1.5
Natty:
Report link

Hi There's a simple way to do this and it doesn't scale with array size `

 vector<Element> array = {1,2,3,4,5}; // example array
 vector<Element>::iterator it;
 it = array.begin();
 cout << ((it+wantednumberindex))->number << "\n"; // prints wanted number

`

Reasons:
  • Blacklisted phrase (0.5): Hi There
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ziad Alaoui

79355553

Date: 2025-01-14 15:52:03
Score: 3
Natty:
Report link

There are a few things that should be taken into consideration when dealing with your problem.

First, the OUI used by the netaddr 1.3.0 package is outdated.

I have an iPhone 16 with' OUI 0C-85-E1. You can check directly in IEEE or here that it is a valid OUI, but it's not updated in the netaddr source.

You can solve this problem using another approach to get OUI info from the web.

maco = src_mac[:8].upper().replace(":", "-")
try:
  response = requests.get(f"https://api.macvendors.com/{oui}")
  if response.status_code == 200:
    macf = response.text
  else:
    macf = "Not available"
except Exception as e:
  macf = "Not available"

But here there's the second problem. Apple uses a private Wi-Fi addresses security functionality that prevents from showing the real OUI on all requests, including probe requests.

Check here when this option is off:

private Wi-Fi addresses security functionality off

And when it's on:

enter image description here

You can check that OUI 6E-BA-4F it's invalid.

Android has a similar function too. So you will have the same problem.

If your clients use this function there is no way to determine the vendor based on OUI from probe requests.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (0.5):
Posted by: wiltonsr

79355552

Date: 2025-01-14 15:52:03
Score: 1.5
Natty:
Report link

There is no android:ordering in View Animation, but you can still hand-craft the timing by using the android:startOffset attribute.

You can find an example in the official View Animation documentation

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Javi García

79355548

Date: 2025-01-14 15:52:03
Score: 3
Natty:
Report link

Webview in Android was already implemented and iOS has been added from their release version: 20.19.1 (https://github.com/wix/Detox/releases/tag/20.19.1)

Please, follow the official doc for element interactions: https://wix.github.io/Detox/docs/api/webviews/

enter image description here

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

79355546

Date: 2025-01-14 15:51:03
Score: 2.5
Natty:
Report link

spark3-submit --properties-file ${CONFIG_DIR}/${PROCESS_NM}.conf --queue ${YARN_POOL_NAME} --master yarn --deploy-mode cluster --num-executors 20 --executor-cores 4 --driver-memory 60g --executor-memory 8g --conf spark.sql.shuffle.partitions=400 --conf spark.yarn.executor.memoryOverhead=8192 /apps/edh/prod/adhocjobs/data/rubin/${PROCESS_NM}.py > ${LOG_DIR}/${PROCESS_NM}_${LOG_FILE_TS}.log

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

79355544

Date: 2025-01-14 15:49:02
Score: 3.5
Natty:
Report link

The issue was a missing CIDR block in the EgressFirewall rule.

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

79355532

Date: 2025-01-14 15:44:00
Score: 6 🚩
Natty:
Report link

Thank you very much that helped me a lot. now the page loads without error but when I click on this link:

<a href="{% url 'book:genre' genre.id %}

I get this error: TypeError at /genres/1 cannot unpack non-iterable int object

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): helped me a lot
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): I get this error
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mangaka

79355516

Date: 2025-01-14 15:37:58
Score: 1.5
Natty:
Report link

there is no error when importing tensorflow " import tensorflow as tf " is a right syntax,

try to import Model at top where M is Capital, " from tensorflow.keras import Model "

at last check your Python version as well tensorflow. latest version of python is 3.13.1 and tensorflow only provide support to 3.8-3.11,

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

79355509

Date: 2025-01-14 15:35:58
Score: 1.5
Natty:
Report link

To restart all deployments in a namespace use:

kubectl rollout restart deployment -n <namespace>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kr1SEl

79355502

Date: 2025-01-14 15:33:57
Score: 1
Natty:
Report link

This works too 01/2025

div[data-automation-id="CanvasZone-SectionContainer"] {
    max-width: 100% !important; //so it's as full width webpart 
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FredericDietrich

79355479

Date: 2025-01-14 15:25:55
Score: 0.5
Natty:
Report link

By adding Status.NEW to a empty string (print("" + Status.NEW)), it is converted to a string with it's __str__, which will be NEW. When you just use print(Status.NEW), python using the __repr__ method instead, which will be Status.NEW, instead of NEW

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

79355471

Date: 2025-01-14 15:22:54
Score: 1.5
Natty:
Report link

There is no direct tool or plugin to convert a Divi-built website into a WPBakery-built site, as both builders use different shortcodes and layouts. You’d need to manually rebuild the site in WPBakery, which can be time-consuming. Instead of converting, consider sticking with Divi, as it offers a more flexible and intuitive visual builder, pre-built divi layouts, and strong support. Divi also allows for easy design customization and comes with a wealth of resources that make website creation faster and more efficient, without the need for constant rebuilding.

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

79355462

Date: 2025-01-14 15:19:53
Score: 4.5
Natty: 5
Report link

https://www.youtube.com/watch?v=OV98yxxI7-0

Have you tried this. This could work.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: skrcode

79355458

Date: 2025-01-14 15:14:51
Score: 4
Natty:
Report link

Simply, use Tor browser. You can't get rid of using captcha using it

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

79355457

Date: 2025-01-14 15:14:51
Score: 0.5
Natty:
Report link

I found a solution after lots of debugging to understand the internals:

VertxContext.getOrCreateDuplicatedContext(_vertx).executeBlocking(  
    () -> {
        MDC.put(xxx);
        operation.accept(tenantId);
        logger.info(xxx);
        return null;
    });
    

VertxMDC creates a duplicate context from the current context unless the current context is already a duplicated context.

Without getOrCreateDuplicatedContext(), the currentContext inside the operation is the EventLoop context (in my case), so every MDC call (put, get) creates its own duplicated context and stores/retrieves data in a storage that no one else will ever use.

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

79355454

Date: 2025-01-14 15:14:50
Score: 5
Natty: 4.5
Report link

Hi sushilbolwar, could you please tell me the steps for how to go service properties-->log on--> local system-->select checkbox

Reasons:
  • RegEx Blacklisted phrase (2.5): could you please tell me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Madhavan J J

79355445

Date: 2025-01-14 15:10:49
Score: 1
Natty:
Report link

The github support answered. it seems we have to use another syntax for the whitespace included parameters to work

https://api.github.com/repos/myorg/myrepo/issues?label:"My%20PR%20Label"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Özgün

79355444

Date: 2025-01-14 15:10:49
Score: 2
Natty:
Report link

The solution to extract By from WebElement [method getByFromElement() ] will fail when a By contains locator that has parent::a or ancestor::div in its xpath

This is because an extra ':' char in xpath will result in wrong split

Thus instead the split(":"); need to use split(":",2); will work instead

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

79355439

Date: 2025-01-14 15:08:49
Score: 3
Natty:
Report link

Laravel at the moment does not support this, you would see from here that the issue created for this in your reference was closed

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

79355438

Date: 2025-01-14 15:08:49
Score: 1.5
Natty:
Report link

Thanks @Hans and @mkl for your inputs, on which I edited my question and hope it's not off-topic anymore, and I'll answer the question myself:

Using Apache PDFBox, you can fill a form text field with a known fully qualified name like this:

import org.apache.pdfbox.Loader;
import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm;
import org.apache.pdfbox.pdmodel.interactive.form.PDField;
import org.apache.pdfbox.pdmodel.PDDocument;
import java.io.File;


public class FillForm
{
    public static void main(String[] args) throws IOException
    {
        String formTemplate = "emptyform.pdf";
        PDDocument pdfDocument = Loader.loadPDF(new File(formTemplate));
        PDAcroForm acroForm = pdfDocument.getDocumentCatalog().getAcroForm();
        PDField text1 = acroForm.getField("Text1");
        text1.setValue("A Text");
        pdfDocument.save("filledform.pdf");
        pdfDocument.close();
    }
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Hans
  • User mentioned (0): @mkl
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michi

79355419

Date: 2025-01-14 15:01:47
Score: 1
Natty:
Report link

I was searching for this, but didn't care about preserving the old value and this worked well enough for me (resetting the value to empty string):

const showList: EventHandler = (ev) => {
    const input = ev.target as HTMLInputElement;
    input.value = '';
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mitch

79355416

Date: 2025-01-14 14:59:46
Score: 1
Natty:
Report link

Add some CSS rules AFTER the Bootstrap CSS files:

fieldset{
    border:2px solid navy;
    border-radius:12px;
}
legend {
  float: none;
  width: auto;
  padding: 0 4px;
  font-size:1.1rem;
}

This way the legend is embedded in the top border and the fieldset's border is shown.

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

79355403

Date: 2025-01-14 14:55:45
Score: 2
Natty:
Report link

If what you want is the text of the R script in a PDF (without the output of each script), you can just open your .R file in your Operating System's stock text editor (e.g., Apple's TextEdit.app) and then save that file as a PDF (from the text editor app).

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

79355399

Date: 2025-01-14 14:52:44
Score: 1.5
Natty:
Report link

Unfortunately, there are no additional formatting parameters in the echo() function in Nim, as in Python print(). It is very strange and stupid that it does not have such basic and important functionality.

I hope the developers agree that such functionality is necessary. And so far we haven't implemented it just because we haven't gotten around to it.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Derian De Grey

79355395

Date: 2025-01-14 14:51:44
Score: 2.5
Natty:
Report link

OK - there is no function like "replace" (anymore). To still be able to use it I implemented it by adding a custom DQL-function like described here: https://symfony.com/doc/6.4/doctrine/custom_dql_functions.html

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

79355394

Date: 2025-01-14 14:51:44
Score: 0.5
Natty:
Report link

From my side, I found that you can try to replace hash symbol with %23. So, you can try something like that:

uri.toString().replace("#", "%23")

Also, it might be useful to use Uri.decode() before the replacement.

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

79355388

Date: 2025-01-14 14:50:44
Score: 3
Natty:
Report link

This was the solution. '''npm uninstall tedious --save''' '''npm uninstall tedious includes=dev @types/tedious''' '''npm install tedious

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

79355385

Date: 2025-01-14 14:49:43
Score: 1
Natty:
Report link

The RFCOMM protocol is one of the basic concepts of classic Bluetooth communication. The important thing used by the RFCOMM is a service's UUID. The service's UUID uniquely identifies the services that are supported by a Bluetooth-enabled device. It is something similar to a WEB protocol: a WEB server can provide HTTP, FTP, email services, etc.

The service UUID may also be referred to as a Bluetooth profile or service class. For example, the Serial Port Profile's UUID is 00001101-0000-1000-8000-00805F9B34FB.

The other important concept of the RFCOMM communication is the RFCOMM channel number. The RFCOMM channel number provides a way for connection to a selected service. You can think about RFCOMM channel numbers as about TCP/IP ports. It is related but not hard-linked to the service's UUID. For example, your WEB server may provide HTTP service on ports 80 and 8080. The same about the Bluetooth RFCOMM channel number. The Serial Port Profile can listen on channel number 1 and on channel number 3.

This is very useful when a device has more than one service with the same UUID. For example, the device may have SPP (Serial Port Profile) service for configuration listening on channel 5 and the other SPP for communication listening on channel 6. If the device has such a configuration, you can identify and select the correct service by its name, which is also maybe published in SDP records.

A Bluetooth-enabled device declares supported services in something known as SDP (Service Discovering Protocol). This is a specially designed server. A client device can connect to the SDP server and query about supported services.

Actual RFCOMM connection always executes to the specific RFCOMM channel number, not to the service's UUID. Usually, most popular libraries allow you to use just a service's UUID. But internally (in the library or by the Bluetooth driver), this UUID resolves (using SDP records) to the RFCOMM channel number.

To be able to connect to a Bluetooth-enabled device, you must correctly provide the service's UUID. And the target device must run a Bluetooth RFCOMM server that listens on the specified service's UUID (and on the associated channel number). Some services are predefined by some devices (for example, HeadSet should support HandsFree and A2DP profiles). But some can appear only when a user installed a special application that acts as a Bluetooth RFCOMM server.

Also, there is no limitation to using any custom UUID for your custom services.

In your code you use the Serial Port Profile service UUID. By default, that profile may not be supported by the devices you are trying to connect to. Depending on your needs, you may need to use another service's UUID or to install an application that supports the required service.

For example, when you are connecting to a smartphone, you may use any OBEX service's UUID. You can find more about OBEX by this link.

You can find more (with code examples) about Bluetooth RFCOMM communication by this link.

If there is something unclear, please ask in comments, and I will try to provide more information.

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mike Petrichenko

79355384

Date: 2025-01-14 14:49:43
Score: 1
Natty:
Report link

You may change your embeddingModel = “text-embedding-3-small” into these 9 Embeddings for Text supported model versions namely:

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

79355377

Date: 2025-01-14 14:46:42
Score: 1
Natty:
Report link

Upgrading it worked for me

pip install --upgrade notebook

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ankit Chand

79355376

Date: 2025-01-14 14:46:42
Score: 3
Natty:
Report link

PowerBI refresh should work unless your data is on prem. If that is the case, you'lll need a gateway to access the on prem data.

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

79355371

Date: 2025-01-14 14:44:42
Score: 0.5
Natty:
Report link

I had this problem too. I solved the problem with like this:

`import pandas as pd

saving the dataframe to csv

df= df.apply(pd.to_numeric, errors='ignore') df.to_csv('df.csv', decimal=',', sep=';')`

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: malibuguest

79355364

Date: 2025-01-14 14:40:41
Score: 2
Natty:
Report link

You can add additional external yaml parameters to a quarto document in the header using the metadata-includes option. See https://quarto.org/docs/projects/quarto-projects.html#metadata-includes

I hope this helps!

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ZekeMarshall

79355353

Date: 2025-01-14 14:39:40
Score: 5.5
Natty:
Report link

Peter, please see the attached image enter image description here

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

79355344

Date: 2025-01-14 14:35:39
Score: 3.5
Natty:
Report link

request uri should be added in azure application registration

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

79355342

Date: 2025-01-14 14:35:39
Score: 3
Natty:
Report link

I had this issue. It was because I added a table to my entity framework name "Resources". I removed the table and then my report loaded correctly. I just needed to rename my "Resources" table so there would be no conflict.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Erika W

79355338

Date: 2025-01-14 14:33:39
Score: 1
Natty:
Report link

Push existing repo code in GitHub main branch

git init

git add .

git commit -m "message"

git rebase --continue

git remote add origin https://github.com/Your project name.git

git branch -M main

git push -u origin main
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JHUTAN DA

79355326

Date: 2025-01-14 14:29:37
Score: 1
Natty:
Report link

Ugh, typical, just as I posted I discovered the solution. For cucumber, you MUST initialise yourself...

@SystemStub 
private EnvironmentVariables environmentVariables; 

@Before 
public void setup() throws Exception {
 environmentVariables = new EnvironmentVariables(); 
 environmentVariables.setup(); 
} 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tirinoarim

79355324

Date: 2025-01-14 14:28:37
Score: 1.5
Natty:
Report link

I am founder of an entity resolution company. I would not take a vector or graph approach for this (obvious bias, but still we do this day in day out). Vectors are too imprecise for entity resolution, and there is too much risk of entity "leakage" - i.e. over-linking.

Graphs are also not designed for entity resolution and will be slow and run into scaling options.

use a proper entity resolution solution.

There is my company: Tilores Another ER company: Senzing a popular OSS library: Zingg

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

79355320

Date: 2025-01-14 14:27:37
Score: 2
Natty:
Report link

The LottieFiles have a large padding around the animations. The solution was to use After Effects to crop any excess padding from the animations and re-save. An alternative is to use a bunch of ZStacks to deal with the excess padding

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

79355313

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

For anyone seeing this late in 2025, you can use the .nextPage() to get the following page data.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Charbel B.G.

79355312

Date: 2025-01-14 14:25:36
Score: 5
Natty: 6.5
Report link

Try reading this blog I wrote on how to combine React-hook-form with useActionState

https://dev.to/emmanuel_xs/how-to-use-react-hook-form-with-useactionstate-hook-in-nextjs15-1hja

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emmanuel Xs

79355309

Date: 2025-01-14 14:25:35
Score: 1
Natty:
Report link

For AWS Elastic Beanstalk using PHP 8.3 and Amazon Linux 2023 I used this and it worked:

#!/usr/bin/env bash

sudo yum install php-pear libzip libzip-devel

sudo dnf install -y php8.3-zip

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: diegoroberto

79355304

Date: 2025-01-14 14:23:35
Score: 0.5
Natty:
Report link

In my case nx hang indefinitely during project graph calculation once I added a second new app to my monorepo. After 2h of trying different things, I found out that even the individual apps need a package.json or else it will not work (even tho for single version strategies where the docs say you don't need it)

Reasons:
  • No code block (0.5):
Posted by: ElectRocnic

79355287

Date: 2025-01-14 14:16:32
Score: 2.5
Natty:
Report link

If you're adding an event to S Planner with a button click, ensure smooth execution by avoiding common mistakes in event planning, such as mismanaging timelines or overlooking details. Integrate automation wisely for a seamless experience. For tips, see more on working with event planners effectively.

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

79355284

Date: 2025-01-14 14:14:32
Score: 0.5
Natty:
Report link

The object queries in DETR are vectors trained via backpropagation, just like learned positional embeddings are trained in other models like segmentation transformer (SETR) or bidirectional encoder representations from transformers (BERT). In the DETR base model which assumes a max of 100 objects per image, these are 100 256-dimensional vectors initialized randomly and trained using a part of the COCO data set.

DETR uses a transformer-based model that includes a decoder stack. A decoder stack requires input vectors, just like decoder-based NLP models like Llama or GPT that require a prompt. The set of object queries is the prompt in the case of DETR. Since the number of vectors, and thus the number of objects output by a decoder stack, is the same as the number of input vectors, we need as many input vectors as the max number of objects we expect (including objects of the "no object" class).

Read original paper for more info.

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

79355283

Date: 2025-01-14 14:13:32
Score: 1.5
Natty:
Report link

Could it be that you're not opening/reading the log file?

Maybe add something like:

with open(logpath, 'r') as f:
    log_content = f.read()

then add it to the body with an f-string like:

body = f"""
Neptun has restared for less than 1 min ago.
Log:
{log_content}
"""
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tyler Short

79355279

Date: 2025-01-14 14:13:31
Score: 0.5
Natty:
Report link

"here-docs" save the day frequently. It's not as hard as it seems:

ssh me@myserver "/bin/bash -s -- arg1 arg2" << 'EOF'
echo "  | Now I am running in the remote shell, my pid is $$"
echo "  | Variables need no special quoting, e.g. if I print the first arg..."
echo "  | you will see arg1($1) in stdout."
echo "  |"
echo "  | My hostname is $(hostname), in case you doubt it!"
echo "  | If you want to get fancy you can even more here-docs within this here-doc:"
cat <<'XXEOF' > ~/some_script

   #!/bin/bash  # How about a comment for our generated script?
   echo "    >> Welcome to $(hostname), I was generated from an ssh command line"
   echo "    >> Inner date is $(date -Iseconds)"
   echo "    >> If we wanted to, we could go to a 3rd level of nesting.  Did you ever"
   echo "    >>  see the movie 'Inception'?? Same thing: it's here-docs all the way down"
   echo "    >>  "

XXEOF
chmod +x ~/some_script
echo "  | Outer date: $(date -Iseconds)"
sleep 2
~/some_script
EOF

Produces this output:

  | Now I am running in the remote shell, my pid is 115798
  | Variables need no special quoting, e.g. if I print the first arg...
  | you will see arg1(arg1) in stdout.
  |
  | My hostname is myserver, in case you doubt it!
  | If you want to get fancy you can even more here-docs within this here-doc:
  | Outer date: 2025-01-14T09:03:47-05:00
    >> Welcome to traind-pw-679, I was generated from an ssh command line
    >> Inner date is 2025-01-14T09:03:49-05:00
    >> If we wanted to, we could go to a 3rd level of nesting.  Did you ever
    >>  see the movie 'Inception'?? Same thing: it's here-docs all the way down
    >>  
Reasons:
  • RegEx Blacklisted phrase (3): Did you ever
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Stabledog

79355278

Date: 2025-01-14 14:13:31
Score: 3.5
Natty:
Report link

After you create a new file, we need to set which file as the start up file at the Solution Explorer, after that it should be fine:

enter image description here

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

79355272

Date: 2025-01-14 14:11:31
Score: 2
Natty:
Report link
  1. In IntelliJ IDE (At the top bar): Help >>> About.
  2. In CMD: Navigate to IntelliJ location in your local: cd "C:\Program Files\JetBrains\IntelliJ IDEA\bin" then run the following: idea.bat --version
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kai Usmonov

79355267

Date: 2025-01-14 14:08:30
Score: 1.5
Natty:
Report link

I am using <img src="https://drive.google.com/thumbnail?sz=w1920&id=<image id>" alt="Logo" /> and it's working very well. Just a quick suggestion: for the image file to display properly on the HTML page, make sure the file in Google Drive is set to "Share with anyone with the link" in the sharing options.

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