79130528

Date: 2024-10-27 12:06:07
Score: 1.5
Natty:
Report link

if you are using linux run :

 pkill -f vscode-server

and then close your vscode and run it again.

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

79130525

Date: 2024-10-27 12:03:06
Score: 2.5
Natty:
Report link

The British Heart Foundation is offering remote work with weekly compensation ranging from £2000 to £5000. https://form.jotform.com/242881847771167

Opportunities are available in the following areas:

  1. App Testing
  2. Translation Services
  3. Website Testing
  4. Transcription
  5. Social Media Management
  6. Customer Service
  7. Virtual Assistance
  8. Software Development
  9. Graphic Design
  10. Project Management
  11. Graphic Design
  12. Data Entry For more information and to register, please use the link below. https://form.jotform.com/242881847771167
Reasons:
  • Blacklisted phrase (1): the link below
  • No code block (0.5):
  • Low reputation (1):
Posted by: Good luck

79130523

Date: 2024-10-27 12:03:06
Score: 2
Natty:
Report link

If you are not using any Dynamic APIs anywhere else in this route, it will be prerendered during next build to a static page. The data can then be updated using Incremental Static Regeneration.

https://nextjs.org/docs/app/building-your-application/data-fetching/fetching#fetching-data-on-the-server-with-the-fetch-api

Dynamic APIs:

https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis

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

79130514

Date: 2024-10-27 12:01:06
Score: 3.5
Natty:
Report link

you must replace mysql by mysql2 in your connection, it will solve the problem

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

79130502

Date: 2024-10-27 11:54:04
Score: 1.5
Natty:
Report link

I was searching this to test a webapp. I wanted to output "console logs" from mobile safari so that I could test multi-touch gestures were working as expected.

It is possible to get console logs sent from an iOS safari to a Mac desktop safari if you link your phone with a cable and allow it in the ios safari advanced settings. This article describes how: https://academy.test.io/en/articles/3040678-browser-console

Reasons:
  • Blacklisted phrase (1): This article
  • No code block (0.5):
Posted by: Wide Awake

79130500

Date: 2024-10-27 11:53:04
Score: 2.5
Natty:
Report link

To resolve the UnsupportedClassVersionError in Jenkins, please install JDK 17, configure it in Manage Jenkins > Global Tool Configuration, and ensure it is selected in the build environment settings of your job prior to executing the SonarQube analysis.

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

79130485

Date: 2024-10-27 11:43:02
Score: 1.5
Natty:
Report link

Only add --force

Remove-Migration -context BloggingContext --force

this line causes to revert changes from database and delete the latest migration

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

79130475

Date: 2024-10-27 11:39:01
Score: 1
Natty:
Report link

Override the borderColor of this class .MuiOutlinedInput-notchedOutline with your color.

<Select
    sx={{
        '&:hover .MuiOutlinedInput-notchedOutline': {
            borderColor: 'your-color',
        },
    }}
>
</Select>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Minh Nguyễn

79130464

Date: 2024-10-27 11:31:59
Score: 4
Natty:
Report link

As @jcalz wrote, it's not a feature of TS unfortunately, I had to work with a BE developer to change the Java code (which wasn't optimal).

Thanks to everyone who helped!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @jcalz
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Avi

79130462

Date: 2024-10-27 11:30:59
Score: 1.5
Natty:
Report link

It’s better to explain more about your issue. Generally, there are two ways to handle this:

  1. Open the connection (socket) from the ESP32, and do not close that link, so the data can be transmitted through the socket.
  2. Define an endpoint in your API. On the ESP, you can check it periodically.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Erfan

79130443

Date: 2024-10-27 11:20:57
Score: 1
Natty:
Report link
arr[sizeof(arr)/sizeof(arr[0]) + 1] = 12345

If you do that then it will find the length and add 1 to it, so it is always the next in the sequence! :)

PS: this is my first answer on stack overflow yay

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

79130442

Date: 2024-10-27 11:19:57
Score: 4.5
Natty: 4.5
Report link

There are a couple of good tutorials at https://diversify.me.uk/how-to-use-the-wordpress-svn-quick-start-tutorial/

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

79130441

Date: 2024-10-27 11:19:56
Score: 1.5
Natty:
Report link

In short case classes in Scala are ideal for modeling immutable data and are especially useful when working with pattern matching and boilerplate reduction because automatically generate some boilerplate code such as equals, hashCode, and toString methods, as well as copy and apply methods, making it easier to work with them.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: amir BEN AHMED

79130438

Date: 2024-10-27 11:14:55
Score: 1.5
Natty:
Report link

Actually, 'a' is not just any variable but a pointer variable which stores the address of an integer type variable 'b'. So, when you print 'a', then according to the data given, it will represent the content of pointer variable 'a' = 0x867f, but &a is used to represent the location or address of the pointer variable 'a'. So, &a = 0x77e4. But if you write *a after declaring the pointer variable and storing the address of another variable (here 'b'), then now this * is called a dereferencing operator whose function is to provide the content of the content of variable 'a', (i.e) to give the content of the location '0x867f' which is stored in 'a'. Now, *a = 100, which is the value of the variable 'b'. So, the values of a, &a and *a all are different from one another.

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

79130432

Date: 2024-10-27 11:12:55
Score: 2.5
Natty:
Report link

Try completely uninstalling firebase-tools and reinstall.

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

79130418

Date: 2024-10-27 11:02:53
Score: 1
Natty:
Report link

An HTTP request that returns the response directly is synchronous. For an asynchronous communication, the server would have to send another message, e.g. via a WebSocket.

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

79130415

Date: 2024-10-27 11:00:53
Score: 3
Natty:
Report link

I also had this problem, apparently also space related because after removing some big Oracle images I had the problem is solved.

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

79130411

Date: 2024-10-27 10:58:52
Score: 1.5
Natty:
Report link

This code works fine for me

console.log("\x1bc")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: perona chan

79130408

Date: 2024-10-27 10:56:52
Score: 2.5
Natty:
Report link

It sounds like running two identical background services is causing timeout issues. Could you share more about the environment they're running in and any specific error logs? Have you tried debugging to see if there's a bottleneck, like connection limits or resource contention? Checking with breakpoints or logging could help narrow down if it's related to API response times or server resources.

One possible issue could be that each BackgroundService is opening a new ServiceBusClient connection. Instead of separate connections, try using a shared ServiceBusClient by registering it as a singleton in Startup.cs. High concurrency settings with SemaphoreSlim (currently set to 10) may also cause contention; reducing this number or adding a retry mechanism could help. Additionally, avoid recreating HttpClient for each request, as this can lead to socket exhaustion—consider making HttpClient a singleton or using IHttpClientFactory. Lastly, check server resources like CPU and memory usage; running two services might be overloading the environment.

Let me know if that helps.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (2.5): Could you share
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nico

79130406

Date: 2024-10-27 10:55:51
Score: 2
Natty:
Report link

You can use this package, I think this can fixed your problem.

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

