79298463

Date: 2024-12-20 21:48:56
Score: 2
Natty:
Report link

This is how AWS is doing it. They're dynamically writing the SSM Parameter Names into a .json file and then calling GetParameter in the function.

https://github.com/aws-samples/cognito-at-edge-federated-ui-sample/blob/a49f0cc15a4c5bad973fe109abcf9d4d701cf160/infrastructure/lib/constructs/app-cdn.ts#L120

https://github.com/aws-samples/cognito-at-edge-federated-ui-sample/blob/a49f0cc15a4c5bad973fe109abcf9d4d701cf160/infrastructure/lib/constructs/app-cdn.auth-handler.ts#L5

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

79298460

Date: 2024-12-20 21:47:56
Score: 0.5
Natty:
Report link

You can slice the dataframe by using the informatioa from GroupBy:

g = df.groupby("SN")["Amount"].max()
df = df.loc[df["SN"].isin(g.index) & df["Amount"].isin(g.values)].reset_index(drop=True)
display(df)

    SN  Category    Amount
0   1   Cat2        3000
1   2   Cat22       5000
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rehaqds

79298452

Date: 2024-12-20 21:44:55
Score: 0.5
Natty:
Report link

In your code where constructing ProcessingStep, you are specifying two ProcessingInputs and they have same destination path ("/opt/ml/processing/input"). Seeing the ml-ops sample notebooks in the amazon-sagemaker-examples repo, they use different destination paths when using multiple ProcessingInputs. Please try specifying different paths and check if the issue resolves.

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

79298445

Date: 2024-12-20 21:41:54
Score: 3.5
Natty:
Report link

If you are on windows 11 use

http://host.docker.internal:11434 as the Base URL on your connection credentials to for Ollama Account.

Self n8n via Docker conneted to Ollama on local Machine

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sulvid Pvt Ltd

79298442

Date: 2024-12-20 21:39:52
Score: 6 🚩
Natty:
Report link

@Abdul : I ran into same issue but the solution you mentioned didn't work for me. Is there anything else that you did, but forgot to capture in your solution here? As per my understanding, the overlay network creates a routing mesh, so doesn't matter which IP you use to access the service on the swarm/cluster, the service will still be hit. I am using a cluster of VMs managed by multipass and orchestrated by Docker Swarm. I have same two containers as your - drupal:9 and postgres:14. When I took the IP (10.199.127.84) and tried to access Drupal using it, i got 'site cant be reached' error. Any idea what I'm missing here?

enter image description here

P.S. Sorry to put it as a response, but I don't have enough 'reputations' to comment on your response/marked-answer.

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Abdul
  • Low reputation (1):
Posted by: Devdatta

79298439

Date: 2024-12-20 21:39:52
Score: 2.5
Natty:
Report link

This is an old post, but you will have to provide the full key name for the object you would like to retrieve tags from.

ex "folder1/folder2/file.txt"

AWS does not currently support batch requests for tags.

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

79298437

Date: 2024-12-20 21:37:51
Score: 1.5
Natty:
Report link

You missed the time of duration of the Image Inserted. Like 20 secconds. for example:

"InsertableImages": [ { "Width": 100, "Height": 31, "ImageX": 0, "ImageY": 0, "Layer": 20, "ImageInserterInput": "s3://project-profile-account_id-us-east-1/watermark.png", "StartTime": "00:00:00:00", "Opacity": 50, "Duration": 20000 /This value/ }

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juan Antonio Castañeda Muñoz

79298433

Date: 2024-12-20 21:35:51
Score: 1.5
Natty:
Report link

Ack, figured it out. Firefox was caching the permanent redirect. Once I told firefox to forget about the site it started working!


To clear a permanent redirect cache in Firefox, you can open your browser history, search for the site you want to remove the redirect for, select it, and then right-click to choose "Forget this site" - this will effectively clear the cached redirect information for that website; ensure all tabs related to the site are closed before doing this.

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

79298423

Date: 2024-12-20 21:26:49
Score: 1
Natty:
Report link

year late but I found a solution.

qic() from qicharts2 are ggplot objects. quick reading of the github code says it was using p + scale_x_datetime(date_labels = x.format), so you just need p + scale_x_datetime(date_break = '1 day') to overwrite the default one.

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

79298421

Date: 2024-12-20 21:25:48
Score: 3.5
Natty:
Report link

At the terminal user: $ npm run deploy-config

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

79298419

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

=LET(x,TEXTSPLIT(A1,," "),y,LAMBDA(z,SUM(INDEX(--x,TOCOL(SEQUENCE(ROWS(x),,0)/ISNUMBER(XMATCH(x,z)),2)))),"Result: "&y("PLT")&" @ "&y("FT")&" FT")

Maybe this performs better?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: P.b

79298413

Date: 2024-12-20 21:22:48
Score: 1.5
Natty:
Report link

Looks like Parcel on Nix is simply broken, just found someone in the exact same situation as me on the nixpkgs github: https://github.com/NixOS/nixpkgs/issues/350139

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

79298390

Date: 2024-12-20 21:07:44
Score: 4.5
Natty:
Report link

Solved.

For others having the same problem, use this insted:

e.Use(middleware.Static())

and add the relative path to the static content folder.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vlad Popescu

79298389

Date: 2024-12-20 21:07:44
Score: 3.5
Natty:
Report link

Well i don't know the answer but i just changed arrows pictures with css arrows it should work.

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

79298383

Date: 2024-12-20 21:05:43
Score: 1
Natty:
Report link

the Arduino Nano BLE 33 has a other chip typ then the normal nano. The SoftwareSerial is a function for the normal one. A way to do it with the nano BLE is:

#include "wiring_private.h"
Uart mySoftwareSerial(&sercom0, 4, 5, SERCOM_RX_PAD_1, UART_TX_PAD_0);

[...]

void setup(){
pinPeripheral(4, PIO_SERCOM_ALT);
pinPeripheral(5, PIO_SERCOM_ALT);
mySoftwareSerial.begin(9600);
[...]
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28875717

79298370

Date: 2024-12-20 20:55:40
Score: 1
Natty:
Report link

just adding this to info.plist was enough to me

<key>FlutterDeepLinkingEnabled</key>
<true/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paloma Bispo

79298366

Date: 2024-12-20 20:54:40
Score: 1.5
Natty:
Report link

try to add this to info.plist

<key>FlutterDeepLinkingEnabled</key>
<true/>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paloma Bispo

79298365

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

The required syntax is translatable="yes", not translatable="true".

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

79298363

Date: 2024-12-20 20:51:39
Score: 5.5
Natty:
Report link

You can create a custom lifecycle rule !

You can help you with this documentation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html

For example : AWSTemplateFormatVersion: 2010-09-09 Resources: S3Bucket: Type: 'AWS::S3::Bucket' Properties: AccessControl: Private LifecycleConfiguration: Rules: - Id: GlacierRule Prefix: glacier Status: Enabled ExpirationInDays: 450 Transitions: - TransitionInDays: 1 StorageClass: GLACIER Outputs: BucketName: Value: !Ref S3Bucket Description: Name of the sample Amazon S3 bucket with a lifecycle configuration.

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (3): You can help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298360

Date: 2024-12-20 20:47:39
Score: 3
Natty:
Report link

In version 3.0 there was a breaking change renaming asyncIterator to asyncIterableIterator https://github.com/apollographql/graphql-subscriptions/releases/tag/v3.0.0

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

79298346

Date: 2024-12-20 20:37:36
Score: 4.5
Natty:
Report link

I don’t have time to write the code, but could you try getting the indexes of the different types, appending to a list and then adding and dividing by the number of items in the list?

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

79298341

Date: 2024-12-20 20:34:35
Score: 3.5
Natty:
Report link

fill the form in this format "CAC/IT/IT000000"

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

79298331

Date: 2024-12-20 20:28:34
Score: 1
Natty:
Report link

I solved this problem by assigning DISABLE COLLECTSTATIC to 0 after disabling it temporarily trying to solve a problem occuring in the build phase.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: muhammed alkurdi

79298323

Date: 2024-12-20 20:23:33
Score: 1.5
Natty:
Report link

I was able to connect to a container from the host machine using the following string:

mongodb://127.0.0.1:27017/?authSource=admin&readPreference=primaryPreferred&retryWrites=false&directConnection=true

the directConnection=true is what helped me. Hope this helps you.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: donB

79298320

Date: 2024-12-20 20:21:33
Score: 1
Natty:
Report link

it can use split

DECLARE @intList VARCHAR(200) = '1,3,5,7,3,24,30'
SELECT convert(INT, VALUE) FROM string_split(@intList, ',')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Steven Gomez

79298319

Date: 2024-12-20 20:21:32
Score: 4.5
Natty:
Report link

I've figured the problem. Instead of:

export const middleware = async (req: NextRequest) => {
const origin = req.nextUrl.origin;

if (!publicEnv.CORS_WHITELIST?.includes(origin)) {
 return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
}
...

I've done:

export const middleware = async (req: NextRequest) => {
const host = req.headers.get("host");
    const protocol = process.env.NODE_ENV === "production" ? "https" : "http";
    const origin = `${protocol}://${host}`;

    if (!origin || !publicEnv.CORS_WHITELIST?.includes(origin)) {
        return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
    }
...

Also who down voted the post at first publish without a reason? lol.

Reasons:
  • RegEx Blacklisted phrase (2): down vote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Viserion Wick

79298316

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

I have the same problem using the newest version from today, 12.1.1. 12.1.0 works without problems.

It seems to be related to detecting the language of the page:

highcharts.js:8 Uncaught TypeError: Cannot read properties of null (reading 'closest')
    at highcharts.js:8:898
    at highcharts.js:8:1778
    at highcharts.js:9:272787
    at highcharts.js:8:324
    at highcharts.js:8:329

This is this line in the highcharts code:

   t.pageLang = t.doc?.body.closest("[lang]")?.lang,

Updating production code on a friday is risky.. and now just before the Christmas holidays.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Sharkie

79298315

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

Right click on the "...", and select "Open File" from the list of options:

right click options

It should add the icon back:

open file icon now back

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

79298306

Date: 2024-12-20 20:13:29
Score: 5
Natty:
Report link

When I run the code below, the images are displayed vertically (The first time I ran the code below, I did not see any output on Jupyter NB). I was expecting to see them horizontally. If anyone knows how I can display them horizontally, please feel free to comment. Thanks!

for i in range(10):
    plt.figure(figsize=(20,3))
    plt.imshow(predictions[i].astype("float32"), cmap="gray_r")
    plt.show()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (1): I can display them horizontally, please
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Steven Dascoli

79298300

Date: 2024-12-20 20:09:28
Score: 2.5
Natty:
Report link

I don't have enough reps to comment. But clearing the cache did not work for me. Using the main CDN also generates Highcharts undefined. Using this: <script src="https://code.highcharts.com/highstock.js"></script> instead of <script src="https://code.highcharts.com/stock/12.1.1/highstock.js"></script> breaks the above fiddle. This chart runs on the website but not in the fiddle. There is also a similar situation with Highmaps.

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): to comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bcnc047

79298298

Date: 2024-12-20 20:08:28
Score: 0.5
Natty:
Report link

You cannot directly use a field's value (isPrivate) to conditionally apply authorization rules within the schema alone. The @auth directive operates at the type and field level but does not support dynamic rules based on field values.

To achieve this

  1. Use Custom Lambda Resolver.

This allows you to read the isPrivate field in the request, check the user's ownership or group membership, and allow or deny access accordingly.

  1. Or Implement Field-Level Authorization in the schema. (If only some of the fields should protected)

Split SomeEntity into fields with separate rules, e.g., privateField for owners and publicField for everyone.

Example :

type SomeEntity
  @model
  @auth(
    rules: [
      { allow: groups, groups: ["user"], operations: [create] }
      { allow: owner, operations: [read] }
    ]
  ) {
  ....
  .....
  privateField: String @auth(rules: [{ allow: owner }])
  publicField: String
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @auth
  • Low reputation (0.5):
Posted by: Shahi Papon

79298294

Date: 2024-12-20 20:07:28
Score: 3
Natty:
Report link
  1. What is the primary purpose of the Valid Tracking Rate (VTR) in Amazon Seller Central?o A. To reduce shipping costso B. To ensure accurate tracking of packageso C. To promote faster shipping timeo D. To calculate order defect rates
  2. What could happen if tracking information is not updated accurately or on time for FBM ordero A. Improved seller ratino B. Lower shipping costso C. Increase in order cancellationo D. Higher customer satisfacti
  3. Which report would you use to monitor on-time delivery performane in Seller Central?o A. Sales Dashboardo B. Order Defect Rate Reporto C. Performance Dashboardo D. Order Reports
  4. What action should you take if a customer claims no-receipt of an order that shows as "Delivered"?o A. Ignore the claimo B. Immediately refund the ordero C. Contact the carrier and provide proof of deliveryo D. Cancel the order
  5. How can sellers prevent fake tracking numbers from being associated with their orders?o A. Use verified and reliable carriero B. Disable tracking updateso C. Offer free shipping ithout trackingo D. Only ship on weekends
  6. What are the potential consequences of not meeting Amazon's -time delivery metricso A. Increased saleso B. Account suspension o C. Additional fee o D. Higher product rankings
  7. Which section in Seller Centralallows you to upload tracking information for FBM orderso A. Manage Orderso B. Advertising Dashboaro C. Performance Dashboard o D. Promotion
  8. What does the “Reserved” inventory status indicate in Seller Central?o A. Items ready to be shippedo B. Items being processed for inbound shipmento C. Items reserved for customer orders or FC transferso D. Damaged items
  9. Inventory Management
  10. What is the Inventory Performance Index (IPI) score used for in Amazon Seller Central?o A. To calculate sales velocityo B. To determine storage feeso C. To measure inventory health and efficieno D. To manage customer reviews
  11. What does stranded inventory mean in Amazon Seller Central?o A. Inventory in transit between fulfillment centero B. Inventory that is ready for shipmento C. Inventory that is unsellable or has lost its listino D. Inventory that has been returned by customers
  12. Which tool helps sellers identify inventory that is aging or slo-moving?o A. Restock Inventory Toolo B. FBA Inventory Age Reporto C. AdvertisingDashboardo D. Promotions Manage
  13. What should you do if there are discrepancies between what is in stock and what Amazon shows as available?o A. Ignore the discrepancieso B. Reconcile inventory with Amazono C. Increase priceso D. Decrease prices
  14. Which of the following is a consequence of having excess inventory?o A. Reduced storage feeso B. Increased fulfillment costo C. Improved seller performanceo D. Faster order processing
  15. What is the purpose of creating an automated removal order in Seller Centralo A. To remove negative customer reviewo B. To increase sales velocityo C. To handle unsellable or aged inventoryo D. To reduce advertising cost
  16. How can sellers reduce the risk of stockouts during peak seasons?o A. Decrease advertisino B. Increase restock limitso C. Optimie inventory forecasting and stock levelo D. Offer discount
  17. Which report in Seller Central helps manage excess inventory?o A. Inventory Performance Dashboardo B. Manage Orders Reporto C. Sales Summary Reporto D. Manage Excess Inventory Tool
  18. What does the “Inbound” inventory status represent?o A. Products in Amazon warehouseso B. Products returned by customers o C. Products being shipped to Amazon fulfillment centero D. Products listed for sale
  19. Which feature allows you to handle slow-moving inventory by automatcally discounting ito A. Advertising Dashboaro B. Promotions Manageo C. Manage Excess Inventory Toolo D. Lightning Deals
  20. Stock Management
  21. Which inventory management approach helps prevent both stockouts and overstocking?o A. Just-in-Time (JIT) inventoryo B. Bulk inventory storageo C. Manual inventory managemento D. Minimum Advertised Price (MAP) managemen
  22. How does the ‘Inventory Dashboard’ help sellers in Amazon Seller Central?o A. Improves product photographyo B. Tracks shipment costso C. Monitors inventory health and key metricso D. Promotes products in advertising campaign
  23. What is the key benefit of setting safety stock leveo A. Minimizes advertising speno B. Prevents stockouts during demand fluctuatioo C. Increases storage feeso D. Enhances product reviews
  24. What strategy is useful for managing excess stock?o A. Increasing product priceso B. Decreasing inventory visibilityo C. Running promotions and discounto D. Disabling all listing
  25. When would you create an inventory removal order? o A. For high-performing productso B. For overstocked or aged inventoryo C. For products with positive reviewo D. For recently launched products
  26. Which inventory status indicates items that are available for immediate shipping?o A. Reserved o B. Inbound o C. Fulfillabl o D. Unfulfillabl
  27. What is the impact of not managing stock levels properly in Seller Central?o A. Increased saleso B. Improved product rankingo C. Account health issues and potential suspensiono D. Higher fees
  28. How can you optimize inventory management for products with long ead timeso A. Increase product priceso B. Perform accurate demand forecasting and maintain higher safety stoco C. Ignore inventory levelso D. Only sell locally
  29. What would be a priority when handling delayed inbound shipments to Amazon?o A. Increase prices to slow saleso B. Inform customers and offer alternativo C. Ignore the delayo D. Cancel all pending orders
  30. Which section helps sellers manage stock transfers between fulfillment centero A. Inventory Performance Dashboardo B. Manage Orderso C. Shipping Queueo D. Inventory Planning
  31. Account Health and Performance Management
  32. What is the Order Defect Rate (ODR) used for in Amazon Seller Central?o A. To measure advertising performanco B. To assess the percentage of orders with negative customer experienceo C. To determine sales velocityo D. To calculate shipping costs
  33. What is the consequence of a high Pre-Fulfillment Cancel Rate (PFCR)o A. Higher sales ranko B. Reduced account health ratino C. Increased advertising costo D. Faster shipping time
  34. Which metric indicates late shipments that can affect seller performanceo A. Order Defect Rate (ODR)o B. Late Shipment Rate (LSR)o C. Return Dissatisfaction Rate (RDo D. Sales Conversion Rate
  35. How can sellers proactively manage -to-Z Guarantee claims?o A. Offer lowpriceso B. Provide accurate product descriptions and quality customer servico C. Ignore customer messageso D. Avoid using tracking numbers
  36. What should a seller do if they receive a policy violation warning from Amazono A. Ignore the warningo B. Submit an appeal with a Plan of Action (POAo C. Change the product priceo D. Increase advertising spen
  37. What tool is used to monitor and manage account health in Seller Central?o A. Advertising Consolo B. Account Health Dashboard o C. Inventory Management Dashboardo D. Promotions Manage
  38. Which policy violation is likely if a product is listed under the wrong categoryo A. Intellectual Property Violatioo B. Restricted Product Policy Violatioo C. Listing Policy Violatio D. Authenticity Violati
  39. What is the impact of negative ustomer feedback on account health?o A. Higher saleso B. Improved product visibilityo C. Increased Order Defect Rate (ODR)o D. Reduced storage fees
  40. Policy Management
  41. What is Amazon's Intellectual Property (IP) Policy designed to protect?o A. Amazon’s sales datao B. Seller’s personal informatioo C. Rights of intellectual property ownerso D. Amazon's return policy
  42. What should a seller do if they are notified of an IP infringement complaino A. Ignore ito B. Contact the rights owner to resolve the issueo C. Delete all listingo D. Increase prices
  43. What is the main purpose of the Restricted Products Policy?o A. To prevent product listing duplicatio B. To control shipping rateso C. To ensure the safety and compliance of listed productso D. To increase the number of product variation
  44. What action can lead to an account suspension under Amazon’s policy guidelines o A. Offering free shippino B. Repeated policy violationo C. Maintaining high inventory levelso D. Running promotion
  45. How does Amazon define 'Fair Pricing Poliy'?o A. All products must be sold at MSRPo B. Prices should not be significantly higher or lower than the marketplace noro C. Prices must always be lower than competitoro D. Sellers should offer the same price on all platfor
  46. Which document should be submited when appealing an account suspension?o A. Customer reviews summaryo B. Return request formo C. Plan of Action (POAo D. Advertising performance repor
  47. How does Amazon ensure compliance with regional regulations for certain productso A. By offeringadditional discounto B. Through the Restricted Products and Compliance policieso C. By increasing storage feeso D. By promoting thir-party sellers
  48. What does the “Good Faith” policy mean for sellers?o A. They must offer all products for freo B. They must comply with all Amazon policies and guidelineso C. They must use only FBA for fulfillmeno D. They must use Amazon's advertising service
  49. What could be a reason for an account getting deactivated under the 'Code of Conduct' polio A. Poor listing qualito B. Engaging in deceptive or fraudulent activio C. Increasing product priceso D. Running promotions frequentl
  50. What is the key focus of Amazon's Customer Product Reviews Policy?o A. Encourage all positive reviewo B. Prohibit manipulation or incentivizing revieo C. Allow unlimited reviews per customero D. Promote negative reviews onl
  51. What is required from a seller if they wish to list a product in a gated category?o A. Higher advertising budgeo B. Approval from Amazon and additional documentatio C. Low priceso D. Minimum stock level
  52. How should a seller respond to a customer who left a negative product revieo A. Ignore the reviewo B. Provide a professional response and offer a solutio C. Report the customero D. Offer a bribe for remova
  53. What is the purpose of the ‘Voice of the Customer’ dashboard in Seller Central?o A. To manage customer returnso B. To gain insights into customer satisfaction and product qualio C. To set up advertising campaigno D. To increase shipping fees
  54. What can lead to a listing being removed uner Amazon’s ‘Product Authenticity’ policyo A. High product priceo B. Selling counterfeit or inauthentic producto C. Low inventory levelo D. Poor listing image 1 : B 11 :B 21 :B 31 :B 41 :B 2 :C 12 :B 22 :C 32 :B 42 :C 3 :C 13 :B 23 :B 33 :B 43 :B 4 :C 14 :C 24 :C 34 :B 44 :B 5 :A 15 :C 25 :C 35 :C 45 :B 6 :B 16 :A 26 :B 36 :C 46 :B 7 :A 17 :C 27 :B 37 :C 47 :B 8 :C 18 :C 28 :D 38 :B 48 :B 9 :C 19 :A 29 :B 39 :C 49 :B 10:C 20 :C 30 :B 40 :B 50 :B
Reasons:
  • Blacklisted phrase (1): What could be
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: FLIPCOST

79298291

Date: 2024-12-20 20:05:27
Score: 0.5
Natty:
Report link

IntelliJ is a development environment, you shouldn’t upload applications to production from it. Instead, it’s better if you have a script that does that. IntelliJ can run shell scripts or maven goals,if you use maven for building and add a goal to upload files to FTP server or via GlassFish asadmin command.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Ondro Mihályi

79298287

Date: 2024-12-20 20:02:27
Score: 0.5
Natty:
Report link

I tried to do something like this, and what I ended up doing in the interim is to bake CURRENT_USER into the query, so something like this:

SELECT * FROM USERS
WHERE USER_NAME = CURRENT_USER()

The idea came from this thread: Getting grants of current user

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bryan Crystal-Thurston

79298273

Date: 2024-12-20 19:59:26
Score: 1.5
Natty:
Report link

const playRecording = () => { const superBUffer = new Blob(recordblobs); // Create a Blob from the recorded data const recordedVideoEl = document.querySelector("#other-video"); // Get the video element recordedVideoEl.src = window.URL.createObjectURL(superBUffer); // Create a URL for the Blob and set it to the src recordedVideoEl.controls = true; // Enable video controls (play, pause, volume, etc.) recordedVideoEl.play(); // Play the video };

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

79298268

Date: 2024-12-20 19:58:25
Score: 1.5
Natty:
Report link

The previous options didn't work for me but instead I was able to copy from one jupyter notebook (.ipynb) to another using the VSCode (Visual Studio Code) platform and on to do so I:

  1. Highlighted the cells of interest (with Shift + Select the First Cell, then while scrolling to the last cell of interest and pressing Shift + Selecting the Last Cell)
  2. Copied the Highlighted cells (Ctrl + C)
  3. Went to the destination Jupyter notebook and pasted the copied cells (Ctrl + V)
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: kkusim

79298247

Date: 2024-12-20 19:51:23
Score: 3
Natty:
Report link

That functionality is not in Django 2.0, see here.

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

79298245

Date: 2024-12-20 19:50:22
Score: 4
Natty:
Report link

Finally, I found a way to get it work. Thanks to all the advices from @Jmb and some trial and error.

Now after spawning the curl request for the current item, I run an inner loop on matching bg_cmd.try_wait(). If it finish the run successful, the result get assigned to the shared var holding the output. But if the process is still running and another list item is selected, an AtomicBool is set which restarts the main loop of the bg process thread and, thus, the result of the former run is dismissed.

Here is the code. There might be ways to make this more efficient and I would be happy to hear about them. But at least it works now and I nevertheless already learned a lot about multi-threading and bg processes in Rust.

use std::{
    io::{BufRead, BufReader},
    process::{Command, Stdio},
    sync::{
        atomic::{AtomicBool, Ordering},
        Arc, Condvar, Mutex,
    },
    thread,
    time::Duration,
};

use color_eyre::Result;
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
use ratatui::{
    layout::{Constraint, Layout},
    style::{Modifier, Style},
    widgets::{Block, List, ListState, Paragraph},
    DefaultTerminal, Frame,
};

#[derive(Debug, Clone)]
pub struct Mailbox {
    finished: Arc<AtomicBool>,
    data: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output: Arc<Mutex<String>>,
    kill_proc: Arc<AtomicBool>,
}

impl Mailbox {
    fn new() -> Self {
        Self {
            finished: Arc::new(AtomicBool::new(false)),
            data: Arc::new(Mutex::new(None)),
            cond: Arc::new(Condvar::new()),
            output: Arc::new(Mutex::new(String::new())),
            kill_proc: Arc::new(AtomicBool::new(false)),
        }
    }
}

pub fn run_bg_cmd(
    fetch_item: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output_val: Arc<Mutex<String>>,
    finished: Arc<AtomicBool>,
    kill_bool: Arc<AtomicBool>,
) {
    // Start the main loop which is running in the background as long as
    // the TUI itself runs
    'main: loop {
        let mut request = fetch_item.lock().unwrap();
        // Wait as long as their is no request sent. If one is send, the
        // Condvar lets the loop run further
        while request.is_none() {
            request = cond.wait(request).unwrap();
        }
        let cur_request = request.take().unwrap();

        // Drop MutexGuard to free up the main thread
        drop(request);

        // Spawn `curl` (or any other bg command) using the sent request as arg.
        // To not flood the TUI I pipe stderr to /dev/null
        let mut bg_cmd = Command::new("curl")
            .arg("-LH")
            .arg("Accept: application/x-bibtex")
            .arg(&cur_request)
            .stdout(Stdio::piped())
            .stderr(Stdio::null())
            .spawn()
            .expect("Not running");

        // Start inner loop to wait for process to end or dismiss the result if
        // next item in the TUI is selected
        'waiting: loop {
            match bg_cmd.try_wait() {
                // If bg process ends with exit code 0, break the inner loop
                // to assign the result to the shared variable.
                // If bg process ends with exit code not 0, restart main loop and
                // drop the result from stdout.
                Ok(Some(status)) => {
                    if status.success() {
                        break 'waiting;
                    } else {
                        continue 'main;
                    }
                }
                // If process is still running and the kill bool was set to true
                // since another item was selected, immiditatley restart the main loop
                // waiting for a new request and, therefore, drop the result
                Ok(None) => {
                    if kill_bool.load(Ordering::Relaxed) {
                        continue 'main;
                    }
                }
                // If an error occurs, restart the main loop and drop all output
                Err(e) => {
                    println!("Error {e} occured while trying to fetch infors");
                    continue 'main;
                }
            }
        }

        // If waiting loop was broken due to successful bg process, take the output
        // parse it into a string (or whatever) and assign it to the shared var
        // holding the result
        let out = bg_cmd.stdout.take().unwrap();
        let out_reader = BufReader::new(out);

        let mut out_str = String::new();

        for l in out_reader.lines() {
            if let Ok(l) = l {
                out_str.push_str(&l);
            }
        }

        finished.store(true, Ordering::Relaxed);

        let mut output_str = output_val.lock().unwrap();
        *output_str = out_str;
    }
}

#[derive(Debug)]
pub struct App {
    mb: Mailbox,
    running: bool,
    fetch_info: bool,
    info_text: String,
    list: Vec<String>,
    state: ListState,
}

impl App {
    pub fn new(mb: Mailbox) -> Self {
        Self {
            mb,
            running: false,
            fetch_info: false,
            info_text: String::new(),
            list: vec![
                "http://dx.doi.org/10.1163/9789004524774".into(),
                "http://dx.doi.org/10.1016/j.algal.2015.04.001".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0021".into(),
                "https://doi.org/10.1007/978-94-007-4587-2_7".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0022".into(),
            ],
            state: ListState::default().with_selected(Some(0)),
        }
    }

    pub fn run(mut self, mut terminal: DefaultTerminal) -> Result<()> {
        self.running = true;
        while self.running {
            terminal.draw(|frame| self.draw(frame))?;
            self.handle_crossterm_events()?;
        }
        Ok(())
    }

    fn draw(&mut self, frame: &mut Frame) {
        let [left, right] =
            Layout::vertical([Constraint::Fill(1), Constraint::Fill(1)]).areas(frame.area());

        let list = List::new(self.list.clone())
            .block(Block::bordered().title_top("List"))
            .highlight_style(Style::new().add_modifier(Modifier::REVERSED));

        let info = Paragraph::new(self.info_text.as_str())
            .block(Block::bordered().title_top("Bibtex-Style"));

        frame.render_stateful_widget(list, left, &mut self.state);
        frame.render_widget(info, right);
    }

    fn handle_crossterm_events(&mut self) -> Result<()> {
        if event::poll(Duration::from_millis(500))? {
            match event::read()? {
                Event::Key(key) if key.kind == KeyEventKind::Press => self.on_key_event(key),
                Event::Mouse(_) => {}
                Event::Resize(_, _) => {}
                _ => {}
            }
        } else {
            if self.fetch_info {
                self.update_info();
            }
            if self.mb.finished.load(Ordering::Relaxed) == true {
                self.info_text = self.mb.output.lock().unwrap().to_string();
                self.mb.finished.store(false, Ordering::Relaxed);
            }
        }
        Ok(())
    }

    fn update_info(&mut self) {
        // Select current item as request
        let sel_doi = self.list[self.state.selected().unwrap_or(0)].clone();
        let mut guard = self.mb.data.lock().unwrap();
        // Send request to bg loop thread
        *guard = Some(sel_doi);
        // Notify the Condvar to break the hold of bg loop
        self.mb.cond.notify_one();
        drop(guard);
        // Set bool to false, so no further process is started
        self.fetch_info = false;
        // Set kill bool to false to allow bg process to complete
        self.mb.kill_proc.store(false, Ordering::Relaxed);
    }

    fn on_key_event(&mut self, key: KeyEvent) {
        match (key.modifiers, key.code) {
            (_, KeyCode::Esc | KeyCode::Char('q'))
            | (KeyModifiers::CONTROL, KeyCode::Char('c') | KeyCode::Char('C')) => self.quit(),
            (_, KeyCode::Down | KeyCode::Char('j')) => {
                if self.state.selected().unwrap() <= 3 {
                    // Set kill bool to true to kill unfinished process from prev item
                    self.mb.kill_proc.store(true, Ordering::Relaxed);
                    // Set text of info box to "Loading" until bg loop sends result
                    self.info_text = "... Loading".to_string();
                    self.state.scroll_down_by(1);
                    // Set fetch bool to true to start fetching of info after set delay
                    self.fetch_info = true;
                }
            }
            (_, KeyCode::Up | KeyCode::Char('k')) => {
                // Set kill bool to true to kill unfinished process from prev item
                self.mb.kill_proc.store(true, Ordering::Relaxed);
                // Set text of info box to "Loading" until bg loop sends result
                self.info_text = "... Loading".to_string();
                self.state.scroll_up_by(1);
                // Set fetch bool to true to start fetching of info after set delay
                self.fetch_info = true;
            }
            _ => {}
        }
    }

    fn quit(&mut self) {
        self.running = false;
    }
}

fn main() -> color_eyre::Result<()> {
    color_eyre::install()?;

    let mb = Mailbox::new();

    let curl_data = Arc::clone(&mb.data);
    let curl_cond = Arc::clone(&mb.cond);
    let curl_output = Arc::clone(&mb.output);
    let curl_bool = Arc::clone(&mb.finished);
    let curl_kill_proc = Arc::clone(&mb.kill_proc);

    thread::spawn(move || {
        run_bg_cmd(curl_data, curl_cond, curl_output, curl_bool, curl_kill_proc);
    });

    let terminal = ratatui::init();
    let result = App::new(mb).run(terminal);
    ratatui::restore();
    result
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks to all the advices
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jmb
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lukeflo

79298244

Date: 2024-12-20 19:47:21
Score: 2.5
Natty:
Report link

The game does seem to be heavy on CPU’s, while you have 1850mb of VRAM, it isn’t much and still will run poorly. So yes your CPU might be bottlenecking but probably a mixture of both

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

79298237

Date: 2024-12-20 19:42:20
Score: 1.5
Natty:
Report link

Unavailable Feature

What you're trying to achieve is not currently implemented yet in DocumentApp. It was also asked by a community member from another forum last March 2023. And someone filed this as a featured request, but the requester is not active, which is the reason why the featured request was closed.

I would encourage you to send this as a new feature request by going to this link. The feedback submitted there will go directly to the development team, and the more people who request a feature like this, the more likely it will be implemented.

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

79298228

Date: 2024-12-20 19:31:18
Score: 4.5
Natty: 5
Report link

Ok, dead == Array?, Collider[] dead is need;

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

79298226

Date: 2024-12-20 19:30:17
Score: 1
Natty:
Report link

If you write const const after a function name it is syntactically invalid because C++ language does not permit such duplication. The second const is simply redundant and results in a compiler error.

code should be like this !!

customType foo::bar(void) const {
    // baz
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sourabh Singh Bais

79298223

Date: 2024-12-20 19:28:16
Score: 5.5
Natty:
Report link

!pip install tensorflow-gpu Collecting tensorflow-gpu Downloading tensorflow-gpu-2.12.0.tar.gz (2.6 kB) error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. How to solve this issue?

Reasons:
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: muhammad ghous

79298215

Date: 2024-12-20 19:24:15
Score: 2
Natty:
Report link

Problem solved. I removed the viewmodel and replaced it with the following code

  override fun doWork(): Result {
    val sharedPreferences = applicationContext.getSharedPreferences("AppPrefs", Context.MODE_PRIVATE)
    val lastIndex = sharedPreferences.getInt("lastIndex", -1)

    val phrases = listOf(
        "Hello!", "Good morning!", "How are you?", "Nice to meet you!", "Good luck!",
        "See you soon!", "Take care!", "Have a great day!", "Welcome!", "Congratulations!",
        "Happy Birthday!", "Safe travels!", "Enjoy your meal!", "Sweet dreams!", "Get well soon!",
        "Well done!", "Thank you!", "I love you!", "Good night!", "Goodbye!"
    )

    val nextIndex = (lastIndex + 1) % phrases.size
    val nextPhrase = phrases[nextIndex]

    val editor = sharedPreferences.edit()
    editor.putInt("lastIndex", nextIndex)
    editor.apply()

    sendNotification(nextPhrase)

    return Result.success()
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Good morning
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: developer_petit

79298188

Date: 2024-12-20 19:12:12
Score: 1
Natty:
Report link

Starting with a new Windows 11 version, released in 2023, you have a local account on your system and and a permisive one. The later is your name as a user of Microsoft, while the former consists in the first five letters of your name. Jupyter Notebook and an IDE for a programming language can open only files saved in a folder created by the "permissive" account, outside the folders Documents, Desktop, that are under the control of the local account. Hence I created a new folder, Working, and automatically it has been considered as created by the account with my entire name, and I have access to any ipynb file and can save new ones there.

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

79298180

Date: 2024-12-20 19:08:11
Score: 1
Natty:
Report link

also in base R

levels(interaction(vars, vis, lex.order = TRUE))
[1] "PL.1" "PL.2" "PL.3" "SR.1" "SR.2" "SR.3"

lex.order is only necessary to sort the results; it can be omitted if order of elements is not important

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

79298179

Date: 2024-12-20 19:08:11
Score: 1
Natty:
Report link

While its not likely to be the answer you want: Interfaces in Java cannot specify that a static method shall be present.

While its debatable if they SHOULD, at the moment they cant.

So this is not possible at compile time.

So you would have to do it at runtime using introspection to see if the static method is present and if not throw an exception or some error etc.

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

79298178

Date: 2024-12-20 19:07:11
Score: 1.5
Natty:
Report link

A small addition to @Sephyre 's solution. You may have to deal with style specificity, as .react-loading-skeleton has its own border-radius and it may override yours. The !important flag works, but you may find better options.

upd: no need to create a wrapper, you can just pass your style with <Skeleton className={cls.customStyle}>

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Sephyre
  • Low reputation (1):
Posted by: Mustafa

79298177

Date: 2024-12-20 19:07:11
Score: 0.5
Natty:
Report link

The solution that worked for me was

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
Posted by: ursuleacv

79298165

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

You don't have define the correct endpoint in your bucket S3 in your code.

Can you modify by this :

S3Client s3 = S3Client.builder()
    .region(Region.of("eu-west-1))  // Use the region obtained from the command
    .build();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298151

Date: 2024-12-20 18:57:07
Score: 1
Natty:
Report link

I don't why, but I needed to change @Craig SendAsync method from InterceptingHttpMessageHandler to:

protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
    var _request = new HttpRequestMessage(HttpMethod.Post, request.RequestUri)
    {
        Content = request.Content!
    };

    foreach (var header in request.Headers)
    {
        _request.Headers.TryAddWithoutValidation(header.Key, header.Value);
    }

    return await _client.SendAsync(_request, cancellationToken);
}

I was getting the following error:

The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Craigmethod
  • Low reputation (0.5):
Posted by: hmiguel

79298150

Date: 2024-12-20 18:57:07
Score: 3.5
Natty:
Report link

Ok, it was a session sharing problem. Since Nginx Plus (and its sticky session) is a 'little' too expensive for my application I went for configuring Symfony to store sessions in Redis. Works like a charm.

Again thanks to @NicoHaase for pointing that out.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @NicoHaase
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: BazylPL

79298145

Date: 2024-12-20 18:54:07
Score: 2.5
Natty:
Report link

because when you open it by double clicking(i.e. opening command for os) the file the os doesn't know what to do with it. so try running it in a editor or a ipynb (py notebook) it should work

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

79298141

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

In case you only need column names from a specific table:

  1. Select the columns you want to get from your table.

    Select * from MY_TABLE limit 10;

  2. Show the columns from the previous table

    show columns; SELECT "column_name" || ',' Columns FROM (select * from table(result_scan(last_query_id()))) WHERE "table_name" = 'MY_TABLE';

replace MY_TABLE with your table NAME

Modifying the Rajib Deb's answer.

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

79298129

Date: 2024-12-20 18:40:04
Score: 2.5
Natty:
Report link

It's just a typo. There are no use cases that I know of for double const, so the usage of it twice is likely a programming error.

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

79298126

Date: 2024-12-20 18:39:03
Score: 1
Natty:
Report link

Try adding

openid
Use your name and photo
profile
Use your name and photo
w_member_social
Create, modify, and delete posts, comments, and reactions on your behalf
email
Use the primary email address associated with your LinkedIn account

enter image description here

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

79298120

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

Few things I would suggest:

  1. Test with test ad units id provided by Google https://developers.google.com/admob/android/test-ads and see if you see any ads.
  2. Try enabling test device https://developers.google.com/admob/android/test-ads#enable_test_devices
  3. Check the logcat and see if there's any error
  4. Add the callback to see if there's any error returned https://developers.google.com/admob/android/banner#ad_events I am assuming you should see something in the fail callback which could help understand the issue futher.
override fun onAdFailedToLoad(adError : LoadAdError) {
     // Code to be executed when an ad request fails.
   }
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MXC

79298116

Date: 2024-12-20 18:36:02
Score: 1.5
Natty:
Report link

Task :app:checkReleaseDuplicateClasses FAILED Task :app:dexBuilderRelease Task :react-native-reanimated:buildCMakeRelWithDebInfo[x86_64] FAILURE: Build failed with an exception.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.1.0.aar -> support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.1.0.aar -> support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.13.1.aar -> core-1.13.1-runtime (androidx.core:core:1.13.1) and support-compat-26.1.0.aar -> support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0) Duplicate class android.support.v4.media.MediaBrowserCompat found in modules media-1.7.0.aar -> media-1.7.0-runtime (androidx.media:media:1.7.0) and support-media-compat-26.1.0.aar -> support-media-compat-26.1.0-runtime (com.android.support:support-media-compat:26.1.0)```

Has anyone faced the above issue when we run eas build --platform android --profile production . We are using expo sdk 52 and react-native "0.76.5"?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: UMADEVI_R

79298106

Date: 2024-12-20 18:33:01
Score: 1
Natty:
Report link

I mean, you can do whatever you like, basically? Here’s an example that just displays the title of the current Hosting Environment by injecting IWebHostEnvironment right into the Razor page:

@page
@model MyApp.IndexModel
@inject Microsoft.AspNetCore.Hosting.IWebHostEnvironment Env

<h1>@Env.EnvironmentName</h1>

That’s pretty much how it’s done in this sample from the docs: https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/environments/samples/6.x/EnvironmentsSample/Pages/About.cshtml

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: BenderBoy

79298103

Date: 2024-12-20 18:31:01
Score: 2
Natty:
Report link

The error might came because for a few reasons such as: 1.API endpoint is incorrect. 2.Maybe CORS issues. 3.server gets error like 404 or 401

I think by solving these error can work !!

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

79298101

Date: 2024-12-20 18:29:00
Score: 4
Natty:
Report link

Solved: I just had to remove the 1.18.36 tag for javax.persistence dependancy

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

79298097

Date: 2024-12-20 18:27:59
Score: 2
Natty:
Report link

I am not using pendingintent but still got the same error,

I update the messaging library and its works

implementation 'com.google.firebase:firebase-messaging:24.1.0'

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

79298078

Date: 2024-12-20 18:13:56
Score: 4.5
Natty:
Report link

Came across the same error and your answer helped me to solve the issue @kaveh

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @kaveh
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mpetha Sthebiso Motaung

79298073

Date: 2024-12-20 18:12:55
Score: 1.5
Natty:
Report link

Running in the same problem here. The mdl_sessions table doesn't seem to get any cleaning at all.

I'm just a Moodle admin, not a dev, not a sys admin. I installed Moodle on my machine to try to figure out what was happening. The scheduled tasks runs normally, the sessions folder gets cleaned, but nothing changes in the mdl_sessions table.

So on a busy production site, we can reach millions of entries in mdl_sessions, mostly from userid=0. And I think it causes the task to eventually fail.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: François Lizotte

79298061

Date: 2024-12-20 18:07:54
Score: 1.5
Natty:
Report link

There's the "Default Task" feature in Bitbucket, where you can create a Task that shows up on all created PRs. Except release branches, for some weird reason. I have no idea why that exemption exists.

https://www.atlassian.com/blog/bitbucket/default-pull-request-tasks

For the use case where you want to have tasks on PRs for release branches, you could write a script that creates a task on a PR through Bitbucket's API and call that script through in your pipeline.

https://community.atlassian.com/t5/Bitbucket-questions/How-to-create-Pull-Request-task-using-REST-api/qaq-p/720958

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

79298056

Date: 2024-12-20 18:07:54
Score: 2.5
Natty:
Report link

Found The issue!! I am using ListView.builder(), inside SingleChildScrollView() due to which the error occured. i replaced my ListView.builder() with map and everything worked fine.

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

79298048

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

most times the best option is just not give the image a height-unit in pixel try using stuff like percentage or leave it auto

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

79298041

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

Expanding on @Chad Baldwin's answer. On Mac you'll soon reach the shell argument limit. Use xargs to resolve this:

$ rg -l "my first match" | xargs rg "my second match"

If you want to find N matches:

$ rg -l "my first match" | xargs rg -l "my second match" | ... | xargs rg "my final match"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Chad
Posted by: Jack

79298039

Date: 2024-12-20 18:00:51
Score: 11.5
Natty: 8.5
Report link

@windy Can you help me to find dataSyncId?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @windy
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nguyễn Đức Tuấn Minh

79298031

Date: 2024-12-20 17:56:49
Score: 2.5
Natty:
Report link

i guess it's a path error, can you please try below,

export { auth } from '../../lib/firebase/core'; // Explicitly include the file

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tasfiq.Asif

79298021

Date: 2024-12-20 17:52:49
Score: 3.5
Natty:
Report link

Faced same problem, used ChatGPT. It was resolved.

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

79298020

Date: 2024-12-20 17:51:48
Score: 1.5
Natty:
Report link

Update the Java Runtime for Gradle in Android Studio Settings. This worked for me. enter image description here

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

79298015

Date: 2024-12-20 17:47:47
Score: 0.5
Natty:
Report link

You can either add maven { url 'https://jitpack.io' } directly to the build.gradle file of the project or include it to the plugin using the following approach:

[rootProject, this].each {
    it.allprojects {
        repositories {
            maven { url 'https://jitpack.io' }
        }
    }
}

This setup will look like:

allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

[rootProject, this].each {
    it.allprojects {
        repositories {
            maven { url 'https://jitpack.io' }
        }
    }
}

apply plugin: "com.android.library"
apply plugin: "kotlin-android"

ref: 1 2

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

79298013

Date: 2024-12-20 17:47:47
Score: 0.5
Natty:
Report link

You can use plugins such as Yoast SEO or Prevent Direct Access (PDA) to precisely control what should be indexed and what shouldn't be.

Solutions mentioned in this article could be useful in your case - https://woorkup.com/wordpress-image-attachment-page/

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1.5): You can use
  • Whitelisted phrase (-1): in your case
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mysandesh

79297992

Date: 2024-12-20 17:35:43
Score: 8.5 🚩
Natty: 5.5
Report link

I'm having this same issue now, did you ever find the solution to this problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever find the solution to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mel

79297991

Date: 2024-12-20 17:35:42
Score: 3.5
Natty:
Report link

To resolve the [invalid_token_response] error in Azure Web App, change the DNS zone option in the networking section from 'Custom' to 'Default' (Azure provided).

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

79297990

Date: 2024-12-20 17:35:42
Score: 0.5
Natty:
Report link

There is something we call it Angular’s tree-shaking process

CommonModule provides a collection of commonly used directives (NgIf, NgForOf, NgClass, ...) and pipes (DatePipe, CurrencyPipe, ...) and importing CommonModule means that you get all of these features in your module and this import is usually done at the module level.

but at the end of the day Angular’s tree-shaking process during building for production will generally eliminate unused code, so unused pipes or directives won’t be included in the final bundle.

about the runtime we have lots of overloaded features and data which importing all CommonModule is nothing compare to them :)

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

79297980

Date: 2024-12-20 17:31:41
Score: 1
Natty:
Report link

After looking at serveral resourced (and a link included by sinoroc in the comments - thanks) and Youtube videos, I ended up reorganising my layout:

├── LICENSE
├── pyproject.toml
├── README.md
└── src
    ├── controller
    │   ├── conn_mgr.py
    │   └── ora_tapi.py
    ├── __init__.py
    ├── lib
    │   ├── config_manager.py
    │   └── __init__.py
    ├── model
    │   ├── api_generator.py
    │   ├── db_objects.py
    │   ├── framework_errors.py
    │   ├── __init__.py
    │   ├── session_manager.py
    │   └── user_security.py
    ├── OraTAPI.csv
    ├── resources
    │   ├── config
    │   │   ├── OraTAPI.ini
    │   │   └── OraTAPI.ini.sample
    │   └── templates
    │       ├── column_expressions
    │       │   ├── inserts
    │       │   │   ├── created_by.tpt
    │       │   │   ├── created_by.tpt.sample
    │       │   │   ├── updated_on.tpt
    │       │   │   └── updated_on.tpt.sample
    │       │   └── updates
    │       │       ├── created_by.tpt
    │       │       ├── created_by.tpt.sample
    │       │       ├── updated_on.tpt
    │       │       └── updated_on.tpt.sample
    │       ├── misc
    │       │   ├── trigger
    │       │   │   ├── table_name_biu.tpt
    │       │   │   └── table_name_biu.tpt.sample
    │       │   └── view
    │       │       ├── view.tpt
    │       │       ├── view.tpt.lbase_sample
    │       │       └── view.tpt.sample
    │       └── packages
    │           ├── body
    │           │   ├── package_footer.tpt
    │           │   ├── package_footer.tpt.sample
    │           │   ├── package_header.tpt
    │           │   └── package_header.tpt.sample
    │           ├── procedures
    │           │   ├── delete.tpt
    │           │   ├── delete.tpt.sample
    │           │   ├── upsert.tpt
    │           │   └── upsert.tpt.sample
    │           └── spec
    │               ├── package_footer.tpt
    │               ├── package_footer.tpt.sample
    │               ├── package_header.tpt
    │               └── package_header.tpt.sample
    ├── setup.sh
    └── view
        ├── console_display.py
        ├── __init__.py
        ├── interactions.py
        └── ora_tapi_csv.py

I removed the setup.py and MANIFEST.ini and went with the following pyproject.toml file:

[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "OraTAPI"
version = "1.0.6"
description = "Oracle Table API Generator Application"
authors = [
    { name = "Clive" }
]

# Useful if publishing through PyPI
keywords = [
    "python",
    "oracle",
    "database",
    "plsql",
    "table api",
    "stored procedures",
    "views",
    "database triggers",
    "code generator",
    "automation"
]

# Metadata
classifiers = [
    "Programming Language :: Python :: 3",
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Topic :: Database",
    "Topic :: Software Development :: Code Generators",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent"
]

# Specify the package directory
[tool.setuptools.packages.find]
where = ["src"]

[project.urls]
"Repository" = "https://github.com/avalon60/OraTAPI"

# Include additional resources
[tool.setuptools.package-data]
"*" = ["*.ini", "*.ini.sample", "*.tpt", "*.tpt.sample"]

# Declare scripts as dynamic
dynamic = ["scripts"]

# Scripts defined under `[project.scripts]`
[project.scripts]
conn_mgr = "controller.conn_mgr:main"
ora_tapi = "controller.ora_tapi:main"

NOTE: I didn't include the dependencies in the above.

It was this section which was critical:

*# Include additional resources
[tool.setuptools.package-data]
"*" = ["*.ini", "*.ini.sample", "*.tpt", "*.tpt.sample"]*

This caused the wheel file to start including the resources folder. However, it didn't include the resources folders into the dist file. To get these to be included, I had to use this command:

git add src/**/*.ini src/**/*.tpt

Note that you need to use setuptools-scm for the above solution.

I was hoping that I would be able to get the entrypoint scripts working:

*# Scripts defined under `[project.scripts]`
[project.scripts]
conn_mgr = "controller.conn_mgr:main"
ora_tapi = "controller.ora_tapi:main"*

But this just didn't seem to work - nothing got placed in the venv/bin directory. Anyway, I came to the conclusion that deploying an application, which includes config files and templates that the end-user needs to modify, just wasn't that practical - they get hidden deep in the site-packages directory, e.g. venv/lib/python3.10/site-packages. If I had gotten the entrypoints working I may have considered having the program clone the config and templates to a more suitable location, but the juice didn't apear to be worth the squeeze.

At least I got to the point where I'd be able to develop a distributable package the newer way (using pyproject.toml).

Anyone interested may find this Youtube video useful, and educational. Especially the techniques used to handle your own packages: https://www.youtube.com/watch?v=v6tALyc4C10&t=1613s

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): youtube.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: avalon20

79297977

Date: 2024-12-20 17:31:41
Score: 2
Natty:
Report link

It seems like there is no official way to do that (see on the NixOS Discourse: Why is there only one version in nixpkgs?).

Some options that are available for that purpose are:

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

79297976

Date: 2024-12-20 17:30:41
Score: 1
Natty:
Report link

if you're on Vscode make sure you export flask debug environment variable:

export FLASK_DEBUG=1

After pass debug as true into app.run()

app.run(debug=True)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ally leandre

79297975

Date: 2024-12-20 17:30:41
Score: 3
Natty:
Report link

Set the path and then make HTML default according to your browser because it might open in VS code or any text editor

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

79297970

Date: 2024-12-20 17:29:40
Score: 4
Natty: 4.5
Report link

Still doesn't seem to have a solution. See open issue: https://github.com/mapbox/mapbox-gl-js/issues/9937

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

79297968

Date: 2024-12-20 17:28:37
Score: 10.5 🚩
Natty:
Report link

Sei que é um post de 14 anos atrás, mas ainda é um dúvida frequente, então aqui está a minha contribuição.

Crie um arquivo "fonts.js" (o nome do arquivo não é importante) em algum local do seu projeto e o inclua na tag da sua página principal. Este é o arquivo onde você irá carregar suas fontes.

image example 01

Entre no arquivo e coloque o seguinte código:

const fonts = [
  new FontFace('myFont', 'url(path/of/your/font.ttf)')
]
    
fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

No objeto const fonts = [ ] você pode colocar todas as suas fontes usando o new FontFace(), onde, no primeiro parâmetro você irá colocar o nome da família da fonte e no segundo parâmetro o caminho até a fonte.

A linha de baixo

fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

é responsável por carregar as fontes que estão dentro do objeto "fonts" no document, meio que a parte nativa da página.

Caso queira adicionar mais fontes, basta criar uma nova FontFace dentro do objeto "fonts", dessa forma:

const fonts = [
  new FontFace('myFont', 'url(path/of/your/font.ttf)'),
  new FontFace('myFont2', 'url(path/of/your/font2.ttf)'),
  new FontFace('myFont3', 'url(path/of/your/font3.ttf)')
]
    
fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

Pronto! Suas fontes estão carregadas. Para usar em seus textos usando canvas js, basta chamar o nome da família da fonte.

ctx.font = "16px myFont";
ctx.fillStyle = "black";
ctx.fillText("Hello World!", 20, 30);

Espero ter ajudado.

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): então
  • Blacklisted phrase (1): não
  • Blacklisted phrase (2): código
  • Blacklisted phrase (1): todas
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pablo Aviz

79297964

Date: 2024-12-20 17:25:36
Score: 1
Natty:
Report link

it depends on what you do, and how many columns data have.

  1. Batch Job in data of many columns -> Parquet, Polars is best. it can read few of specific columns you need. it cnsumes less memory. So, faster.

  2. Batch Job in data of few columns -> choose the more comfortable for you. But, if your machine's performance(CPU, memory) is fairly lower than server, I think database would be faster.

  3. Batch Job in data of Large columns -> Server(Database) would be faster. But, if the server already stored data in parquet, Polars would be faster.

  4. ACID Job with single transaction -> only Database

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

79297957

Date: 2024-12-20 17:22:35
Score: 0.5
Natty:
Report link

[for Windows] Download and copy contents of tkinter2dnd2 to conda packages directory (something like: C:\Users<YourUserName>\anaconda3\Lib\site-packages) in newly created folder named TkinterDnD2. When importing pay attention to uppercase letters, like:

from TkinterDnD2 import TkinterDnD
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hamflow

79297949

Date: 2024-12-20 17:20:34
Score: 3
Natty:
Report link

Thanks everyone for your help! The problem turned out to be that I had previously created a Class Module also with the name of "MasterCampaign." I changed that to "Master_Campaign" and now I am able to name the Worksheet codename to "MasterCampaign." I don't use the now-named "Master_Campaign" class and had forgotten it existed.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dcster

79297924

Date: 2024-12-20 17:07:32
Score: 1
Natty:
Report link

you can Try Embedding Data with Metadata: Include summarization keys as tags and document sources in the metadata for each chunk. Metadata can have A basic "route idea" key for the chunk. Source: Origin of the document. Tags: Key information extracted from the document. [politics,health, billing,tool] these keys can be generated though LLM itself while creating embeddings

Filtering Using Metadata: While retrieving chunks from the vector store, use the metadata (e.g., tags, source) to filter the results effectively. Chaining Prompts for Query Handling for user input :
Prompt 1: Identify the route tags based on the query.
Prompt 2: Use these tags to filter or re-rank the chunks retrieved from the vector store.
Prompt 3: Combine the system prompt with the context to generate the final response using the LLM.

Let me know if you’ve already implemented any approach that works for you or are still stuck. If needed, we can collaborate to refine this approach further.

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

79297917

Date: 2024-12-20 17:05:31
Score: 2.5
Natty:
Report link

There is an example in the logging cookbook that you could use LoggerAdapter to circumvent the actual settings and to use your formatting.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Győző Papp

79297911

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

There's a neat library for the GitHub API compatible with Arduino and esp32 devices

https://github.com/aeonSolutions/AeonLabs-GitHub-API-C-library

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Miguel Tomás

79297900

Date: 2024-12-20 16:59:29
Score: 13.5
Natty: 7.5
Report link

I have the same problem, did you solve the problem?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Furkan Tombaş

79297896

Date: 2024-12-20 16:57:28
Score: 4.5
Natty: 4.5
Report link

when I debug the handler I have the username and password value but when I go to the webserver not the variable has nodata.

String usernameFromHeader = (String) ctx.getMessageContext().get("USERNAME");

Anyone have some idea?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): when I
  • Low reputation (1):
Posted by: Scosteira

79297894

Date: 2024-12-20 16:55:27
Score: 0.5
Natty:
Report link

Steam has a custom protocol (steam://), and even it uses two buttons:

Install Steam | Play Now

To test if a URL works, we can use fetch, and if we get a successful response (2XX result), it means the site exists. However, unfortunately, for security reasons, this does not apply to custom protocols.

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

79297881

Date: 2024-12-20 16:50:26
Score: 1.5
Natty:
Report link

To help you more we would need to understand the following things:

  1. What type of data are you using? How much data is there? What's the quality of the data?

  2. What are you trying to predict?

  3. Is accuracy the right measure for the task?

  4. What accuracy have you reached so far (getting from 40->50% accuracy is easier than 90->95% accuracy)

In general I'd say this is a difficutl question to answer without a lot more information.

General tips: Try a different deep learning model Try a different loss function Check for overfitting Try training for more epochs Try a different optimiser Look at individual failure cases, work out what the model is doing wrong and design your own tweaks to handle those cases.

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

79297879

Date: 2024-12-20 16:48:25
Score: 3
Natty:
Report link

It inadvertently replaces numbers: Original: This_is my code !@# characters are not $ allowed% remove spaces ^&*(){}[]/:;,.?/123456789"' Desired : This_is-my-code-----characters-are-not---allowed--remove-sp‌​aces---------------‌​----123456789 Result : This_is-my-code-----characters-are-not---allowed--remove-spaces-----------_-----------------

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): ---------------
  • Filler text (0): -----------
  • Filler text (0): -----------------
  • Low reputation (1):
Posted by: Stuart Naveran

79297874

Date: 2024-12-20 16:46:25
Score: 1.5
Natty:
Report link

install the express and @types/express with same version

Example

    "@types/express": "^4.17.21",
    "express": "^4.21.2",
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kamlesh kumar

79297872

Date: 2024-12-20 16:45:24
Score: 1
Natty:
Report link

Considering that your fileInfo.PhysicalPath; has backslashes, you would have to escape them fileInfo.PhysicalPath.Replace(@"\", @"\\"). You should now be able to access this in your Javascript code as @Html.Raw(Json.Serialize(@filePath)) or just plain '@filePath'.

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

79297861

Date: 2024-12-20 16:39:23
Score: 5
Natty:
Report link

i have same problem when upgrade to v19. I realized that the problem was because I was making my API calls like this. http.get("api/apiadress") I'm using a middleware (http-proxy-middleware) in the server.ts file and prerender was working without any problems in v18.

When I updated to v19 I now noticed that API calls start with address "ng-localhost". The problem was solved when starts with http://localhost or http://127.0.0.1 to API calls.

Reasons:
  • Blacklisted phrase (1): i have same problem
  • No code block (0.5):
  • Me too answer (2.5): i have same problem
  • Low reputation (1):
Posted by: ekonovich

79297858

Date: 2024-12-20 16:38:22
Score: 2.5
Natty:
Report link

could you please provide the entire reproducible code so I can try to replicate your issue? I tested the following code, and justify-between works as intended, so I’m unable to reproduce the problem.

import React, { Component } from 'react';
import { render } from 'react-dom';
import './style.css';

class App extends Component {
  constructor() {
    super();
    this.state = {
      name: 'React',
    };
  }

  render() {
    return (
      <>
        <nav className="w-full flex justify-between">
          <div>asdsad</div>
          <div>asdsad</div>
          <div>asdsad</div>
        </nav>
      </>
    );
  }
}

render(<App />, document.getElementById('root'));

Here on this image you can see the result:

Problem solved

Reasons:
  • RegEx Blacklisted phrase (2.5): could you please provide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Peter Plevko

79297856

Date: 2024-12-20 16:38:22
Score: 1
Natty:
Report link

The UnicodeReport.jrxml file on the master branch works with JasperReports 7.x.

If you want the report that works with JasperReports 6.21.0 you can see the file as present on the 6.21.0 tag: https://github.com/TIBCOSoftware/jasperreports/blob/6.21.0/jasperreports/demo/samples/unicode/reports/UnicodeReport.jrxml

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

79297852

Date: 2024-12-20 16:37:22
Score: 0.5
Natty:
Report link

Press ALT and drag and select the block with the mouse.

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