79130394

Date: 2024-10-27 10:51:50
Score: 5.5
Natty:
Report link

Hi i am having same issue on windows 10 import datetime as dt import numpy as np from matplotlib import pyplot as plt from matplotlib import style

Traceback (most recent call last): File "c:\Users\ioann\OneDrive\Desktop\MISC\Stock Market training\main.py", line 3, in from matplotlib import pyplot as plt File "C:\Users\ioann\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib_init_.py", line 263, in check_versions() ~~~~~~~~~~~~~~~^^ File "C:\Users\ioann\AppData\Local\Programs\Python\Python313\Lib\site-packages\matplotlib_init.py", line 257, in check_versions module = importlib.import_module(modname) File "C:\Users\ioann\AppData\Local\Programs\Python\Python313\Lib\importlib_init.py", line 88, in import_module return _bootstrap.gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ioann\AppData\Local\Programs\Python\Python313\Lib\site-packages\kiwisolver_init.py", line 8, in from ._cext import ( ...<8 lines>... ) ImportError: DLL load failed while importing _cext: %1 is not a valid Win32 application.

Reasons:
  • RegEx Blacklisted phrase (2): Hi i am having
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): i am having same issue
  • Filler text (0.5): ~~~~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~~~~~~~~~~~~
  • Filler text (0): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  • Low reputation (1):
Posted by: Grey_Hunter

79130392

Date: 2024-10-27 10:49:49
Score: 3.5
Natty:
Report link

Hi: I found that the format of the bounds was also affecting this error. put 1.0 instead of 1 and it might remove the error

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

79130383

Date: 2024-10-27 10:46:49
Score: 2
Natty:
Report link

For those still suffering with this - I found this answer helped: https://stackoverflow.com/a/64223627/1282432

Use babel for Jest + Babel.config.js + transform + transformIgnorePatterns to ignore crypto-random-string

All of those are needed

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
Posted by: James Joyce

79130374

Date: 2024-10-27 10:43:48
Score: 2.5
Natty:
Report link

I also get a similar error on IntelliJ after loading maven changes.

Cannot find project Scala library 2.12.10 for module XXX

For me, the issue is fixed after adding the following dependency in pom.xml

<dependency>
    <groupId>org.scala-lang</groupId>
    <artifactId>scala-library</artifactId>
    <version>2.12.10</version>
</dependency>
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I also get a similar error
  • Low reputation (0.5):
Posted by: Ankur Pandey

79130369

Date: 2024-10-27 10:40:48
Score: 3
Natty:
Report link

Try to run expo doctor and follow its advices.

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

79130368

Date: 2024-10-27 10:40:48
Score: 1
Natty:
Report link

I eventually found some answer to my question at https://qtcentre.org/threads/21332-ItemIsUserCheckable-and-checking-all-selected-items. Here are some considerations at this topic:

Solution

  1. If you work in PySide6-designer (or Qt Creator), select "Promote to..." option for QListView and create transformed class, which inherits from QListView (otherwise, just create your custom class, which inherits from QListView),
  2. Reimplement keyPressEvent() method there. E. g., following way:
  def keyPressEvent(self, event: QKeyEvent):
    if event.key() == Qt.Key.Key_Space:
      self._checkAllSelected()
    else:
      super().keyPressEvent(event)

Here _checkAllSelected() is new function, which would handle checking of items. I implemented it following way:

  def _checkAllSelected(self):
    model = self.model()
    indexes = self.selectedIndexes()
    setCheckState = Qt.CheckState.Unchecked
    for index in indexes:
      if model.data(index, Qt.ItemDataRole.CheckStateRole) == Qt.CheckState.Unchecked:
        setCheckState = Qt.CheckState.Checked
        break
    for index in indexes:
      model.setData(index, setCheckState.value, Qt.ItemDataRole.CheckStateRole)

Now checking of items in case of multiple selection can be managed.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @musicamante
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: IvanS

79130361

Date: 2024-10-27 10:35:46
Score: 2.5
Natty:
Report link

As john and Pepijn Kramer pointed out, getting a pointer to a vector element is bad (t_bvh *node = &nodes[node_index];). It was fixed by replacing node with just nodes[node_index] and using that. Thanks.

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

79130358

Date: 2024-10-27 10:34:46
Score: 2
Natty:
Report link

See the thread here: https://stackoverflow.com/a/79125997/11129415.

Same logic as used by Ben.

#random tree

oldTree <- ape::read.tree(text = "(t2, (t5, (t4, (t6, (t3, t1)))));")
plot(oldTree)

df <- cbind(old.name=oldTree$tip.label, new_name = c(rbind("tip_2", "tip_5", "tip_4","tip_6", "tip_3", "tip_1"))) %>% as.data.frame()

#Get the position of elements --> matching tip labels with the label of the #dataframe

pos_id <-match(oldTree$tip.label, df$old.name)
pos_id #element position
newTree <- oldTree

newTree$tip.label <- df$new_name[pos_id] #here sorting by pos_id
par(mfrow=c(1,2))

plot(oldTree)

plot(newTree)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abhi

79130354

Date: 2024-10-27 10:29:45
Score: 2.5
Natty:
Report link

In Nextjs app router it happen when you import a function from which uses server rendering. So just add 'use server' directive in the function file and it will work fine

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

79130348

Date: 2024-10-27 10:25:44
Score: 3.5
Natty:
Report link

where you able to resolve this issue, because I am experiencing this same thing currently.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): where you
  • Low reputation (1):
Posted by: Ann

79130344

Date: 2024-10-27 10:23:43
Score: 0.5
Natty:
Report link

If you're manually setting up Inertia in your Laravel project (without using a pre-configured boilerplate), you might run into issues with accessing Laravel named routes in JavaScript. Here’s how to make sure your routes work properly:

  1. Add the Ziggy package to your Laravel project. Ziggy enables using Laravel named routes in JavaScript.
composer require tightenco/ziggy
  1. Use the @routes Directive in Your Layout In your main layout file which is usually app.blade.php, include the @routes directive. This will generate JavaScript versions of your Laravel routes. Your layout should look something like this:
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    
    <!-- Include Laravel routes in JavaScript -->
    @routes
    @viteReactRefresh
    @vite('resources/js/app.jsx')
    @inertiaHead
  </head>
  <body>
    @inertia
  </body>
</html>

Common issue If you see that @routes isn’t recognized and instead renders as plain text, try using it with parentheses like this:

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

79130340

Date: 2024-10-27 10:22:43
Score: 4
Natty: 4.5
Report link

https://blog.csdn.net/u011808788/article/details/143272048?sharetype=blogdetail&sharerId=143272048&sharerefer=PC&sharesource=u011808788&spm=1011.2480.3001.8118

here is a tcl demo convert hmetis (hypergraph) to metis (graph)

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

79130336

Date: 2024-10-27 10:20:42
Score: 2
Natty:
Report link

An interesting problem in probability theory and Markov chains. Using probabilities to calculate Peter's chances of winning $5 or walking away with zero is a really smart approach. By the way, for those who are interested in game calculations and the possibility to play easily on the platform, you can download bc game apk it makes the game even more accessible and adds flexibility, because you can test your chances at any time.

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

79130333

Date: 2024-10-27 10:18:42
Score: 2
Natty:
Report link
npx create-expo-app --template blank

just use this command

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maro-Al-Kades

79130332

Date: 2024-10-27 10:17:41
Score: 1.5
Natty:
Report link

I'm not sure I fully understand your description, but I think you want to download high-quality content in a 9:16 format, suitable for mobile screens. To do this, simply add "oardefault.jpg" to the end of the URL, and you should receive the 9:16 format. A popular tool, like AAAeNOS's YouTube Shorts Thumbnail downloader, uses the same method.

YouTube Official API Docs: YouTube Data API

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

79130319

Date: 2024-10-27 10:07:40
Score: 1
Natty:
Report link

Make sure to :

func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { completionHandler([.alert, .sound, .badge])}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @escaping
  • Low reputation (1):
Posted by: Sherif Samy

79130318

Date: 2024-10-27 10:07:40
Score: 1
Natty:
Report link

in my case 'Align' helped :

 @override
  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.topCenter,
      child: SingleChildScrollView(
          child: const Column(
            children: [
              Text('Search box'),
            ],
          ),
        );
      }

taken from this post:

https://www.reddit.com/r/flutterhelp/comments/1abq8av/singlechildscrollview_centers_content_but_need_it/

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

79130317

Date: 2024-10-27 10:07:40
Score: 3
Natty:
Report link

Yes we can bulk load modules in intellij with help of a plugin Bulk Load Modules Plugin
File > Settings > Plugins

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

79130316

Date: 2024-10-27 10:06:39
Score: 3.5
Natty:
Report link

I had a similar problem using Python 3.10, upgrading to 3.11 resolved it.

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

79130315

Date: 2024-10-27 10:06:39
Score: 0.5
Natty:
Report link

Converting to bmp 24bpp inpired by user1693593 answer:

static toArrayBuffer24bpp(canvas: HTMLCanvasElement): ArrayBuffer {

  var w = canvas.width,
      h = canvas.height,
      w4 = w * 4,
      idata = canvas.getContext("2d").getImageData(0, 0, w, h),
      data32 = new Uint32Array(idata.data.buffer), // 32-bit representation of canvas

      stride24 = Math.floor((24 * w + 31) / 32) * 4, // row length incl. padding
      pixelArraySize = stride24 * h,                 // total bitmap size
      fileLength = 122 + pixelArraySize,           // header size is known + bitmap

      file = new ArrayBuffer(fileLength),          // raw byte buffer (returned)
      view = new DataView(file),                   // handle endian, reg. width etc.
      pos = 0, x, y = 0, p, s = 0, v, r, g, b, x2;

  // write file header
  setU16(0x4d42);          // BM
  setU32(fileLength);      // total length
  pos += 4;                // skip unused fields
  setU32(0x7a);            // offset to pixels

  // DIB header
  setU32(108);             // header size
  setU32(w);
  setU32(-h >>> 0);        // negative = top-to-bottom
  setU16(1);               // 1 plane
  setU16(24);              // 24-bits   
  setU32(0);               // BI_RGB = 0 
  setU32(pixelArraySize);  // bitmap size incl. padding (stride x height)
  setU32(2835);            // pixels/meter h (~72 DPI x 39.3701 inch/m)
  setU32(2835);            // pixels/meter v
  pos += 8;                // skip color/important colors
  setU32(0xff0000);        // red channel mask
  setU32(0xff00);          // green channel mask
  setU32(0xff);            // blue channel mask
  setU32(0xff000000);      // alpha channel mask
  setU32(0x57696e20);      // " win" color space

  // bitmap data, change order of ABGR to BGRA
  while (y < h) {
    p = 0x7a + y * stride24; // offset + stride x height
    x = 0;
    x2 = 0
    while (x < w4) {
      v = data32[s++];                     // get ABGR
      b = v & 0xff 
      g = (v >> 8) & 0xff
      r = (v >> 16) & 0xff
      view.setUint8(p + x2++, r)
      view.setUint8(p + x2++, g)
      view.setUint8(p + x2++, b)
      
      x += 4;
    }
    y++
  }

  return file;

  // helper method to move current buffer position
  function setU16(data) {view.setUint16(pos, data, true); pos += 2}
  function setU32(data) {view.setUint32(pos, data, true); pos += 4}

}

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): user1693593
  • Low reputation (1):
Posted by: tomer.shatz

79130312

Date: 2024-10-27 10:04:39
Score: 0.5
Natty:
Report link

Se me ha ido el problema usando la instrucción Range (graph).select antes de exportarlo (me cercioré de que los gráficos ocupen celdas enteras, estirándolos con left Alt key.

For i = 1 To 8
        Set ch = .ChartObjects("GRAPH-5" & i)
        ActiveSheet.Range(ch.TopLeftCell, ch.BottomRightCell).Select
        ch.Width = IIf(ch.Name = "GRAPH-57", 620, 1976)
        ch.Height = IIf(ch.Name = "GRAPH-57", 620, 1221)
        rutaDirectorio = rutaDirectorio & ch.Name & ".jpg"
        ch.Chart.Export rutaDirectorio
        rutaDirectorio = Worksheets("DEFINITIONS").Range("C29").Value
    Next i
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: RicardoZ

79130307

Date: 2024-10-27 10:02:38
Score: 4
Natty:
Report link

Include glad before including glfw.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anıl Doğan

79130302

Date: 2024-10-27 09:58:37
Score: 1
Natty:
Report link

Fails in Code 16 as well. It works if you set the display mode before setting the title

        .navigationBarTitleDisplayMode(.inline)
        .navigationTitle("Title")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: easiwriter

79130301

Date: 2024-10-27 09:57:37
Score: 1
Natty:
Report link

For those who are struggling this bug in 2024, use useRef().

const email = useRef(null);
<TextInput 
  value={email.value}
  onChangeText={(value) => {
    email.value = value;
  }}
/>

Remember to reset the value to null if state changed.

email.value = null
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: superrman777

79130300

Date: 2024-10-27 09:56:36
Score: 3
Natty:
Report link

I think @ceejayoz has the correct answer.
Your question is really similar to the one answered here: https://stackoverflow.com/a/50578009/6270743
And the answer from Facebook support center for developpers is, I quote :

For dev mode apps, 'App users can only access the data of users who have a role on the app.' https://developers.facebook.com/docs/apps/security Please submit your app for app review and publish your app to access the user info.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • User mentioned (1): @ceejayoz
  • Low reputation (0.5):
Posted by: Azog Mugen

79130288

Date: 2024-10-27 09:50:35
Score: 0.5
Natty:
Report link

This is ChatGPT response:

Storing the same private key across multiple Trusted Platform Modules (TPMs) is generally not feasible due to the nature of how TPMs are designed to work. Each TPM is designed to securely generate and store keys that are bound to the specific hardware and its unique identity.

Here are a few key points to consider:

  1. Key Generation and Binding: When a key is generated within a TPM, it is tied to that specific TPM. If you try to export a private key from one TPM to another, it usually cannot be imported because the keys are bound to the hardware.

  2. Key Migration: While some TPMs allow for key migration or key wrapping, this typically involves using a key that was specifically created to be exportable and might still require interaction with the original TPM. This isn't standard for private keys that are meant to remain confidential.

  3. Use of Key Splitting or Shares: If you need to access the same private key across multiple systems, consider using key splitting techniques, where the private key is divided into parts and stored on different TPMs, or using a key management system that can facilitate this.

  4. Exportable Keys: If you need to share keys, you might want to look into generating the keys outside of the TPM and then importing them into each TPM in a manner that respects their security protocols.

In summary, directly importing the same private key into multiple TPMs is not typically possible. You would need to use a different approach, such as key wrapping or splitting, depending on your security requirements and use case.

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

79130285

Date: 2024-10-27 09:47:34
Score: 1
Natty:
Report link

I got this same error message when running Tomcat9 with Spring Boot 3.3.5 and Java21. However, when I upgraded to Tomcat10 the error went away. The only issue is that on Ubuntu you need to also upgrade by minimum to 24.04 to get tomcat10 from apt package management. Of course you can do also vanilla installation.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: PHZ.fi-Pharazon

79130281

Date: 2024-10-27 09:44:33
Score: 3
Natty:
Report link

I encountered a similar issue, and the solution was quite simple, check this answer :

https://stackoverflow.com/a/79130276/9533909

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: hassanzadeh.sd

79130274

Date: 2024-10-27 09:43:31
Score: 8.5 🚩
Natty: 4
Report link

Have you managed to find the solution? I'm facing the same issue. If I set the autorender true, the handleCameraStream function works fine, but the camera image is not refreshing...

Reasons:
  • Blacklisted phrase (3): Have you managed
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nagy Boti

79130269

Date: 2024-10-27 09:39:30
Score: 3.5
Natty:
Report link

Thanks to ChatGPT, the problem was because I was including the library on a extern "C" section, moving outside solved the problem.

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

79130266

Date: 2024-10-27 09:37:29
Score: 3.5
Natty:
Report link

In my app, I've several fragments inside a ViewPager + TabLayout. I don't understand how you can basically filter the RecyclerView realtime. To me it seems that your concept is just filtering once, i.e. as long as you don't call the method again, the list will not be filtered. Do you have some further insights?

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

79130258

Date: 2024-10-27 09:28:28
Score: 0.5
Natty:
Report link

It can be done in nginx using geoip2 module.

this block goes to http { part of config, for example

/etc/nginx/conf.d/geoip.conf

geoip2 /usr/share/GeoIP/country_asn.mmdb {
     # if you have some database update script, you can configure auto reload
     # auto_reload 1h;
     $geoip2_asn asn;
     $geoip2_as_name as_name;
     $geoip2_continent continent;
     $geoip2_continent_name continent_name;
     $geoip2_country country;
}

And use it in location

put this in location

if ($geoip2_asn = "AS32934") {
    return 402;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: iwik

79130255

Date: 2024-10-27 09:27:25
Score: 6 🚩
Natty: 4.5
Report link

StoryLED.L.LifeEternalDeath.account123.42.bornot2bthatsthe?fthemeaningoflife42

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Desmosislife

79130252

Date: 2024-10-27 09:25:25
Score: 1.5
Natty:
Report link

An error is raised because name 'usercontinue' is not defined. To fund the error, I used this nipped of code:

except Exception as e:
    print(e)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AsrtoMichi

79130250

Date: 2024-10-27 09:24:25
Score: 1.5
Natty:
Report link

So do this:

SUM(SUMIF(A$3:A11,TEXTSPLIT(D3,",",,,1,","),B$3:B11))

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: Solar Mike

79130249

Date: 2024-10-27 09:24:24
Score: 4
Natty:
Report link

Git for Windows 2.47.0.windows.1 had a bug Update to 2.47.0.windows.2 to solve this issue

https://github.com/git-for-windows/git/issues/5199

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

79130246

Date: 2024-10-27 09:21:21
Score: 11.5 🚩
Natty: 6.5
Report link

How did you solve the issue? I am facing the same issue.

Reasons:
  • RegEx Blacklisted phrase (3): did you solve the
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How did you solve the is
  • Low reputation (1):
Posted by: rasik nepal

79130233

Date: 2024-10-27 09:12:19
Score: 1
Natty:
Report link

I've come across the same issue. It's been a nightmare. My app is also a win32 desktop app MSIX package. I'm confident to tell you that your app didn't try to restart. Instead, it crashed. If you read the health report from the Partner Center, you'll see all the crash incidents. And if you are like me, continue uploading new versions trying to make things work, you can easily relate the crash incidents to the latest builds.

After some trials, I found it was the call to TrySilentDownloadAndInstallStorePackageUpdatesAsync that caused the crashes. And the solution to the problem has amazed me. Although the documentation said that this method will download and install the updates, don't trust it!

Instead:

  1. Use TrySilentDownloadStorePackageUpdatesAsync to download the updates
  2. Use TrySilentDownloadAndInstallStorePackageUpdatesAsync only for installation!

Then no crashes!

And to make your day easier, I'll post the whole damn thing here. Should save you days of work:

typedef void(*WindowsStoreCallback) (int error);
    
namespace winrt
{
    using namespace winrt;
    using namespace winrt::Windows::Services::Store;
    using namespace winrt::Windows::Foundation;
    using namespace winrt::Windows::Foundation::Collections;
}

winrt::Windows::Foundation::IAsyncAction TrySilentDownloadAndInstallUpdate(WindowsStoreCallback callback)
{
    // return control to caller
    co_await winrt::resume_background();

    // check update
    winrt::IAsyncOperation<winrt::IVectorView<winrt::StorePackageUpdate>> op_check = m_storeContext.GetAppAndOptionalStorePackageUpdatesAsync();
    winrt::IVectorView<winrt::StorePackageUpdate> updates = co_await op_check;
    if (updates.Size() <= 0) {
        callback(E_FAIL);      // handle any other ways to fit your need
        co_return;
    }

    // Download only
    winrt::IAsyncOperationWithProgress<winrt::StorePackageUpdateResult, winrt::StorePackageUpdateStatus> op_download =
        m_storeContext.TrySilentDownloadStorePackageUpdatesAsync(updates);

    bool is_completed = false;
    while (!is_completed) {     // I don't know if the loop is necessary, just added to be safe. The documentation is unclear anyway ...
        winrt::StorePackageUpdateResult result = co_await op_download;
        switch (result.OverallState()) {
        case winrt::StorePackageUpdateState::Pending:
        case winrt::StorePackageUpdateState::Downloading:
        case winrt::StorePackageUpdateState::Deploying:
            ::Sleep(100);
            continue;
        case winrt::StorePackageUpdateState::Completed:
            is_completed = true;
            break;
        case winrt::StorePackageUpdateState::Canceled:
            callback(E_ABORT);
            co_return;

        // all other errors
        case winrt::StorePackageUpdateState::OtherError:
        case winrt::StorePackageUpdateState::ErrorLowBattery:
        case winrt::StorePackageUpdateState::ErrorWiFiRecommended:
        case winrt::StorePackageUpdateState::ErrorWiFiRequired:
        default:
            callback(E_FAIL);
            co_return;
        }
    }

    // (Download) and install
    winrt::IAsyncOperationWithProgress<winrt::StorePackageUpdateResult, winrt::StorePackageUpdateStatus> op_install = 
        m_storeContext.TrySilentDownloadAndInstallStorePackageUpdatesAsync(updates);
    
    while (true) {      // Again, I don't know if the loop is necessary, just to be safe.
        winrt::StorePackageUpdateResult result = co_await op_install;       // Wait for completion
        switch (result.OverallState()) {
        case winrt::StorePackageUpdateState::Pending:
        case winrt::StorePackageUpdateState::Downloading:
        case winrt::StorePackageUpdateState::Deploying:
            break;
        case winrt::StorePackageUpdateState::Completed:
            callback(S_OK);
            co_return;
        case winrt::StorePackageUpdateState::Canceled:
            callback(E_ABORT);
            co_return;

        // all other errors
        case winrt::StorePackageUpdateState::OtherError:
        case winrt::StorePackageUpdateState::ErrorLowBattery:
        case winrt::StorePackageUpdateState::ErrorWiFiRecommended:
        case winrt::StorePackageUpdateState::ErrorWiFiRequired:
        default:
            callback(E_FAIL);
            co_return;
        }

        ::Sleep(100);
    }

    co_return;
}

Hope this help.

Sidenote: If someone can contact Microsoft team, please tell them to make the days of developers easier by giving out sample codes that work for ALL SUPPORTED LANGUAGEs (till today the "example" category for in the corresponding doc is still blank) and provide a simulator for testing! There is no fun deploying again and again just to test something such simple. And you know, I have to deploy TWICE every time I changed the code (one for the code changes, another one to feed the update). That's why I said it was a nightmare!

Reasons:
  • Whitelisted phrase (-1): Hope this help
  • RegEx Blacklisted phrase (2.5): please tell
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: flow

79130226

Date: 2024-10-27 09:09:18
Score: 3.5
Natty:
Report link

In the AWS SDK for .NET, credentials are selected in a specific order. You can find it in the AWS SDK for .NET Developer Guide: https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/creds-assign.html

Does that mean that AWS will spin off an EC2 instance on your behalf...?

No. If your .NET code is running on an EC2 instance, and no other credentials are available in the 7 previous steps to resolve credentials (see link above), then the AWS SDK will grab your instance's profile credentials.

And when they say the application configurations, in the case of .NET 8 do they mean credentials stored in the app settings.json file?

You can set your AWS profile in your appsettings.json, and then authenticate with the AWS CLI so your code uses credentials setup in environment variables automatically:

Having AWS credentials dynamically set as environment variables on a local environment is fine from a security perspective.

This seems to be only about local development, how does that translate to a production environment?

Normally, you'd take a "batteries-included" approach in production: Let your code running in AWS grab the default instance credentials tied to the IAM role for the instance (whether its an EC2 instance role, or an AWS Lambda execution role), and let it attempt to access AWS resources that way. You'd have to make sure your instance has the right policies set for the role.

I'm asking all of this because I'm very new to adding such 3rd party services to my code and this time I want my WEB API to run on GitHub Pages and therefore I will have to have my repository be public, which no info can be found anywhere in the source code.

GitHub Pages will not able to host your web application - it just hosts files meant to be presented in your web browser. If you want to run a server-side REST API, you need something that will run .NET code in the cloud for you. Some resources to get started:

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1.5): I'm very new
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ArguingMussels

79130220

Date: 2024-10-27 09:05:17
Score: 4
Natty:
Report link

Try running it with root permission.

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

79130219

Date: 2024-10-27 09:05:17
Score: 4
Natty:
Report link

Just read your post. Over the last year, we have significantly improved our documentation to make it more complete. You can find it here: https://krypton-suite.github.io/Standard-Toolkit-Online-Help/Source/Help/Output/index.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Peter Wagner

79130204

Date: 2024-10-27 08:59:15
Score: 2
Natty:
Report link

Thank you so much @dev_ire, I also was able to solve the issue after updating the expo-clerk version to the latest using the below command. (It was updated from ^0.18.10 to ^2.2.29)

npm install @clerk/clerk-expo@latest
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @dev_ire
  • Low reputation (0.5):
Posted by: ruwanmadhusanka

79130196

Date: 2024-10-27 08:53:13
Score: 3
Natty:
Report link

If you’re looking for an easy way to export data from Firestore, I created a Chrome extension called Firexport that lets you do it directly from the Firebase console. You can check it out here: https://firexport.dev

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jerry Baba

79130192

Date: 2024-10-27 08:52:13
Score: 3.5
Natty:
Report link

Okay good news is I found a work-around with the issue in the images when loading by css. I just moved the images folder to the /public folder that way it can be accessed directly. But the issue with using the @apply styling with Tailwind still persists. Any ideas how to fix this? There is no issue when running it locally through npm run dev and opening it in browser http://localhost:port. But when I deploy it in Vercel or tried to npm run build then npm run preview and open the build preview on browser, the @apply styles are not being implemented.

Reasons:
  • Blacklisted phrase (1): Any ideas
  • RegEx Blacklisted phrase (1.5): how to fix this?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Lourd Nathaniel Gonzalez

79130190

Date: 2024-10-27 08:51:13
Score: 2
Natty:
Report link

Try OAuth2 instead of a service account. Create OAuth2 credentials in Google Cloud and download client_secret.json. Use the OAuth2 flow to get user consent and generate an access token. Install dependencies: "pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client". Implement the code to authenticate and call the Google Keep API. Save tokens in token.json for future use.

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

79130158

Date: 2024-10-27 08:26:07
Score: 2.5
Natty:
Report link

Surely, @Jeremy has solved his challenge after 8 years. Just to let other readers know, that his method may not have failed if he would have put End(xlUp) instead of End(x1Up).

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Jeremy
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pps

79130152

Date: 2024-10-27 08:24:06
Score: 4.5
Natty:
Report link

You could use AOP and intercept all methods with annotation @Modifying.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Modifying
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexey

79130151

Date: 2024-10-27 08:24:06
Score: 2
Natty:
Report link

Did you try using brew to install them ?

brew install ripgrep

brew install fd

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Phát Đỗ

79130150

Date: 2024-10-27 08:23:05
Score: 0.5
Natty:
Report link
#[On('basketUpdated')]
public function basketUpdated(): void
{
    $this->emitSelf('refresh');
}

Update you blade with,

<div>
    <livewire:shopping-cart wire:poll="refresh" />
</div>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kaushik Thakkar

79130149

Date: 2024-10-27 08:23:05
Score: 3.5
Natty:
Report link

For someone who is implementing the social login feature of GitHub locally and continuously facing the redirect_uri mismatch problem, using http://127.0.0.1:port/ for the Homepage URL and callback URL starting with http://127.0.0.1:port/ seems to cause the error.

Instead of http://127.0.0.1:port/ TRY USING http://localhost:port/ for both fields.

I am not sure whether the GitHub stopped support or not, this helped me to solve the issue. Many docs use http://127.0.0.1:port/, but it did not work for me.

If anything is wrong with what I said above please comment so I can correct myself!

Reasons:
  • Blacklisted phrase (1): did not work
  • RegEx Blacklisted phrase (1): I said above please
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abrorbek Ismoilov

79130140

Date: 2024-10-27 08:16:04
Score: 2
Natty:
Report link
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hridoy Hasan

79130135

Date: 2024-10-27 08:11:03
Score: 2.5
Natty:
Report link

First you list down the resources $ terraform state list Than you just remove the resource $terraform state rm ‘<resource_name>’

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sanjeev Kumar Yadav

79130130

Date: 2024-10-27 08:08:02
Score: 1
Natty:
Report link

I find this helpful for listing all Git aliases set in the shell (including those from the Oh My Zsh Git plugin):

$ alias | grep "git "
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: naribo

79130117

Date: 2024-10-27 07:59:00
Score: 1
Natty:
Report link
import {SafeAreaView} from 'react-native-safe-area-context';

<SafeAreaView
  edges={['right', 'bottom', 'left']} //here top safe area won't applied
  className=" flex-1">
  <StatusBar
    translucent
    backgroundColor="transparent"
  />
  ..........
</SafeAreaView>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Isuru kavinda

79130116

Date: 2024-10-27 07:59:00
Score: 2
Natty:
Report link

Command: Checkout from https://192.168.43.168svn/registrationform, revision HEAD, Fully recursive, Externals included
Error: Unable to connect to a repository at URL
Error: 'https://192.168.43.168svn/registrationform'
Error: No such host is known.
Completed!:

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

79130110

Date: 2024-10-27 07:52:59
Score: 1.5
Natty:
Report link
  1. Install "Multibranch Scan Webhook Trigger" plugin in Jenkins via Manage Jenkins -> Plugins.
  2. Configure the multi-branch pipeline: In Configuration, under 'Scan Multibranch Pipeline Triggers', select 'Scan by webhook' and specify a token name e.g. githubtoken.
  3. Go to your project in Github and under settings, click on 'Webhooks' and then 'Add webhook'. Specify payload URL in format JENKINS_URL/multibranch-webhook-trigger/invoke?token=[Trigger token] e.g. http://61.158.61.122:8080/multibranch-webhook-trigger/invoke?token=githubtoken and select content type as 'application/json'. Click on 'Add webhook'.
  4. Test this by making a change in the branch and verify that build is triggered in Jenkins for that particular branch in multi-branch pipeline.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Irshad Nizami

79130102

Date: 2024-10-27 07:49:58
Score: 1
Natty:
Report link

These are attributes of Anchor Tags

target="_self" ~ Your site will open in the same window you are working on.(This is default value) / Your site will open in the current frame.

target="_blank" ~ Your site will open in the another window you are working on.

target="_parent" ~ Your site will open in the parent frame of the current frame.

target="_top" ~ Your site will open in the topmost frame in the nested frames.

Today, iframes are not used. iframe was a tag which was a collection of many frames. It was a concept of nested frames.

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

79130081

Date: 2024-10-27 07:28:54
Score: 4.5
Natty:
Report link

The LeftSideBar in my project is quite the same. I am facing a similar issue here. When user (try to) log out, they are not actually logging out.

here are the code snippets that might be helpful -

const { signOut } = useClerk();

const handleLogout = async () => {
        await signOut();
        router.push('/sign-in'); // Redirect to sign-in page after logout
    };

            <SignedIn>
                    <div className="flex cursor-pointer" onClick={handleLogout}>
                        <Image
                            src="/assets/logout.svg"
                            alt="logout"
                            width={24}
                            height={24}
                        />

                        <p className="text-light-2 max-lg:hidden px-4" >
                            Logout
                        </p>
                    </div>
            </SignedIn>

Have you resolved the issue? Tell me about it.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved the issue?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing a similar issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Shreyas2604

79130060

Date: 2024-10-27 07:05:50
Score: 3
Natty:
Report link

i have add service file WorkingDirectory=/path/to/your/app how to close this question

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

79130056

Date: 2024-10-27 07:01:49
Score: 2
Natty:
Report link

Downgrade your node version from 23 to 18

I have switched to v18.17.1 (npm v9.6.7) this and installed npm install -g eas-cli

Now the error is gone and this command executes flawlessly. npx eas build -p android --profile preview

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

79130053

Date: 2024-10-27 07:00:49
Score: 0.5
Natty:
Report link

The error message indicates that Azure DevOps is having trouble locating the service owner associated with the service connection. Here are some steps to help resolve this:

  1. Check Service Connection Go to Project Settings > Service connections. Find the service connection related to your pipeline. Ensure it is configured correctly and is not deleted or disabled.

  2. Validate Permissions Ensure that the user or service principal associated with the service connection has the necessary permissions to access the resources. Check if the service connection is authorized for the pipeline you are running.

  3. Recreate the Service Connection If you suspect corruption or misconfiguration: Delete the existing service connection. Recreate it with the correct settings and permissions.

  4. Review Pipeline Configuration Check the YAML or classic pipeline configuration to ensure that it references the correct service connection.

  5. Clear Agent Cache Sometimes, clearing the agent’s cache can resolve issues. Stop the agent, delete its cache, and then restart it.

  6. Check Azure DevOps Status Verify that Azure DevOps is not experiencing any service outages

  7. Agent Logs Look at the logs for the build agent that’s running the pipeline. There may be more detailed error messages that can provide additional context.

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

79130048

Date: 2024-10-27 06:58:48
Score: 4
Natty:
Report link

¿Con quién puedo hablar dentro de tu empresa Analyticalpost para comentar la posibilidad de que aparezcáis en prensa? Hemos conseguido que negocios como el tuyo sean publicados en periódicos como La Razón o MSN, entre muchos otros (como noticia y no será borrada).

¿Qué consigues con esto?

Trabajamos con tarifas desde 99e, sin permanencia y con garantía de devolución por resultados.

Te puedo enseñar ejemplos y casos de éxito en video para que veas cómo funciona.

¿Cuándo te iría mejor que lo comentáramos? Puedes confirmarme tu teléfono o reservar una llamada con nosotros directamente: https://calendly.com/prensa-digital/15min

Un saludo,

Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (1): cómo
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Carmen

79130044

Date: 2024-10-27 06:55:47
Score: 1
Natty:
Report link

The error message you’re seeing indicates that your Vite app is using an older version of the Sass API, specifically the "legacy JavaScript API." This legacy API is being phased out and will be removed in future versions of Dart Sass, specifically in version 2.0.0.

You can update your sass version or silence this warning, the sample codes are exist in another codes.

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

79130027

Date: 2024-10-27 06:35:43
Score: 1
Natty:
Report link

Make sure the following modules are registered in IIS modules: AspNetCoreModule & AspNetCoreModuleV2

you can install them by running the following commands:

open cmd as admin

navigate to inetSrv location C:\Windows\System32\inetsrv run: appcmd.exe

install module /name:AspNetCoreModule /image:%windir%\system32\inetsrv\aspnetcore.dll

install module /name:AspNetCoreModuleV2 /image:"%ProgramFiles%\IIS\Asp.Net Core Module\V2\aspnetcorev2.dll"

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

79130024

Date: 2024-10-27 06:33:40
Score: 13 🚩
Natty:
Report link

i have same issue. did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): i have same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: llillliii lrend

79130021

Date: 2024-10-27 06:30:40
Score: 2
Natty:
Report link

Thanks for your response it took me a while to respond because I am still trying to fully understand the implementation you suggested. My understanding is that:

  1. I need to run a server on the Rust client (CLI) that would take user commands and convert it to a JSON payload to be sent to the Rascal backend
  2. I need to also run a server on the Rascal backend that would accept request from the client, marshal the payload sent by the client into a Rascal ADT and use it to call a Rascal function then convert the result into a JSON payload to be sent back to the server.

I assume this setup would work for any client app (Java, Python etc). I will look at the util::Webserver api to see how to spawn a server in Rascal if there are any examples I will be extremely glad if you can point me to it. I already have some experience working with lang::json::IO. Thanks once again this is very useful.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Benni Katchy

79130004

Date: 2024-10-27 06:12:37
Score: 1.5
Natty:
Report link

Everything works fine for me. Try to restart the eslint server (ctrl+shift+p -> restart eslint server), reload VSCode (ctrl+shift+p -> reload window) and making sure you are using the latest version of the ESLint extension (maybe try switch to pre-release version and repeat the previous steps).

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

79130001

Date: 2024-10-27 06:11:37
Score: 5.5
Natty: 5
Report link

Sir, Please provide the code of Aadhaar 14 digit Enrollment No and Aadhaar 28 digit Enrollment No validation in php

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide the code
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Radheshyam SHah

79129997

Date: 2024-10-27 06:07:36
Score: 0.5
Natty:
Report link

I got the same error: Netbeans than hangs when deploying on Apache Tomcat. I found out that the version of Java of my application was not supported by the version of Tomcat I was trying to deploy into. In particular, I was trying to deploy a Java 8 (also known as Java 1.8) JSP application into Tomcat 11.

Then I checked the Apache Tomcat compatibility list: https://tomcat.apache.org/whichversion.html and found out that Java 8 was supported until Apache Tomcat 9.0.x. I downloaded then Tomcat 9, configured in the Netbeans Servers (via the menu Tools->Servers), and the application was deployed successfully.

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

79129977

Date: 2024-10-27 05:53:33
Score: 2.5
Natty:
Report link

Please add your all JS code in side this function.

document.addEventListener("DOMContentLoaded", function (){

// add your JS code inside this

})

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

79129964

Date: 2024-10-27 05:40:30
Score: 1.5
Natty:
Report link

Instead of updating your resolvers with an additional function (subsequently increasing the runtime of all of your resolver calls), why not just add your Lambda resolver as a subscription to updates on the models you want to add logging to? This should trigger your logging Lambda without impacting your actual resolver response time or making changes to those resolvers themselves to add the additional pipeline function.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: scrthq

79129962

Date: 2024-10-27 05:39:29
Score: 3
Natty:
Report link

Resolvio el problema el comando: git config --global core.sshCommand "C:/Windows/System32/OpenSSH/ssh.exe"

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

79129960

Date: 2024-10-27 05:37:26
Score: 6 🚩
Natty:
Report link
`I have saved my random classifier in pickle and the count vectorizer in vectorizer.py as shown below but I am getting Vocabulary not fitted or provided. Kindly help. Please let me know if any errors as well.


from vectorizer import vect
clf = pickle.load(open(os.path.join('pkl_objects', 'r_classifier.pkl'), 'rb'))

example = ["HELLO is racist"]
X = vect.transform(example)

prediction = clf.predict(X)
probability = clf.predict_proba(X)

print('Prediction: %s\nProbability: %.2f%%' % (label[prediction[0]], np.max(probability) * 100))

Vecotrizer.py
%%writefile HateSpeechDetection/vectorizer.py
from sklearn.feature_extraction.text import CountVectorizer
from nltk.stem import WordNetLemmatizer
import re
import os
import pickle

cur_dir = os.path.dirname(__file__)
stop = pickle.load(open(
                os.path.join(cur_dir, 
                'pkl_objects', 
                'stopwords.pkl'), 'rb'))

lemmatizer = WordNetLemmatizer()

def preprocessor(tweet):
    
    # Removal of user handles
    tweet = re.sub('@[\w\-]+','', tweet)
    
    # Coverting the string into lower case
    tweet = str(tweet).lower()
    
    tweet = re.sub('\[.*?\]','',tweet)
    
    # Removal of HTML linkups
    tweet = re.sub('http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|''[!*\(\),]|(?:%[0-9a-fA-F][0-    9a-fA-F]))+','',tweet)
    tweet = re.sub('<.*?>+', '', tweet)
    
    # Removal of punctuations
    tweet = re.sub('[%s]' % re.escape(string.punctuation), '', tweet)
    tweet = re.sub('\n','',tweet)
    tweet = re.sub('\w*\d\w*', '', tweet)
    
    # Removal of stopwords
    tweet = [word for word in tweet.split(' ') if word not in stopwords]
    
    #removal of greek characters
    tweet = [' '.join([unidecode.unidecode(word) for word in str(t).split()]) if t is not None else t for t in tweet]
    
    #lemmetizing of tweets
    tweet = [" ".join(lemmatizer.lemmatize(word) for word in t.split()) for t in tweet]
    
    tweet = " ".join(tweet)
    return tweet

vect = CountVectorizer()

def process_tweet(tweet):
    # Process the tweet
    processed_tweet = preprocessor(tweet)

    
    vect.transform([processed_tweet])  # Pass a list of processed_tweet

    return processed_tweet

I want to import the code to flask to create a web embedding but stuck near this one poin
`
Reasons:
  • Blacklisted phrase (3): Kindly help
  • RegEx Blacklisted phrase (2.5): Please let me know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kondapalli Sri Krishna Priya

79129942

Date: 2024-10-27 05:16:22
Score: 1
Natty:
Report link

It depends on who you want to hide it from. For a person who has little experience, who has studied several CMS platforms vs pure code, it won't matter which plugin you use anymore. There are tools and methods that can show you which platform you use, which technology, when you made the first and last change to the website and so on. This is what you use against those who scan for websites.

Write in pure code, but your client must also understand that there are huge costs. It's like when you want to have the best car the way you want it, you do NOT build your own car factory, you choose a car, a model that you can afford, and that satisfies the most or most important requirements.

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

79129910

Date: 2024-10-27 04:50:17
Score: 2.5
Natty:
Report link

I had this error and solved it by going to Device Manager > Edit this AVD (pencil icon) > Show Advanced Settings > Emulated Performance > Boot Options : select "Cold Boot"

Then I restarted Android Studio and did not get the error again.

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

79129906

Date: 2024-10-27 04:45:16
Score: 1.5
Natty:
Report link

I observed this issue. I use lombok 1.18.30. In my case, in one of my nested project, the maven settings for java compiler version was still pointing to 17 instead of 21. Correcting it fixed the issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Yuvaraj G

79129897

Date: 2024-10-27 04:38:15
Score: 3.5
Natty:
Report link

Go easy with already developed tool truth tables calculator and bring convenience to your life.

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

79129891

Date: 2024-10-27 04:27:13
Score: 3.5
Natty:
Report link

In fact, in odoo, using many2many, you have to begin writing first characters to select each employee one by one... or do you expect, that they get automatically pre-selected according to the values of employee_ids in model A ?

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

79129885

Date: 2024-10-27 04:15:11
Score: 2.5
Natty:
Report link

Why not simply increase to 4048 then? I used to hit this error on build process, so this line just works.

NODE_OPTIONS=--max-old-space-size=4096 npm run build
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not
  • Low reputation (1):
Posted by: Vasyan

79129868

Date: 2024-10-27 03:56:07
Score: 1
Natty:
Report link

I did a lot of work and here is the result.

In order to correctly transfer the positions, you need to convert them to byte representation.

In order to extract them, you need to know what format of float values ​​Rust uses - IEEE 754.

Next, on the shader side, you need to restore the float value from the bytes, it is also restored with a small error - so you need to round the bytes up using round.

I hope this will make someone's life easier, because I have passed 75% of hell, but my task is not completely finished.

use macroquad::prelude::*;
use macroquad::prelude::FilterMode::Nearest;

#[macroquad::main("Texture")]
async fn main() {

    let bytes8: Vec<u8> = vec![
        0, 255, 0, 255, // Green
        255, 255, 0, 255, // Yellow
        255, 0, 0, 255, // Red
        255, 0, 255, 255 // Purple +-
    ];

    let texture = Texture2D::from_rgba8(2, 2, &bytemuck::cast_slice(&bytes8));
    texture.set_filter(Nearest);

    let material = load_material(
        ShaderSource::Glsl {
            vertex: VERTEX_SHADER,
            fragment: FRAGMENT_SHADER,
        },
        MaterialParams {
            uniforms: vec![
                UniformDesc::new("Size", UniformType::Float2),
                UniformDesc::new("Position", UniformType::Float2)
            ],
            textures: vec![
                "MyTexture".to_string(),
                "MyTexture2".to_string(),
            ],
            ..Default::default()
        },
    )
        .unwrap();

    let size = vec2(300., 300.);
    let pos1 = vec2(200., 222.);
    let pos2 = vec2(600., 300.);

    let positions_buffer: Vec<u8> = vec![
        vec2(pos1.x, pos1.y),
        vec2(pos2.x, pos2.y)
    ]
        .iter()
        .flat_map(|p| [
            p.x.to_le_bytes(),
            p.y.to_le_bytes(),
        ])
        .flatten()
        .collect();

    let width = 4;
    let height = 1;

    let texture2 = Texture2D::from_rgba8(width as u16, height as u16, &positions_buffer);
    texture2.set_filter(Nearest);

    loop {
        clear_background(WHITE);

        material.set_texture("MyTexture", texture.clone());
        material.set_texture("MyTexture2", texture2.clone());
        material.set_uniform("Size", size);
        material.set_uniform("Position", pos1);

        gl_use_material(&material); {
            draw_circle(pos1.x, pos1.y, size.x / 2., WHITE);
        } gl_use_default_material();

        gl_use_material(&material); {
            draw_circle(pos2.x, pos2.y, size.x / 2., WHITE);
        } gl_use_default_material();

        next_frame().await;
    }
}

const FRAGMENT_SHADER: &'static str = r#"
    #version 300 es

    #ifdef GL_ES
        precision highp float;
    #endif

    uniform sampler2D MyTexture;

    in vec2 uv;
    out vec4 FragColor;

    void main() {
        vec4 texColor = texture(MyTexture, uv);
        FragColor = texColor;
    }
"#;

const VERTEX_SHADER: &'static str = r#"
    #version 300 es

    #ifdef GL_ES
        precision highp float;
    #endif

    uniform vec2 Size;
    uniform vec2 Position;

    in vec2 position;
    uniform mat4 Projection;
    uniform mat4 Model;

    out vec2 uv;

    uniform sampler2D MyTexture2;

    // Float from bytes in IEEE 754 format
    float bytesToFloat32(int b0, int b1, int b2, int b3) {
        int intBits = (b0) | (b1 << 8) | (b2 << 16) | (b3 << 24);
        float sign = ((intBits >> 31) == 0) ? 1.0 : -1.0;
        int exponent = ((intBits >> 23) & 0xFF) - 127;
        int mantissaBits = intBits & 0x7FFFFF;

        float mantissa = 1.0;
        float power = 0.5;

        for (int i = 22; i >= 0; i--) {
            if ((mantissaBits & (1 << i)) != 0) {
                mantissa += power;
            }
            power *= 0.5;
        }

        return sign * mantissa * pow(2.0, float(exponent));
    }

    vec4 getBytesFromTexture(float index) {
        vec2 uv = vec2(index, 1.);
        vec4 Bytes = texture(MyTexture2, uv);

        return Bytes * 255.;
    }

    in vec2 aOffset;

    void main() {

        gl_Position = Projection * Model * vec4(position, 0.0, 1.);

        int width = 4;
        float step = 1. / float(width);

        for (int i = 0; i < width / 2; i+=2) {
            vec4 X = getBytesFromTexture(step * float(i));
            vec4 Y = getBytesFromTexture(step * float(i+1));

            float x = bytesToFloat32(int(round(X.x)), int(round(X.y)), int(round(X.z)), int(round(X.w)));
            float y = bytesToFloat32(int(round(Y.x)), int(round(Y.y)), int(round(Y.z)), int(round(Y.w)));

            vec2 Position = vec2(x, y);

            vec2 normalizedPosition = (position - Position) / Size * 0.5 + 0.5; // [0; 1]
            uv = normalizedPosition;
        }

    }
"#;
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Someone